diff options
Diffstat (limited to 'fonts/mftrace/Makefile')
-rw-r--r-- | fonts/mftrace/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/fonts/mftrace/Makefile b/fonts/mftrace/Makefile index 200f703e62f..8003ba85572 100644 --- a/fonts/mftrace/Makefile +++ b/fonts/mftrace/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.3 2004/12/31 17:01:12 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2005/01/05 12:49:19 wiz Exp $ DISTNAME= mftrace-1.1.1 +PKGREVISION= 1 CATEGORIES= fonts MASTER_SITES= http://www.xs4all.nl/~hanwen/mftrace/ @@ -22,12 +23,18 @@ MAKEFILE= GNUmakefile PLIST_SUBST+= PYSITELIB=${PYSITELIB} PYTHON_VERSIONS_ACCEPTED= 20 21 21pth 22 22pth 23 23pth +post-build: + cd ${WRKSRC} && ${PYTHONBIN} ${PREFIX}/${PYLIB}/py_compile.py afm.py + cd ${WRKSRC} && ${PYTHONBIN} ${PREFIX}/${PYLIB}/py_compile.py tfm.py + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gf2pbm ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/mftrace ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/mftrace.1 ${PREFIX}/man/man1 - ${INSTALL_DATA} ${WRKSRC}/tfm.py ${PREFIX}/${PYSITELIB} ${INSTALL_DATA} ${WRKSRC}/afm.py ${PREFIX}/${PYSITELIB} + ${INSTALL_DATA} ${WRKSRC}/afm.pyc ${PREFIX}/${PYSITELIB} + ${INSTALL_DATA} ${WRKSRC}/tfm.py ${PREFIX}/${PYSITELIB} + ${INSTALL_DATA} ${WRKSRC}/tfm.pyc ${PREFIX}/${PYSITELIB} .include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" |