a33d12fa59
they do not get generated as side effect of the installation of other packages and break PLISTs. With help from salo to get it right, thanks. Bump PKGREVISION.
40 lines
1.3 KiB
Makefile
40 lines
1.3 KiB
Makefile
# $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/
|
|
|
|
MAINTAINER= atamaniuk-pkgsrc@frobs.net
|
|
HOMEPAGE= http://www.xs4all.nl/~hanwen/mftrace/
|
|
COMMENT= Scalable Fonts for MetaFont
|
|
|
|
DEPENDS+= autotrace>=0.31:../../graphics/autotrace
|
|
DEPENDS+= potrace>=1.5:../../graphics/potrace
|
|
DEPENDS+= fontforge>=20041115:../../fonts/fontforge
|
|
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}
|
|
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}/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"
|