29d759f420
3.16.0: [head] Try using SOURCE_DATE_EPOCH environment variable when setting the head modified timestamp to ensure reproducible builds. [VTT] Decode VTT’s TSI* tables text as UTF-8. Added support for Graphite font tables: Feat, Glat, Gloc, Silf and Sill. [varLib] Default to using axis “name” attribute if “labelname” element is missing. [merge] Added support for merging Script records. Remove unused features and lookups after merge. Added fontTools.svgLib package. Includes a parser for SVG Paths that supports the Pen protocol. Also, added a snippet to convert SVG outlines to UFO GLIF. [AAT] Added support for ankr, bsln, mort, morx, gcid, and cidg. [subset] Implemented subsetting of prop, opbd, bsln, lcar.
34 lines
1,008 B
Makefile
34 lines
1,008 B
Makefile
# $NetBSD: Makefile,v 1.28 2017/10/08 09:39:52 adam Exp $
|
|
|
|
DISTNAME= fonttools-3.16.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= fonts python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=F/FontTools/}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://github.com/fonttools/fonttools
|
|
COMMENT= Library for manipulating fonts
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
SUBST_CLASSES+= man
|
|
SUBST_SED.man+= -e "s,share/man,${PKGMANDIR},"
|
|
SUBST_FILES.man+= setup.py
|
|
SUBST_STAGE.man= pre-configure
|
|
SUBST_MESSAGE.man= Fixing man page installation path.
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
for i in fonttools pyftinspect pyftmerge pyftsubset ttx; do \
|
|
${MV} $${i} $${i}${PYVERSSUFFIX}; \
|
|
done
|
|
cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && \
|
|
${MV} ttx.1 ttx${PYVERSSUFFIX}.1 || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|