1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/print/mftrace/Makefile
Norikatsu Shigemura 87af00fb69 o Chase dependency on print/pfaedit -> print/fontforge.
o Bump PORTREVISION accordingly.

Pointed out by:	Hermes Trismegistus <hermes@trismegistus.net>
2004-05-03 07:06:11 +00:00

55 lines
1.3 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: mftrace (formerly pktrace)
# Date created: Jun w, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= mftrace
PORTVERSION= 1.0.29
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= http://www.xs4all.nl/~hanwen/mftrace/
MAINTAINER= atamaniuk-ports@frobs.net
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
PLIST= ${WRKDIR}/pkg-plist
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= mftrace.1
pre-install:
${RM} -f ${PLIST}
.for ii in gf2pbm mftrace
${ECHO_CMD} bin/${ii} >> ${PLIST}
.endfor
.for ii in afm tfm
${ECHO_CMD} lib/%%PYTHON_VERSION%%/site-packages/${ii}.py >> ${PLIST}
.endfor
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>