summaryrefslogtreecommitdiff
path: root/fonts/ttf-tlwg/Makefile
blob: f002ccb39645b10846d42766deb770feb2c7d1e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# $NetBSD: Makefile,v 1.5 2017/01/19 18:52:09 agc Exp $

DISTNAME=	ttf-tlwg-0.6.1
CATEGORIES=	fonts
MASTER_SITES=	ftp://linux.thai.net/pub/thailinux/software/thai-ttf/
MASTER_SITES+=	http://linux.thai.net/pub/thailinux/software/thai-ttf/
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://linux.thai.net/projects/thaifonts-scalable
COMMENT=	Thai fonts in TTF format
LICENSE=	gnu-gpl-v2 AND vera-ttf-license

USE_LANGUAGES=	# none
NO_BUILD=	yes

FONTDIR=		${PREFIX}/share/fonts/X11/TTF
FONTS_DIRS.ttf=		${FONTDIR}
INSTALLATION_DIRS=	${FONTDIR} share/fontconfig/conf.avail
CONF_FILES+=	${PREFIX}/share/fontconfig/conf.avail/64-01-tlwg-kinnari.conf \
		${PKG_SYSCONFDIR}/conf.d/64-01-tlwg-kinnari.conf
CONF_FILES+=	${PREFIX}/share/fontconfig/conf.avail/64-02-tlwg-norasi.conf \
		${PKG_SYSCONFDIR}/conf.d/64-02-tlwg-norasi.conf
CONF_FILES+=	${PREFIX}/share/fontconfig/conf.avail/64-11-tlwg-waree.conf \
		${PKG_SYSCONFDIR}/conf.d/64-11-tlwg-waree.conf
CONF_FILES+=	${PREFIX}/share/fontconfig/conf.avail/64-12-tlwg-loma.conf \
		${PKG_SYSCONFDIR}/conf.d/64-12-tlwg-loma.conf
CONF_FILES+=	${PREFIX}/share/fontconfig/conf.avail/64-13-tlwg-garuda.conf \
		${PKG_SYSCONFDIR}/conf.d/64-13-tlwg-garuda.conf
CONF_FILES+=	${PREFIX}/share/fontconfig/conf.avail/64-14-tlwg-umpush.conf \
		${PKG_SYSCONFDIR}/conf.d/64-14-tlwg-umpush.conf
CONF_FILES+=	${PREFIX}/share/fontconfig/conf.avail/64-15-laksaman.conf \
		${PKG_SYSCONFDIR}/conf.d/64-15-laksaman.conf
CONF_FILES+=	${PREFIX}/share/fontconfig/conf.avail/64-21-tlwg-typo.conf \
		${PKG_SYSCONFDIR}/conf.d/64-21-tlwg-typo.conf
CONF_FILES+=	${PREFIX}/share/fontconfig/conf.avail/64-22-tlwg-typist.conf \
		${PKG_SYSCONFDIR}/conf.d/64-22-tlwg-typist.conf
CONF_FILES+=	${PREFIX}/share/fontconfig/conf.avail/64-23-tlwg-mono.conf \
		${PKG_SYSCONFDIR}/conf.d/64-23-tlwg-mono.conf
CONF_FILES+=	${PREFIX}/share/fontconfig/conf.avail/89-tlwg-garuda-synthetic.conf \
		${PKG_SYSCONFDIR}/conf.d/89-tlwg-garuda-synthetic.conf
CONF_FILES+=	${PREFIX}/share/fontconfig/conf.avail/89-tlwg-kinnari-synthetic.conf \
		${PKG_SYSCONFDIR}/conf.d/89-tlwg-kinnari-synthetic.conf
CONF_FILES+=	${PREFIX}/share/fontconfig/conf.avail/89-tlwg-laksaman-synthetic.conf \
		${PKG_SYSCONFDIR}/conf.d/89-tlwg-laksaman-synthetic.conf
CONF_FILES+=	${PREFIX}/share/fontconfig/conf.avail/89-tlwg-loma-synthetic.conf \
		${PKG_SYSCONFDIR}/conf.d/89-tlwg-loma-synthetic.conf
CONF_FILES+=	${PREFIX}/share/fontconfig/conf.avail/89-tlwg-umpush-synthetic.conf \
		${PKG_SYSCONFDIR}/conf.d/89-tlwg-umpush-synthetic.conf
CONF_FILES+=	${PREFIX}/share/fontconfig/conf.avail/89-tlwg-waree-synthetic.conf \
		${PKG_SYSCONFDIR}/conf.d/89-tlwg-waree-synthetic.conf

do-install:
	cd ${WRKSRC} && for f in *.ttf ; do \
		${INSTALL_DATA} $$f ${DESTDIR}${FONTDIR}/$$f; \
	done
	${INSTALL_DATA} ${WRKSRC}/etc/fonts/conf.avail/* \
		${DESTDIR}${PREFIX}/share/fontconfig/conf.avail

.include "../../mk/bsd.pkg.mk"