aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-08-12 01:12:38 +0800
committerijliao <ijliao@FreeBSD.org>2001-08-12 01:12:38 +0800
commit55e73bd2bb1308f8cfac80de19979e0c2a979ae9 (patch)
tree768797723f37df4e89d4371b3684eaaf76a4d024
parent264162353a9acd89aeb6ee9e25edb9c71ff90506 (diff)
downloadfreebsd-ports-gnome-55e73bd2bb1308f8cfac80de19979e0c2a979ae9.tar.gz
freebsd-ports-gnome-55e73bd2bb1308f8cfac80de19979e0c2a979ae9.tar.zst
freebsd-ports-gnome-55e73bd2bb1308f8cfac80de19979e0c2a979ae9.zip
add ttf2pt1
True Type Font to Postscript Type 1 Converter
-rw-r--r--print/Makefile1
-rw-r--r--print/ttf2pt1/Makefile25
-rw-r--r--print/ttf2pt1/distinfo1
-rw-r--r--print/ttf2pt1/files/patch-Makefile50
-rw-r--r--print/ttf2pt1/pkg-comment1
-rw-r--r--print/ttf2pt1/pkg-descr7
-rw-r--r--print/ttf2pt1/pkg-plist101
7 files changed, 186 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index 2c677653aa47..f339802ac340 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -137,6 +137,7 @@
SUBDIR += tr2latex
SUBDIR += transfig
SUBDIR += trueprint
+ SUBDIR += ttf2pt1
SUBDIR += ttftot42
SUBDIR += virtualpaper
SUBDIR += wmlpq
diff --git a/print/ttf2pt1/Makefile b/print/ttf2pt1/Makefile
new file mode 100644
index 000000000000..3c989f19514c
--- /dev/null
+++ b/print/ttf2pt1/Makefile
@@ -0,0 +1,25 @@
+# ex:ts=8
+# New ports collection makefile for: ttf2pt1
+# Date created: Aug 11, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= ttf2pt1
+PORTVERSION= 3.3.4
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2
+
+FREETYPE_CONFIG?= ${LOCALBASE}/bin/freetype-config
+MAKE_ENV= FREETYPE_CONFIG="${FREETYPE_CONFIG}"
+
+MAN1= ttf2pt1.1 ttf2pt1_convert.1 ttf2pt1_x2gs.1
+
+.include <bsd.port.mk>
diff --git a/print/ttf2pt1/distinfo b/print/ttf2pt1/distinfo
new file mode 100644
index 000000000000..d09729564853
--- /dev/null
+++ b/print/ttf2pt1/distinfo
@@ -0,0 +1 @@
+MD5 (ttf2pt1-3.3.4.tgz) = 07fe0603a424fc409280d1f1c93861f6
diff --git a/print/ttf2pt1/files/patch-Makefile b/print/ttf2pt1/files/patch-Makefile
new file mode 100644
index 000000000000..df3da516a26a
--- /dev/null
+++ b/print/ttf2pt1/files/patch-Makefile
@@ -0,0 +1,50 @@
+--- Makefile.orig Mon May 28 10:38:17 2001
++++ Makefile Sun Aug 12 01:07:51 2001
+@@ -20,7 +20,7 @@
+ #
+ # Default
+
+-CFLAGS_SYS= -O
++#CFLAGS_SYS= -O
+
+ # For GNU C
+ #
+@@ -54,7 +54,7 @@
+ # This WON'T BUILD with FT2-beta8, use the FreeType release 2.0.
+ # http://download.sourceforge.net/freetype/freetype-2.0.tar.gz
+
+-CFLAGS_FT=
++CFLAGS_FT= `${FREETYPE_CONFIG} --cflags`
+
+ # To enable use of the FreeType-2 library
+ # (if the include and lib directory do not match your installation,
+@@ -65,7 +65,7 @@
+ #
+ # The FreeType-2 library flags (disabled by default)
+
+-LIBS_FT=
++LIBS_FT= `${FREETYPE_CONFIG} --libs`
+
+ # To enable use of the FreeType-2 library
+ # (if the include and lib directory do not match your installation,
+@@ -87,17 +87,17 @@
+ CFLAGS_EXTT1ASM=
+ #CFLAGS_EXTT1ASM= -DEXTERNAL_T1ASM
+
+-CFLAGS= $(CFLAGS_SYS) $(CFLAGS_FT) $(CFLAGS_PREF)
++CFLAGS+= $(CFLAGS_SYS) $(CFLAGS_FT) $(CFLAGS_PREF)
+ LIBS= $(LIBS_SYS) $(LIBS_FT)
+
+ # Installation-related stuff
+ #
+ # The base dir for installation and subdirs in it
+-INSTDIR = /usr/local
++INSTDIR = ${PREFIX}
+ # for binaries
+ BINDIR = $(INSTDIR)/bin
+ # for binaries of little general interest
+-LIBXDIR = $(INSTDIR)/libexec/ttf2pt1
++LIBXDIR = $(INSTDIR)/bin
+ # for scripts, maps/encodings etc.
+ SHAREDIR = $(INSTDIR)/share/ttf2pt1
+ MANDIR = $(INSTDIR)/man
diff --git a/print/ttf2pt1/pkg-comment b/print/ttf2pt1/pkg-comment
new file mode 100644
index 000000000000..f27820dd9342
--- /dev/null
+++ b/print/ttf2pt1/pkg-comment
@@ -0,0 +1 @@
+True Type Font to Postscript Type 1 Converter
diff --git a/print/ttf2pt1/pkg-descr b/print/ttf2pt1/pkg-descr
new file mode 100644
index 000000000000..3a49455adafe
--- /dev/null
+++ b/print/ttf2pt1/pkg-descr
@@ -0,0 +1,7 @@
+TTF2PT1 is a modification of Andrew Weeks TTF2PFA True Type to Postscript
+Type 3 converter. Which will convert Most True Type Fonts to and Adobe
+Type 1 .pfa file. The files produced are in human readable form, which
+further needs to be encrypted with the t1utilities, to work with most
+software requiring type 1 fonts.
+
+WWW: http://ttf2pt1.sourceforge.net/
diff --git a/print/ttf2pt1/pkg-plist b/print/ttf2pt1/pkg-plist
new file mode 100644
index 000000000000..7a87beda500e
--- /dev/null
+++ b/print/ttf2pt1/pkg-plist
@@ -0,0 +1,101 @@
+bin/t1asm
+bin/ttf2pt1
+bin/ttf2pt1_convert
+bin/ttf2pt1_x2gs
+share/ttf2pt1/CHANGES
+share/ttf2pt1/CHANGES.html
+share/ttf2pt1/COPYRIGHT
+share/ttf2pt1/FONTS
+share/ttf2pt1/FONTS.hpux
+share/ttf2pt1/FONTS.hpux.html
+share/ttf2pt1/FONTS.html
+share/ttf2pt1/README
+share/ttf2pt1/README.FIRST
+share/ttf2pt1/README.html
+share/ttf2pt1/app/RPM/Makefile
+share/ttf2pt1/app/RPM/ttf2pt1.spec
+share/ttf2pt1/app/RPM/ttf2pt1.spec.src
+share/ttf2pt1/app/X11/README
+share/ttf2pt1/app/X11/README.html
+share/ttf2pt1/app/X11/t1-xf86.334.patch
+share/ttf2pt1/app/X11/t1-xf86.39.patch
+share/ttf2pt1/app/netscape/Makefile
+share/ttf2pt1/app/netscape/README
+share/ttf2pt1/app/netscape/README.html
+share/ttf2pt1/app/netscape/fontsz.cf
+share/ttf2pt1/app/netscape/notscape
+share/ttf2pt1/app/netscape/nsfilter
+share/ttf2pt1/app/netscape/nsfix.c
+share/ttf2pt1/app/netscape/nspr
+share/ttf2pt1/app/netscape/nsprint
+share/ttf2pt1/app/netscape/psfonts.cf
+share/ttf2pt1/encodings/README
+share/ttf2pt1/encodings/README.html
+share/ttf2pt1/encodings/adobestd/adobe-std.tbl
+share/ttf2pt1/encodings/bulgarian/README
+share/ttf2pt1/encodings/bulgarian/encodings.alias
+share/ttf2pt1/encodings/bulgarian/ibm-1251.tbl
+share/ttf2pt1/encodings/bulgarian/ibm-866.tbl
+share/ttf2pt1/encodings/bulgarian/iso8859-5.tbl
+share/ttf2pt1/encodings/bulgarian/koi8-r.tbl
+share/ttf2pt1/encodings/cyrillic/encodings.alias
+share/ttf2pt1/encodings/cyrillic/ibm-1251.tbl
+share/ttf2pt1/encodings/cyrillic/ibm-866.tbl
+share/ttf2pt1/encodings/cyrillic/iso8859-5.tbl
+share/ttf2pt1/encodings/cyrillic/koi8-r.tbl
+share/ttf2pt1/encodings/latin1/iso8859-1.tbl
+share/ttf2pt1/encodings/latin2/iso8859-2.tbl
+share/ttf2pt1/encodings/latin4/iso8859-4
+share/ttf2pt1/encodings/latin4/iso8859-4.tbl
+share/ttf2pt1/encodings/latin5/iso8859-9
+share/ttf2pt1/encodings/russian/README
+share/ttf2pt1/encodings/russian/encodings.alias
+share/ttf2pt1/encodings/russian/ibm-1251.tbl
+share/ttf2pt1/encodings/russian/ibm-866.tbl
+share/ttf2pt1/encodings/russian/iso8859-5.tbl
+share/ttf2pt1/encodings/russian/koi8-r.tbl
+share/ttf2pt1/maps/CP1250.map
+share/ttf2pt1/maps/CP1251.map
+share/ttf2pt1/maps/adobe-standard-encoding.map
+share/ttf2pt1/maps/unicode-sample.map
+share/ttf2pt1/other/Makefile
+share/ttf2pt1/other/README
+share/ttf2pt1/other/README.html
+share/ttf2pt1/other/bmpfont.h
+share/ttf2pt1/other/bz.c
+share/ttf2pt1/other/bzscreen.c
+share/ttf2pt1/other/bzscreen.h
+share/ttf2pt1/other/cmpf.c
+share/ttf2pt1/other/cntstems.pl
+share/ttf2pt1/other/dmpf.c
+share/ttf2pt1/other/lst.pl
+share/ttf2pt1/other/showg
+share/ttf2pt1/scripts/convert
+share/ttf2pt1/scripts/convert.cfg.sample
+share/ttf2pt1/scripts/forceiso
+share/ttf2pt1/scripts/frommap
+share/ttf2pt1/scripts/html2man
+share/ttf2pt1/scripts/inst_dir
+share/ttf2pt1/scripts/inst_file
+share/ttf2pt1/scripts/mkrel
+share/ttf2pt1/scripts/t1fdir
+share/ttf2pt1/scripts/trans
+share/ttf2pt1/scripts/unhtml
+share/ttf2pt1/scripts/x2gs
+@dirrm share/ttf2pt1/app/RPM
+@dirrm share/ttf2pt1/app/X11
+@dirrm share/ttf2pt1/app/netscape
+@dirrm share/ttf2pt1/app
+@dirrm share/ttf2pt1/encodings/adobestd
+@dirrm share/ttf2pt1/encodings/bulgarian
+@dirrm share/ttf2pt1/encodings/cyrillic
+@dirrm share/ttf2pt1/encodings/latin1
+@dirrm share/ttf2pt1/encodings/latin2
+@dirrm share/ttf2pt1/encodings/latin4
+@dirrm share/ttf2pt1/encodings/latin5
+@dirrm share/ttf2pt1/encodings/russian
+@dirrm share/ttf2pt1/encodings
+@dirrm share/ttf2pt1/maps
+@dirrm share/ttf2pt1/other
+@dirrm share/ttf2pt1/scripts
+@dirrm share/ttf2pt1