blob: c2ceb33788e1428be7d34816cdabe0459a521a03 (
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
|
# $NetBSD: Makefile,v 1.11 2021/04/21 15:48:03 wiz Exp $
DISTNAME= ttf-tlwg-${TLWG_VERSION}
CATEGORIES= fonts
#MASTER_SITES= ftp://linux.thai.net/pub/thailinux/software/fonts-tlwg/fonts/
EXTRACT_SUFX= .tar.xz
TLWG_VERSION= 0.7.2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://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
TMPLDIR= ${PREFIX}/share/fontconfig/conf.avail
MAKE_DIRS+= ${PKG_SYSCONFDIR}/conf.d
TLWG_STDCONF= 64-01-tlwg-kinnari.conf \
64-02-tlwg-norasi.conf \
64-10-tlwg-loma.conf \
64-11-tlwg-waree.conf \
64-13-tlwg-garuda.conf \
64-14-tlwg-umpush.conf \
64-15-laksaman.conf \
64-21-tlwg-typo.conf \
64-22-tlwg-typist.conf \
64-23-tlwg-mono.conf \
89-tlwg-garuda-synthetic.conf \
89-tlwg-kinnari-synthetic.conf \
89-tlwg-laksaman-synthetic.conf \
89-tlwg-umpush-synthetic.conf
.for f in ${TLWG_STDCONF}
CONF_FILES+= ${TMPLDIR}/${f} ${PKG_SYSCONFDIR}/conf.d/${f}
.endfor
do-install:
cd ${WRKSRC} && for f in *.ttf ; do \
${INSTALL_DATA} $$f ${DESTDIR}${FONTDIR}/$$f; \
done
${INSTALL_DATA} ${WRKSRC}/fontconfig/conf.avail/* \
${DESTDIR}${PREFIX}/share/fontconfig/conf.avail
.include "../../mk/bsd.pkg.mk"
|