summaryrefslogtreecommitdiff
path: root/fonts/ps2pkm
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2009-07-26 23:50:00 +0000
committerminskim <minskim@pkgsrc.org>2009-07-26 23:50:00 +0000
commit692c0af92a81775763d2859c89d3bbaf0dfe293f (patch)
treeb1038d01f9ce128610ffe323094162d4bfd35669 /fonts/ps2pkm
parent2ea3b77882aa67f674c054dde43c6fd62d9b08b1 (diff)
downloadpkgsrc-692c0af92a81775763d2859c89d3bbaf0dfe293f.tar.gz
Import ps2pkm-1.5 as fonts/ps2pkm.
ps2pk is a tool that converts a PostScript type1 font into a corresponding TeX PK font. The tool is especially interesting if you want to use fully hinted type1 fonts in your DVI previewer (instead of the unhinted type1 fonts currently used in GhostScript) or on a printer that has no PostScript interpreter.
Diffstat (limited to 'fonts/ps2pkm')
-rw-r--r--fonts/ps2pkm/DESCR5
-rw-r--r--fonts/ps2pkm/Makefile38
-rw-r--r--fonts/ps2pkm/PLIST9
-rw-r--r--fonts/ps2pkm/distinfo6
-rw-r--r--fonts/ps2pkm/patches/patch-aa18
5 files changed, 76 insertions, 0 deletions
diff --git a/fonts/ps2pkm/DESCR b/fonts/ps2pkm/DESCR
new file mode 100644
index 00000000000..c33358af5a2
--- /dev/null
+++ b/fonts/ps2pkm/DESCR
@@ -0,0 +1,5 @@
+ps2pk is a tool that converts a PostScript type1 font into a
+corresponding TeX PK font. The tool is especially interesting if you
+want to use fully hinted type1 fonts in your DVI previewer (instead of
+the unhinted type1 fonts currently used in GhostScript) or on a
+printer that has no PostScript interpreter.
diff --git a/fonts/ps2pkm/Makefile b/fonts/ps2pkm/Makefile
new file mode 100644
index 00000000000..a370635090e
--- /dev/null
+++ b/fonts/ps2pkm/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/07/26 23:50:00 minskim Exp $
+
+DISTNAME= texlive-20080816-source
+PKGNAME= ps2pkm-1.5
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/texlive/Source/}
+EXTRACT_SUFX= .tar.lzma
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://www.tug.org/texlive/
+COMMENT= Tool to convert PostSCript fonts into TeX PK fonts
+
+CONFLICTS+= teTeX-bin<=3.0nb34
+
+EXTRACT_ELEMENTS= ${DISTNAME}/texk/ps2pkm \
+ ${DISTNAME}/texk/make \
+ ${DISTNAME}/texk/install.sh \
+ ${DISTNAME}/texk/mkinstalldirs
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+INFO_FILES= yes
+USE_LIBTOOL= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/texk/ps2pkm
+
+MAKE_ENV+= KPATHSEA_PREFIX=${BUILDLINK_PREFIX.kpathsea}
+MAKE_FLAGS+= LIBTOOL=${LIBTOOL:Q} \
+ kpathsea_parent=${BUILDLINK_PREFIX.kpathsea}/include \
+ kpathsea_srcdir=${BUILDLINK_PREFIX.kpathsea}/include/kpathsea \
+ kpathsea=${BUILDLINK_PREFIX.kpathsea}/lib/libkpathsea.la
+
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ infodir=${DESTDIR}${PREFIX}/${PKGINFODIR} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
+.include "../../print/kpathsea/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/ps2pkm/PLIST b/fonts/ps2pkm/PLIST
new file mode 100644
index 00000000000..b93af4795a7
--- /dev/null
+++ b/fonts/ps2pkm/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/26 23:50:00 minskim Exp $
+bin/mag
+bin/pfb2pfa
+bin/pk2bm
+bin/ps2pk
+man/man1/mag.1
+man/man1/pfb2pfa.1
+man/man1/pk2bm.1
+man/man1/ps2pk.1
diff --git a/fonts/ps2pkm/distinfo b/fonts/ps2pkm/distinfo
new file mode 100644
index 00000000000..a65385a00c7
--- /dev/null
+++ b/fonts/ps2pkm/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/07/26 23:50:00 minskim Exp $
+
+SHA1 (texlive-20080816-source.tar.lzma) = 730986c628bd658b5062face9e400f61203d6b8d
+RMD160 (texlive-20080816-source.tar.lzma) = 629784b111c0d4bc9fac9f9131f63203d6e1dd38
+Size (texlive-20080816-source.tar.lzma) = 23175835 bytes
+SHA1 (patch-aa) = f31335697dcc264eb1ff4fd640ade0a63d49a403
diff --git a/fonts/ps2pkm/patches/patch-aa b/fonts/ps2pkm/patches/patch-aa
new file mode 100644
index 00000000000..f9dad6b1c53
--- /dev/null
+++ b/fonts/ps2pkm/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/07/26 23:50:00 minskim Exp $
+
+--- Makefile.in.orig 2008-02-01 03:23:16.000000000 -0800
++++ Makefile.in
+@@ -30,8 +30,6 @@ pfb2pfa: $(kpathsea) $(pfb2pfaobjs)
+ mag: $(kpathsea) $(magobjs)
+ $(kpathsea_link) $(magobjs) $(LOADLIBES)
+
+-kpse_include ../make/tkpathsea.mk
+-
+ install: install-exec install-data
+ uninstall: uninstall-exec uninstall-data
+
+@@ -61,4 +59,3 @@ info dvi check:
+
+ kpse_include ../make/clean.mk
+ kpse_include ../make/rdepend.mk
+-kpse_include depend.mk