2005-02-02 14:05:16 +01:00
|
|
|
# $NetBSD: Makefile,v 1.7 2005/02/02 13:05:16 jmmv Exp $
|
2004-11-26 14:03:59 +01:00
|
|
|
|
2004-12-31 18:01:12 +01:00
|
|
|
DISTNAME= mftrace-1.1.1
|
2005-01-05 13:49:19 +01:00
|
|
|
PKGREVISION= 1
|
2004-11-26 14:03:59 +01:00
|
|
|
CATEGORIES= fonts
|
|
|
|
MASTER_SITES= http://www.xs4all.nl/~hanwen/mftrace/
|
|
|
|
|
|
|
|
MAINTAINER= atamaniuk-pkgsrc@frobs.net
|
|
|
|
HOMEPAGE= http://www.xs4all.nl/~hanwen/mftrace/
|
|
|
|
COMMENT= Scalable Fonts for MetaFont
|
|
|
|
|
|
|
|
DEPENDS+= autotrace>=0.31:../../graphics/autotrace
|
2004-11-29 11:14:17 +01:00
|
|
|
DEPENDS+= potrace>=1.5:../../graphics/potrace
|
|
|
|
DEPENDS+= fontforge>=20041115:../../fonts/fontforge
|
2004-11-26 14:03:59 +01:00
|
|
|
DEPENDS+= t1utils>=1.27:../../fonts/t1utils
|
|
|
|
DEPENDS+= teTeX>=2.0.2:../../print/teTeX
|
|
|
|
|
|
|
|
USE_GNU_TOOLS+= make
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= PYTHON=${PYTHONBIN}
|
|
|
|
MAKEFILE= GNUmakefile
|
|
|
|
|
|
|
|
PLIST_SUBST+= PYSITELIB=${PYSITELIB}
|
2005-02-02 14:05:16 +01:00
|
|
|
PYTHON_VERSIONS_ACCEPTED= 24 23 22 21
|
2004-11-26 14:03:59 +01:00
|
|
|
|
2005-01-05 13:49:19 +01:00
|
|
|
post-build:
|
|
|
|
cd ${WRKSRC} && ${PYTHONBIN} ${PREFIX}/${PYLIB}/py_compile.py afm.py
|
|
|
|
cd ${WRKSRC} && ${PYTHONBIN} ${PREFIX}/${PYLIB}/py_compile.py tfm.py
|
|
|
|
|
2004-11-26 14:03:59 +01:00
|
|
|
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}/afm.py ${PREFIX}/${PYSITELIB}
|
2005-01-05 13:49:19 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/afm.pyc ${PREFIX}/${PYSITELIB}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tfm.py ${PREFIX}/${PYSITELIB}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tfm.pyc ${PREFIX}/${PYSITELIB}
|
2004-11-26 14:03:59 +01:00
|
|
|
|
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|