2013-09-21 00:43:59 +02:00
|
|
|
# Created by: ijliao
|
2002-06-02 19:03:02 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2003-10-14 01:22:02 +02:00
|
|
|
PORTNAME= mftrace
|
2012-05-03 15:33:45 +02:00
|
|
|
PORTVERSION= 1.2.18
|
2019-04-10 08:18:31 +02:00
|
|
|
PORTREVISION= 2
|
2002-06-02 19:03:02 +02:00
|
|
|
CATEGORIES= print
|
2011-07-07 23:09:44 +02:00
|
|
|
MASTER_SITES= http://lilypond.org/download/sources/mftrace/ \
|
|
|
|
LOCAL/nivit/${PORTNAME}/
|
2002-06-02 19:03:02 +02:00
|
|
|
|
2007-04-01 09:33:25 +02:00
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Scalable PostScript (Type1) Fonts for MetaFont
|
2002-06-02 19:03:02 +02:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
RUN_DEPENDS= t1asm:print/t1utils \
|
|
|
|
fontforge:print/fontforge
|
2002-06-02 19:03:02 +02:00
|
|
|
|
2011-08-16 17:04:42 +02:00
|
|
|
.if defined(WITH_AUTOTRACE)
|
2016-04-01 16:16:16 +02:00
|
|
|
BUILD_DEPENDS+= autotrace:graphics/autotrace
|
|
|
|
RUN_DEPENDS+= autotrace:graphics/autotrace
|
2011-08-16 17:04:42 +02:00
|
|
|
.else
|
2016-04-01 16:16:16 +02:00
|
|
|
BUILD_DEPENDS+= potrace:graphics/potrace
|
|
|
|
RUN_DEPENDS+= potrace:graphics/potrace
|
2004-01-15 23:36:02 +01:00
|
|
|
.endif
|
|
|
|
|
2012-05-03 15:33:45 +02:00
|
|
|
# Python3 ready
|
2013-05-11 19:58:55 +02:00
|
|
|
USE_TEX= base texmf
|
2002-06-02 19:03:02 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-10-24 18:42:59 +02:00
|
|
|
USES= gmake python
|
2002-06-02 19:03:02 +02:00
|
|
|
MAKEFILE= GNUmakefile
|
|
|
|
|
2005-04-19 12:42:59 +02:00
|
|
|
PLIST_FILES= \
|
|
|
|
bin/gf2pbm \
|
|
|
|
bin/mftrace \
|
2012-02-12 18:03:29 +01:00
|
|
|
%%PYTHON_SITELIBDIR%%/afm.py \
|
2014-08-18 21:13:18 +02:00
|
|
|
%%PYTHON_SITELIBDIR%%/tfm.py \
|
|
|
|
man/man1/mftrace.1.gz
|
2002-06-02 19:03:02 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-06-03 03:15:13 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gf2pbm ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/mftrace ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/mftrace.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tfm.py ${STAGEDIR}${PYTHON_SITELIBDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/afm.py ${STAGEDIR}${PYTHON_SITELIBDIR}
|
2002-06-02 19:03:02 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|