pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/gsftopkk Import gsftopkk-1.19.2 as fonts/gsftopkk.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8eb3936080bf
branches:  trunk
changeset: 396541:8eb3936080bf
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Jul 26 23:41:25 2009 +0000

description:
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.

diffstat:

 fonts/gsftopkk/DESCR            |   9 ++++++++
 fonts/gsftopkk/Makefile         |  46 +++++++++++++++++++++++++++++++++++++++++
 fonts/gsftopkk/PLIST            |   4 +++
 fonts/gsftopkk/distinfo         |   6 +++++
 fonts/gsftopkk/patches/patch-aa |  18 ++++++++++++++++
 5 files changed, 83 insertions(+), 0 deletions(-)

diffs (103 lines):

diff -r 315fe80b7df6 -r 8eb3936080bf fonts/gsftopkk/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/gsftopkk/DESCR      Sun Jul 26 23:41:25 2009 +0000
@@ -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 -r 315fe80b7df6 -r 8eb3936080bf fonts/gsftopkk/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/gsftopkk/Makefile   Sun Jul 26 23:41:25 2009 +0000
@@ -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@localhost
+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 -r 315fe80b7df6 -r 8eb3936080bf fonts/gsftopkk/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/gsftopkk/PLIST      Sun Jul 26 23:41:25 2009 +0000
@@ -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 -r 315fe80b7df6 -r 8eb3936080bf fonts/gsftopkk/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/gsftopkk/distinfo   Sun Jul 26 23:41:25 2009 +0000
@@ -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 -r 315fe80b7df6 -r 8eb3936080bf fonts/gsftopkk/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/gsftopkk/patches/patch-aa   Sun Jul 26 23:41:25 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index