pkgsrc/fonts/py-fonttools/Makefile
adam 58cf70d6a6 py-fonttools: updated to 3.21.1
3.21.1:
- [feaLib] Allow mixed single/multiple substitutions
- Added missing ``*.afm`` test assets to MAINFEST.in
- Fixed dumping ``SVG`` tables containing color palettes
2018-01-04 20:40:36 +00:00

34 lines
1,000 B
Makefile

# $NetBSD: Makefile,v 1.35 2018/01/04 20:40:36 adam Exp $
DISTNAME= fonttools-3.21.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= fonts python
MASTER_SITES= ${MASTER_SITE_PYPI:=F/FontTools/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/fonttools/fonttools
COMMENT= Library for manipulating fonts
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
SUBST_CLASSES+= man
SUBST_STAGE.man= pre-configure
SUBST_MESSAGE.man= Fixing man page installation path.
SUBST_FILES.man+= setup.py
SUBST_SED.man+= -e "s,share/man,${PKGMANDIR},"
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"