summaryrefslogtreecommitdiff
path: root/fonts/mftrace
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2004-11-26 13:03:59 +0000
committeradam <adam@pkgsrc.org>2004-11-26 13:03:59 +0000
commitf18baec4e8b951362e6b57a5ff7d91807942a356 (patch)
tree681fcfcd6194455367088a80816ffa92ccea0e06 /fonts/mftrace
parent3b30c2e228a53e0c87e9b3cddc80f56b127ebab8 (diff)
downloadpkgsrc-f18baec4e8b951362e6b57a5ff7d91807942a356.tar.gz
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) or TTF (TrueType) font.
Diffstat (limited to 'fonts/mftrace')
-rw-r--r--fonts/mftrace/DESCR2
-rw-r--r--fonts/mftrace/Makefile32
-rw-r--r--fonts/mftrace/PLIST6
-rw-r--r--fonts/mftrace/distinfo5
-rw-r--r--fonts/mftrace/patches/patch-aa13
5 files changed, 58 insertions, 0 deletions
diff --git a/fonts/mftrace/DESCR b/fonts/mftrace/DESCR
new file mode 100644
index 00000000000..fe4283d114b
--- /dev/null
+++ b/fonts/mftrace/DESCR
@@ -0,0 +1,2 @@
+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) or TTF (TrueType) font.
diff --git a/fonts/mftrace/Makefile b/fonts/mftrace/Makefile
new file mode 100644
index 00000000000..7718c89ef19
--- /dev/null
+++ b/fonts/mftrace/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/26 13:03:59 adam Exp $
+
+DISTNAME= mftrace-1.0.35
+CATEGORIES= fonts
+MASTER_SITES= http://www.xs4all.nl/~hanwen/mftrace/
+
+MAINTAINER= atamaniuk-pkgsrc@frobs.net
+HOMEPAGE= http://www.xs4all.nl/~hanwen/mftrace/
+COMMENT= Scalable Fonts for MetaFont
+
+DEPENDS+= autotrace>=0.31:../../graphics/autotrace
+DEPENDS+= pfaedit>=20030712:../../fonts/pfaedit
+DEPENDS+= t1utils>=1.27:../../fonts/t1utils
+DEPENDS+= teTeX>=2.0.2:../../print/teTeX
+
+USE_GNU_TOOLS+= make
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= PYTHON=${PYTHONBIN}
+MAKEFILE= GNUmakefile
+
+PLIST_SUBST+= PYSITELIB=${PYSITELIB}
+PYTHON_VERSIONS_ACCEPTED= 20 21 21pth 22 22pth 23 23pth
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/gf2pbm ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/mftrace ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/mftrace.1 ${PREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/tfm.py ${PREFIX}/${PYSITELIB}
+ ${INSTALL_DATA} ${WRKSRC}/afm.py ${PREFIX}/${PYSITELIB}
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/mftrace/PLIST b/fonts/mftrace/PLIST
new file mode 100644
index 00000000000..89f4a2acf95
--- /dev/null
+++ b/fonts/mftrace/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/26 13:03:59 adam Exp $
+${PYSITELIB}/afm.py
+${PYSITELIB}/tfm.py
+bin/gf2pbm
+bin/mftrace
+man/man1/mftrace.1
diff --git a/fonts/mftrace/distinfo b/fonts/mftrace/distinfo
new file mode 100644
index 00000000000..27f3e39f83e
--- /dev/null
+++ b/fonts/mftrace/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/26 13:03:59 adam Exp $
+
+SHA1 (mftrace-1.0.35.tar.gz) = 9118e1c300c81881b7911dcdee2b39fd6f76b595
+Size (mftrace-1.0.35.tar.gz) = 53773 bytes
+SHA1 (patch-aa) = e4fff5da8371efc7660539f2520a09cd802b9e81
diff --git a/fonts/mftrace/patches/patch-aa b/fonts/mftrace/patches/patch-aa
new file mode 100644
index 00000000000..addf3e91a72
--- /dev/null
+++ b/fonts/mftrace/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/11/26 13:03:59 adam Exp $
+
+--- GNUmakefile.in.orig 2004-11-26 13:52:43.000000000 +0000
++++ GNUmakefile.in
+@@ -26,7 +26,7 @@ all: compile
+ compile: mftrace gf2pbm
+
+ gf2pbm: gf2pbm.c
+- gcc -O2 -Wall -o $@ $<
++ ${CC} ${CFLAGS} -Wall -o $@ $<
+
+ README.txt: README.texi
+ sed 's/@MFTVERSION@/@VERSION@/g' < $< > $<.in