diff options
author | reinoud <reinoud> | 2002-01-02 20:30:16 +0000 |
---|---|---|
committer | reinoud <reinoud> | 2002-01-02 20:30:16 +0000 |
commit | a507cfd10946c93f34e70ec9cb894977edd30d87 (patch) | |
tree | c198f03360f81da077117130109cf9dc14ad94a9 /converters | |
parent | 6d9eb2fdd6e6ea8632557b979176125620a7e944 (diff) | |
download | pkgsrc-a507cfd10946c93f34e70ec9cb894977edd30d87.tar.gz |
Initial commitment of the TrueType to Postscript(r) Type 1 (or 3) file
converter.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/ttf2pt1/DESCR | 5 | ||||
-rw-r--r-- | converters/ttf2pt1/Makefile | 13 | ||||
-rw-r--r-- | converters/ttf2pt1/PLIST | 105 | ||||
-rw-r--r-- | converters/ttf2pt1/distinfo | 5 | ||||
-rw-r--r-- | converters/ttf2pt1/patches/patch-aa | 96 |
5 files changed, 224 insertions, 0 deletions
diff --git a/converters/ttf2pt1/DESCR b/converters/ttf2pt1/DESCR new file mode 100644 index 00000000000..ad3c8d723da --- /dev/null +++ b/converters/ttf2pt1/DESCR @@ -0,0 +1,5 @@ +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. diff --git a/converters/ttf2pt1/Makefile b/converters/ttf2pt1/Makefile new file mode 100644 index 00000000000..aa66818bf9a --- /dev/null +++ b/converters/ttf2pt1/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1 2002/01/02 20:30:16 reinoud Exp $ +# + +DISTNAME= ttf2pt1-3.4.0 +CATEGORIES= converters +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ttf2pt1/} +EXTRACT_SUFX= .tgz + +MAINTAINER= reinoud@netbsd.org +HOMEPAGE= http://ttf2pt1.sourceforge.net +COMMENT= TrueType font converter to Postscript type 1 + +.include "../../mk/bsd.pkg.mk" diff --git a/converters/ttf2pt1/PLIST b/converters/ttf2pt1/PLIST new file mode 100644 index 00000000000..ead222e2e54 --- /dev/null +++ b/converters/ttf2pt1/PLIST @@ -0,0 +1,105 @@ +@comment $NetBSD: PLIST,v 1.1 2002/01/02 20:30:17 reinoud Exp $ +bin/ttf2pt1 +bin/ttf2pt1_convert +bin/ttf2pt1_x2gs +man/man1/ttf2pt1.1 +man/man1/ttf2pt1_convert.1 +man/man1/ttf2pt1_x2gs.1 +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/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/showdf +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/scripts +@dirrm share/ttf2pt1/other +@dirrm share/ttf2pt1/maps +@dirrm share/ttf2pt1/encodings/russian +@dirrm share/ttf2pt1/encodings/latin5 +@dirrm share/ttf2pt1/encodings/latin4 +@dirrm share/ttf2pt1/encodings/latin2 +@dirrm share/ttf2pt1/encodings/latin1 +@dirrm share/ttf2pt1/encodings/cyrillic +@dirrm share/ttf2pt1/encodings/bulgarian +@dirrm share/ttf2pt1/encodings/adobestd +@dirrm share/ttf2pt1/encodings +@dirrm share/ttf2pt1/app/netscape +@dirrm share/ttf2pt1/app/X11 +@dirrm share/ttf2pt1/app/RPM +@dirrm share/ttf2pt1/app +@dirrm share/ttf2pt1 +@exec /bin/mkdir -p %D/libexec/ttf2pt1 +@dirrm libexec/ttf2pt1 diff --git a/converters/ttf2pt1/distinfo b/converters/ttf2pt1/distinfo new file mode 100644 index 00000000000..d27e68f0731 --- /dev/null +++ b/converters/ttf2pt1/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2002/01/02 20:30:17 reinoud Exp $ + +SHA1 (ttf2pt1-3.4.0.tgz) = 1e11478ab5f6dae26ea743dc1149603d652746bb +Size (ttf2pt1-3.4.0.tgz) = 204811 bytes +SHA1 (patch-aa) = a74ad2bcaa3d4fd12973f229f53e0d5e42215368 diff --git a/converters/ttf2pt1/patches/patch-aa b/converters/ttf2pt1/patches/patch-aa new file mode 100644 index 00000000000..2757b076544 --- /dev/null +++ b/converters/ttf2pt1/patches/patch-aa @@ -0,0 +1,96 @@ +$NetBSD: patch-aa,v 1.1 2002/01/02 20:30:18 reinoud Exp $ + +--- Makefile.orig Mon Oct 15 04:32:29 2001 ++++ Makefile +@@ -20,11 +20,11 @@ + # + # Default + +-CFLAGS_SYS= -O ++#CFLAGS_SYS= -O + + # For GNU C + # +-#CFLAGS_SYS= -O2 ++CFLAGS_SYS= -O2 + # + # For GNU C with long options support library (Linux etc.) + # +@@ -93,7 +93,7 @@ + # 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 +@@ -123,7 +123,7 @@ + MANS1=ttf2pt1.1 ttf2pt1_convert.1 ttf2pt1_x2gs.1 + MANS=$(MANS1) $(MANS5) + +-all: t1asm ttf2pt1 docs mans rpm ++all: t1asm ttf2pt1 docs mans + + docs: $(DOCS) + +@@ -136,7 +136,7 @@ + veryclean: clean + rm -f $(DOCS) $(MANS) + +-rpm: app/RPM/Makefile app/RPM/ttf2pt1.spec ++#rpm: app/RPM/Makefile app/RPM/ttf2pt1.spec + + ttf2pt1.1: README.html + scripts/html2man . . <README.html +@@ -144,11 +144,11 @@ + ttf2pt1_convert.1 ttf2pt1_x2gs.1: FONTS.html + scripts/html2man . . <FONTS.html + +-app/RPM/Makefile: Makefile +- sed 's/^CFLAGS_SYS.*=.*$$/CFLAGS_SYS= -O2 -D_GNU_SOURCE/;/warning:/,/^$$/s/^/#/' <Makefile >app/RPM/Makefile ++#app/RPM/Makefile: Makefile ++# sed 's/^CFLAGS_SYS.*=.*$$/CFLAGS_SYS= -O2 -D_GNU_SOURCE/;/warning:/,/^$$/s/^/#/' <Makefile >app/RPM/Makefile + +-app/RPM/ttf2pt1.spec: app/RPM/ttf2pt1.spec.src version.h +- sed 's/^Version:.*/Version: '`grep TTF2PT1_VERSION version.h| cut -d\" -f2`'/' <app/RPM/ttf2pt1.spec.src >$@ ++#app/RPM/ttf2pt1.spec: app/RPM/ttf2pt1.spec.src version.h ++# sed 's/^Version:.*/Version: '`grep TTF2PT1_VERSION version.h| cut -d\" -f2`'/' <app/RPM/ttf2pt1.spec.src >$@ + + t1asm: t1asm.c + $(CC) $(CFLAGS) -o t1asm -DSTANDALONE t1asm.c $(LIBS) +@@ -202,24 +202,24 @@ + scripts/unhtml <FONTS.hpux.html >FONTS.hpux + + install: all +- scripts/inst_dir $(BINDIR) +- scripts/inst_dir $(LIBXDIR) +- scripts/inst_dir $(SHAREDIR) +- scripts/inst_dir $(MANDIR)/man1 +- scripts/inst_dir $(MANDIR)/man5 ++ install -d $(BINDIR) ++ install -d $(LIBXDIR) ++ install -d $(SHAREDIR) ++ install -d $(MANDIR)/man1 ++ install -d $(MANDIR)/man5 + cp -R $(TXTFILES) $(SUBDIRS) $(SHAREDIR) + chown -R $(OWNER) $(SHAREDIR) + chgrp -R $(GROUP) $(SHAREDIR) + chmod -R go-w $(SHAREDIR) +- scripts/inst_file ttf2pt1 $(BINDIR)/ttf2pt1 $(OWNER) $(GROUP) 0755 +- [ -f $(BINDIR)/t1asm ] || scripts/inst_file t1asm $(LIBXDIR)/t1asm $(OWNER) $(GROUP) 0755 ++ install -c -o $(OWNER) -g $(GROUP) -m 0755 ttf2pt1 $(BINDIR) ++ [ -f $(BINDIR)/t1asm ] || install -c -o $(OWNER) -g $(GROUP) -m 0755 t1asm $(LIBXDIR)/t1asm + sed 's|^TTF2PT1_BINDIR=$$|TTF2PT1_BINDIR=$(BINDIR)|;\ + s|^TTF2PT1_LIBXDIR=$$|TTF2PT1_LIBXDIR=$(LIBXDIR)|;\ + s|^TTF2PT1_SHAREDIR=$$|TTF2PT1_SHAREDIR=$(SHAREDIR)|;' <scripts/convert >cvt.tmp +- scripts/inst_file cvt.tmp $(BINDIR)/ttf2pt1_convert $(OWNER) $(GROUP) 0755 +- scripts/inst_file cvt.tmp $(SHAREDIR)/scripts/convert $(OWNER) $(GROUP) 0755 ++ install -c -o $(OWNER) -g $(GROUP) -m 0755 cvt.tmp $(BINDIR)/ttf2pt1_convert ++ install -c -o $(OWNER) -g $(GROUP) -m 0755 cvt.tmp $(SHAREDIR)/scripts/convert + rm cvt.tmp +- scripts/inst_file scripts/x2gs $(BINDIR)/ttf2pt1_x2gs $(OWNER) $(GROUP) 0755 ++ install -c -o $(OWNER) -g $(GROUP) -m 0755 scripts/x2gs $(BINDIR)/ttf2pt1_x2gs + for i in $(MANS1); do { \ + sed 's|TTF2PT1_BINDIR|$(BINDIR)|;\ + s|TTF2PT1_LIBXDIR|$(LIBXDIR)|;\ |