pkgsrc/fonts/py-fonttools/Makefile

24 lines
777 B
Makefile

# $NetBSD: Makefile,v 1.24 2015/12/05 21:25:42 adam Exp $
DISTNAME= fonttools-2.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= fonts python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fonttools/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://fonttools.sourceforge.net/
COMMENT= Library for manipulating fonts
DEPENDS+= ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
PYTHON_SELF_CONFLICT= yes
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # not yet ported as of 2.4
SUBST_CLASSES+= fix-mandir
SUBST_STAGE.fix-mandir= pre-configure
SUBST_FILES.fix-mandir= setup.py
SUBST_SED.fix-mandir= -e 's|share/man/man1|${PKGMANDIR}/man1|g'
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"