Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / fonts / mftrace / Makefile
blob38a5b6d030ff36c6d0034cf1efb593916ca762f8
1 # $NetBSD: Makefile,v 1.23 2012/03/15 11:53:27 obache Exp $
3 DISTNAME= mftrace-1.2.15
4 PKGREVISION= 2
5 CATEGORIES= fonts
6 MASTER_SITES= http://lilypond.org/download/sources/mftrace/
8 MAINTAINER= atamaniuk-pkgsrc@frobs.net
9 HOMEPAGE= http://lilypond.org/mftrace/
10 COMMENT= Scalable Fonts for MetaFont
11 LICENSE= mit AND gnu-gpl-v2
13 DEPENDS+= autotrace>=0.31:../../graphics/autotrace
14 DEPENDS+= potrace>=1.5:../../graphics/potrace
15 DEPENDS+= fontforge>=20041115:../../fonts/fontforge
16 DEPENDS+= t1utils>=1.27:../../fonts/t1utils
18 USE_TOOLS+= gmake
19 GNU_CONFIGURE= yes
20 CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
21 MAKE_FILE= GNUmakefile
23 PLIST_SUBST+= PYSITELIB=${PYSITELIB:Q}
25 INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PYSITELIB}
27 post-build:
28 cd ${WRKSRC} && ${PYTHONBIN} ${PREFIX}/${PYLIB}/py_compile.py afm.py
29 cd ${WRKSRC} && ${PYTHONBIN} ${PREFIX}/${PYLIB}/py_compile.py tfm.py
31 do-install:
32 ${INSTALL_PROGRAM} ${WRKSRC}/gf2pbm ${DESTDIR}${PREFIX}/bin
33 ${INSTALL_SCRIPT} ${WRKSRC}/mftrace ${DESTDIR}${PREFIX}/bin
34 ${INSTALL_MAN} ${WRKSRC}/mftrace.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
35 ${INSTALL_DATA} ${WRKSRC}/afm.py ${DESTDIR}${PREFIX}/${PYSITELIB}
36 ${INSTALL_DATA} ${WRKSRC}/afm.pyc ${DESTDIR}${PREFIX}/${PYSITELIB}
37 ${INSTALL_DATA} ${WRKSRC}/tfm.py ${DESTDIR}${PREFIX}/${PYSITELIB}
38 ${INSTALL_DATA} ${WRKSRC}/tfm.pyc ${DESTDIR}${PREFIX}/${PYSITELIB}
40 .include "../../lang/python/application.mk"
41 .include "../../mk/tex.buildlink3.mk"
42 .include "../../mk/bsd.pkg.mk"