diff options
-rw-r--r-- | fonts/mftrace/Makefile | 11 | ||||
-rw-r--r-- | fonts/mftrace/PLIST | 8 |
2 files changed, 14 insertions, 5 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" diff --git a/fonts/mftrace/PLIST b/fonts/mftrace/PLIST index 89f4a2acf95..fce93590b51 100644 --- a/fonts/mftrace/PLIST +++ b/fonts/mftrace/PLIST @@ -1,6 +1,8 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/26 13:03:59 adam Exp $ -${PYSITELIB}/afm.py -${PYSITELIB}/tfm.py +@comment $NetBSD: PLIST,v 1.2 2005/01/05 12:49:19 wiz Exp $ bin/gf2pbm bin/mftrace man/man1/mftrace.1 +${PYSITELIB}/afm.py +${PYSITELIB}/afm.pyc +${PYSITELIB}/tfm.py +${PYSITELIB}/tfm.pyc |