e62864a49b
PR: ports/91270
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: mftrace (formerly pktrace)
|
|
# Date created: Jun w, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mftrace
|
|
PORTVERSION= 1.1.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= print
|
|
MASTER_SITES= http://www.xs4all.nl/~hanwen/mftrace/
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
COMMENT= Scalable PostScript (Type1) Fonts for MetaFont
|
|
|
|
RUN_DEPENDS= mktextfm:${PORTSDIR}/print/teTeX \
|
|
t1asm:${PORTSDIR}/print/t1utils \
|
|
fontforge:${PORTSDIR}/print/fontforge
|
|
|
|
.if defined(WITH_POTRACE)
|
|
RUN_DEPENDS+= potrace:${PORTSDIR}/graphics/potrace
|
|
.else
|
|
RUN_DEPENDS+= autotrace:${PORTSDIR}/graphics/autotrace
|
|
.endif
|
|
|
|
USE_GETOPT_LONG=yes
|
|
USE_PYTHON= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
MAKEFILE= GNUmakefile
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
MAN1= mftrace.1
|
|
|
|
PLIST_FILES= \
|
|
bin/gf2pbm \
|
|
bin/mftrace \
|
|
lib/%%PYTHON_VERSION%%/site-packages/afm.py \
|
|
lib/%%PYTHON_VERSION%%/site-packages/tfm.py
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gf2pbm ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/mftrace ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/mftrace.1 ${MANPREFIX}/man/man1
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tfm.py ${PYTHON_SITELIBDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/afm.py ${PYTHON_SITELIBDIR}
|
|
|
|
.include <bsd.port.mk>
|