pkgsrc/fonts/ttf-tlwg/Makefile
scole a9884a1aab Updated to version 0.7.2
0.7.2 (2020-05-01)
=====
- Garuda has been fine-tuned by hand for balanced cubic splines
  and optimal quadratic splines.
- All families now use OS/2 Typo metrics instead of just Win/Hhea metrics.
- The OS/2 Typo metrics of each family have been normalized for equal line
  spacing on all faces, esp. regular and bold.
- Switch to Python 3 on build scripts.
- Fix a TDS zipball naming issue in the generated CTAN zipball.
2020-07-28 16:34:49 +00:00

52 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2020/07/28 16:34:49 scole 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"