File:
[cvs.NetBSD.org] /
pkgsrc /
fonts /
mftrace /
Makefile
Revision
1.37:
download - view:
text,
annotated -
select for diffs
Fri Dec 4 20:45:18 2020 UTC (4 years ago) by
nia
Branches:
MAIN
CVS tags:
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
HEAD
Revbump packages with a runtime Python dep but no version prefix.
For the Python 3.8 default switch.
# $NetBSD: Makefile,v 1.37 2020/12/04 20:45:18 nia Exp $
DISTNAME= mftrace-1.2.19
PKGREVISION= 1
CATEGORIES= fonts
MASTER_SITES= http://lilypond.org/download/sources/mftrace/
MAINTAINER= atamaniuk-pkgsrc@frobs.net
HOMEPAGE= http://lilypond.org/mftrace/
COMMENT= Scalable Fonts for MetaFont
LICENSE= mit AND gnu-gpl-v2
DEPENDS+= autotrace>=0.31:../../graphics/autotrace
DEPENDS+= potrace>=1.5:../../graphics/potrace
DEPENDS+= fontforge>=20041115:../../fonts/fontforge
DEPENDS+= t1utils>=1.27:../../fonts/t1utils
DEPENDS+= tex-metafont-[0-9]*:../../fonts/tex-metafont
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
MAKE_FILE= GNUmakefile
PLIST_SUBST+= PYSITELIB=${PYSITELIB:Q}
PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 1.2.19
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PYSITELIB}
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 ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/mftrace ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/mftrace.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/afm.py ${DESTDIR}${PREFIX}/${PYSITELIB}
${INSTALL_DATA} ${WRKSRC}/afm.pyc ${DESTDIR}${PREFIX}/${PYSITELIB}
${INSTALL_DATA} ${WRKSRC}/tfm.py ${DESTDIR}${PREFIX}/${PYSITELIB}
${INSTALL_DATA} ${WRKSRC}/tfm.pyc ${DESTDIR}${PREFIX}/${PYSITELIB}
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>