summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2009-07-26 23:41:25 +0000
committerminskim <minskim@pkgsrc.org>2009-07-26 23:41:25 +0000
commitbc5cb74e87cd80d67ce7f895566c6ff16ee33518 (patch)
treeef46fd2fbf99fcfd1feea3bd01b04cc749652f3c
parent4cd18ecd7335bc490f50904696b1c6bb408a3015 (diff)
downloadpkgsrc-bc5cb74e87cd80d67ce7f895566c6ff16ee33518.tar.gz
Import gsftopkk-1.19.2 as fonts/gsftopkk.
gsftopk is a program that uses Ghostscript to render PostScript fonts (including mock-ups of the ``built-in'' 35; e.g., Times-Roman) and convert the bitmaps to .pk format for use with xdvi or other .dvi viewers. Contrary to what its name may suggest, gsftopk can handle all types of fonts acceptable to Ghostscript, including .pfa, .pfb, and .ttf (TrueType) files. gsftopkk is the same basic program, modified to work with Karl Berry's Kpathsea path-searching library.
-rw-r--r--fonts/gsftopkk/DESCR9
-rw-r--r--fonts/gsftopkk/Makefile46
-rw-r--r--fonts/gsftopkk/PLIST4
-rw-r--r--fonts/gsftopkk/distinfo6
-rw-r--r--fonts/gsftopkk/patches/patch-aa18
5 files changed, 83 insertions, 0 deletions
diff --git a/fonts/gsftopkk/DESCR b/fonts/gsftopkk/DESCR
new file mode 100644
index 00000000000..95667b04dbc
--- /dev/null
+++ b/fonts/gsftopkk/DESCR
@@ -0,0 +1,9 @@
+gsftopk is a program that uses Ghostscript to render PostScript fonts
+(including mock-ups of the ``built-in'' 35; e.g., Times-Roman) and
+convert the bitmaps to .pk format for use with xdvi or other .dvi
+viewers. Contrary to what its name may suggest, gsftopk can handle
+all types of fonts acceptable to Ghostscript, including .pfa, .pfb,
+and .ttf (TrueType) files.
+
+gsftopkk is the same basic program, modified to work with Karl Berry's
+Kpathsea path-searching library.
diff --git a/fonts/gsftopkk/Makefile b/fonts/gsftopkk/Makefile
new file mode 100644
index 00000000000..9416057f81e
--- /dev/null
+++ b/fonts/gsftopkk/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/07/26 23:41:25 minskim Exp $
+
+DISTNAME= texlive-20080816-source
+PKGNAME= gsftopkk-1.19.2
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/texlive/Source/}
+EXTRACT_SUFX= .tar.lzma
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://math.berkeley.edu/~vojta/gsftopk.html
+COMMENT= Tool to convert bitmaps to .pk format
+
+CONFLICTS+= teTeX-bin<=3.0nb34
+DEPENDS+= ghostscript>=2.5.2:../../print/ghostscript
+
+EXTRACT_ELEMENTS= ${DISTNAME}/texk/gsftopk \
+ ${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/gsftopk
+
+FIND_PREFIX:= GHOSTSCRIPT_PREFIX=ghostscript
+.include "../../mk/find-prefix.mk"
+
+MAKE_ENV+= XCFLAGS="-DGS_PATH='\"${GHOSTSCRIPT_PREFIX}/bin/gs\"'"
+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}
+
+TEX_TEXMF_DIRS+= ${PREFIX}/share/texmf
+
+.include "../../print/kpathsea/buildlink3.mk"
+.include "../../print/kpathsea/texmf.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/gsftopkk/PLIST b/fonts/gsftopkk/PLIST
new file mode 100644
index 00000000000..9b6685842db
--- /dev/null
+++ b/fonts/gsftopkk/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/26 23:41:25 minskim Exp $
+bin/gsftopk
+man/man1/gsftopk.1
+share/texmf/dvips/gsftopk/render.ps
diff --git a/fonts/gsftopkk/distinfo b/fonts/gsftopkk/distinfo
new file mode 100644
index 00000000000..aba358cada3
--- /dev/null
+++ b/fonts/gsftopkk/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/07/26 23:41:25 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) = 9970aed4ecb8e42df31cafe9767013d37e0ea028
diff --git a/fonts/gsftopkk/patches/patch-aa b/fonts/gsftopkk/patches/patch-aa
new file mode 100644
index 00000000000..aabe797d014
--- /dev/null
+++ b/fonts/gsftopkk/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/07/26 23:41:25 minskim Exp $
+
+--- Makefile.in.orig 2008-02-01 03:23:16.000000000 -0800
++++ Makefile.in
+@@ -23,8 +23,6 @@ objects = gsftopk.o
+ $(program): $(kpathsea) $(objects)
+ $(kpathsea_link) $(objects) $(LOADLIBES)
+
+-kpse_include ../make/tkpathsea.mk
+-
+ gsftopk.1: gsftopk1.sed sedscript
+ sed -f sedscript <$(srcdir)/gsftopk1.sed >$@
+
+@@ -61,4 +59,3 @@ kpse_include ../make/config.mk
+ info dvi check:
+
+ kpse_include ../make/rdepend.mk
+-kpse_include depend.mk