ports/50578: pktrace has been renamed to mftrace by the author

Keith White Keith.White at site.uottawa.ca
Mon Aug 18 14:41:29 UTC 2003


On Sun, 17 Aug 2003, Kris Kennaway wrote:

> Can you please resubmit the diff in bare diff -u format, not
> uuencoded?

Yes, sorry.

Patches against /usr/ports/print and version 1.0.19 of mftrace.

This might be obvious, but "mv pktrace mftrace" will also be needed after
the patch.

...keith

--- Makefile.orig	Fri Aug  8 00:00:29 2003
+++ Makefile	Mon Aug 18 10:26:56 2003
@@ -98,6 +98,7 @@
     SUBDIR += lyx
     SUBDIR += magicfilter
     SUBDIR += makeindex
+    SUBDIR += mftrace
     SUBDIR += mgv
     SUBDIR += mp-a4
     SUBDIR += mp-letter
@@ -140,7 +141,6 @@
     SUBDIR += pkfonts360
     SUBDIR += pkfonts400
     SUBDIR += pkfonts600
-    SUBDIR += pktrace
     SUBDIR += pnm2ppa
     SUBDIR += poster
     SUBDIR += preview-latex
diff -ur pktrace/Makefile mftrace/Makefile
--- pktrace/Makefile	Sun Jul 13 22:37:19 2003
+++ mftrace/Makefile	Mon Aug 18 10:02:15 2003
@@ -1,37 +1,38 @@
 # ex:ts=8
-# Ports collection makefile for:	pktrace
+# Ports collection makefile for:	mftrace
 # Date created:			Jun w, 2002
 # Whom:				ijliao
 #
-# $FreeBSD: ports/print/pktrace/Makefile,v 1.5 2003/07/14 02:37:19 sf Exp $
+# $FreeBSD: ports/print/pktrace/Makefile,v 1.4 2003/02/20 18:55:48 knu Exp $
 #

-PORTNAME=	pktrace
-PORTVERSION=	1.0.4
-PORTREVISION=	1
+PORTNAME=	mftrace
+PORTVERSION=	1.0.19
 CATEGORIES=	print
-MASTER_SITES=	http://www.cs.uu.nl/~hanwen/pktrace/
+MASTER_SITES=	http://www.cs.uu.nl/~hanwen/mftrace/

 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Scalable PostScript (Type1) Fonts for MetaFont

+LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt
 RUN_DEPENDS=	mktextfm:${PORTSDIR}/print/teTeX \
 		autotrace:${PORTSDIR}/graphics/autotrace \
 		t1asm:${PORTSDIR}/print/t1utils \
 		pfaedit:${PORTSDIR}/print/pfaedit

-USE_GETOPT_LONG=yes
 USE_PYTHON=	yes
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 MAKEFILE=	GNUmakefile
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

-MAN1=	pktrace.1
+MAN1=	mftrace.1

 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/gf2pbm ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/pktrace ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/pktrace.1 ${MANPREFIX}/man/man1
+	${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>
diff -ur pktrace/distinfo mftrace/distinfo
--- pktrace/distinfo	Sun Jun  2 13:03:02 2002
+++ mftrace/distinfo	Mon Aug 18 10:02:09 2003
@@ -1 +1 @@
-MD5 (pktrace-1.0.4.tar.gz) = e78cd41f09abf9558133263397498f7b
+MD5 (mftrace-1.0.19.tar.gz) = a6df5be77dceb35bcf77b7ebea0b700e
diff -ur pktrace/files/patch-GNUmakefile.in mftrace/files/patch-GNUmakefile.in
--- pktrace/files/patch-GNUmakefile.in	Sun Jun  2 13:03:02 2002
+++ mftrace/files/patch-GNUmakefile.in	Fri Mar 14 13:34:32 2003
@@ -1,7 +1,7 @@
 --- GNUmakefile.in.orig	Sun Jun  2 23:51:33 2002
 +++ GNUmakefile.in	Sun Jun  2 23:52:07 2002
 @@ -23,7 +23,7 @@
- compile: pktrace gf2pbm
+ compile: mftrace gf2pbm

  gf2pbm: gf2pbm.c
 -	gcc -O2 -Wall -o $@ $<
diff -ur pktrace/pkg-descr mftrace/pkg-descr
--- pktrace/pkg-descr	Sun Jun  2 13:03:02 2002
+++ mftrace/pkg-descr	Fri Mar 14 13:34:45 2003
@@ -1,8 +1,8 @@
-pktrace is a small Python program that lets you trace a TeX bitmap font into
+mftrace is a small Python program that lets you trace a TeX bitmap font into
 a PFA or PFB font (A PostScript Type1 Scalable Font).

 Type1 fonts offer many advantages over bitmaps, as they allow PostScript
 files to render correctly on printers with many resolutions. Moreover,
 Ghostscript can generate much better PDF, if given scalable fonts.

-WWW: http://www.cs.uu.nl/~hanwen/pktrace/
+WWW: http://www.cs.uu.nl/~hanwen/mftrace/
diff -ur pktrace/pkg-plist mftrace/pkg-plist
--- pktrace/pkg-plist	Sun Jun  2 13:03:02 2002
+++ mftrace/pkg-plist	Fri Mar 14 13:56:28 2003
@@ -1,3 +1,4 @@
 bin/gf2pbm
-bin/pktrace
+bin/mftrace
 lib/%%PYTHON_VERSION%%/site-packages/tfm.py
+lib/%%PYTHON_VERSION%%/site-packages/afm.py



More information about the freebsd-ports-bugs mailing list