aa67e11089
either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
25 lines
782 B
Makefile
25 lines
782 B
Makefile
# $NetBSD: Makefile,v 1.14 2014/01/25 10:30:08 wiz Exp $
|
|
|
|
DISTNAME= TTFQuery-1.0.5
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= fonts python
|
|
MASTER_SITES= http://pypi.python.org/packages/source/T/TTFQuery/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://ttfquery.sourceforge.net/
|
|
COMMENT= Query TTF font files for metadata and font outlines
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-fonttools>=2.0b1:../../fonts/py-fonttools
|
|
|
|
PYDISTUTILSPKG= yes
|
|
PLIST_SUBST= PYVERSSUFFIX=${PYVERSSUFFIX}
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-fonttools
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && for f in ttffamily ttffiles ttfgroups ttfmetadata; do \
|
|
${MV} $${f} $${f}${PYVERSSUFFIX}; \
|
|
done
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|