summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2005-08-12 19:20:19 +0000
committerdrochner <drochner@pkgsrc.org>2005-08-12 19:20:19 +0000
commitc879bb80aa7e15e9f93fcab375bd13f8aa02f1f9 (patch)
treef4d9851920742af24278c21b9a00038c501c864c
parent5e524f6c0004341cd372139d43e44480c2c45b90 (diff)
downloadpkgsrc-c879bb80aa7e15e9f93fcab375bd13f8aa02f1f9.tar.gz
import ghostscript-afpl-8.51
This is lurking in my tree for a long time, was hoping to find time&energy to libtoolize it, but I've given up on this. It is still much better than GNU ghostscript in particular for use with scribus, so it is worth having anyway.
-rw-r--r--print/ghostscript-afpl/DESCR6
-rw-r--r--print/ghostscript-afpl/Makefile47
-rw-r--r--print/ghostscript-afpl/PLIST511
-rw-r--r--print/ghostscript-afpl/distinfo10
-rw-r--r--print/ghostscript-afpl/patches/patch-aa15
-rw-r--r--print/ghostscript-afpl/patches/patch-ab13
6 files changed, 602 insertions, 0 deletions
diff --git a/print/ghostscript-afpl/DESCR b/print/ghostscript-afpl/DESCR
new file mode 100644
index 00000000000..fc65d48e7f7
--- /dev/null
+++ b/print/ghostscript-afpl/DESCR
@@ -0,0 +1,6 @@
+Ghostscript is the well-known PostScript interpreter which is available for
+all common and most esoteric platforms and supports many different printers
+and some displays.
+
+This package contains AFPL Ghostscript, which is released under the terms
+of the Aladdin Free Public License.
diff --git a/print/ghostscript-afpl/Makefile b/print/ghostscript-afpl/Makefile
new file mode 100644
index 00000000000..5ddea7fd7c3
--- /dev/null
+++ b/print/ghostscript-afpl/Makefile
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/08/12 19:20:19 drochner Exp $
+#
+
+DISTNAME= ghostscript-8.51
+PKGNAME= ghostscript-afpl-8.51
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ghostscript/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://ghostscript.sourceforge.net/
+COMMENT= Postscript interpreter
+
+USE_GNU_TOOLS+= make
+GNU_CONFIGURE= yes
+USE_X11= yes
+
+GS_SRCS= ${DISTNAME}${EXTRACT_SUFX}
+DISTFILES= ${GS_SRCS}
+EXTRACT_ONLY= ${GS_SRCS}
+
+# Adobe's JPEG implementation in their PDF/PS documents is non-standard,
+# so we can't use an already installed libjpeg.so.
+#
+JPEG_SRCS= jpegsrc.v6b.tar.gz
+JPEG_WRKSRC= ${WRKDIR}/jpeg-6b
+SITES_${JPEG_SRCS}= ftp://ftp.uu.net/graphics/jpeg/
+DISTFILES+= ${JPEG_SRCS}
+EXTRACT_ONLY+= ${JPEG_SRCS}
+
+GS_RESOURCEDIR= ${PREFIX}/share/ghostscript/Resource
+
+post-extract:
+ ${MKDIR} ${WRKSRC}/bin
+ ${MKDIR} ${WRKSRC}/obj
+ ${LN} -fs ${JPEG_WRKSRC} ${WRKSRC}/jpeg
+ ${MV} ${WRKSRC}/jasper ${WRKSRC}/jasper.dontuse
+ cd ${WRKSRC}/lib; for file in gs_res.ps; do \
+ ${SED} -e "s|/Resource/|${GS_RESOURCEDIR}/|g" \
+ $${file} > $${file}.fixed; \
+ ${MV} -f $${file}.fixed $${file}; \
+ done
+
+.include "../../graphics/png/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/jasper/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/ghostscript-afpl/PLIST b/print/ghostscript-afpl/PLIST
new file mode 100644
index 00000000000..ff480df8fee
--- /dev/null
+++ b/print/ghostscript-afpl/PLIST
@@ -0,0 +1,511 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/08/12 19:20:20 drochner Exp $
+bin/bdftops
+bin/dumphint
+bin/dvipdf
+bin/eps2eps
+bin/fixmswrd.pl
+bin/font2c
+bin/gs
+bin/gsbj
+bin/gsdj
+bin/gsdj500
+bin/gslj
+bin/gslp
+bin/gsnd
+bin/lprsetup.sh
+bin/pdf2dsc
+bin/pdf2ps
+bin/pdfopt
+bin/pf2afm
+bin/pfbtopfa
+bin/printafm
+bin/ps2ascii
+bin/ps2epsi
+bin/ps2pdf
+bin/ps2pdf12
+bin/ps2pdf13
+bin/ps2pdf14
+bin/ps2pdfwr
+bin/ps2ps
+bin/pv.sh
+bin/unix-lpr.sh
+bin/wftopfa
+man/de/man1/dvipdf.1
+man/de/man1/eps2eps.1
+man/de/man1/font2c.1
+man/de/man1/gsnd.1
+man/de/man1/pdf2dsc.1
+man/de/man1/pdf2ps.1
+man/de/man1/pdfopt.1
+man/de/man1/printafm.1
+man/de/man1/ps2ascii.1
+man/de/man1/ps2pdf.1
+man/de/man1/ps2pdf12.1
+man/de/man1/ps2pdf13.1
+man/de/man1/ps2ps.1
+man/de/man1/wftopfa.1
+man/man1/dvipdf.1
+man/man1/eps2eps.1
+man/man1/font2c.1
+man/man1/gs.1
+man/man1/gsbj.1
+man/man1/gsdj.1
+man/man1/gsdj500.1
+man/man1/gslj.1
+man/man1/gslp.1
+man/man1/gsnd.1
+man/man1/pdf2dsc.1
+man/man1/pdf2ps.1
+man/man1/pdfopt.1
+man/man1/pf2afm.1
+man/man1/pfbtopfa.1
+man/man1/printafm.1
+man/man1/ps2ascii.1
+man/man1/ps2epsi.1
+man/man1/ps2pdf.1
+man/man1/ps2pdf12.1
+man/man1/ps2pdf13.1
+man/man1/ps2pdfwr.1
+man/man1/ps2ps.1
+man/man1/wftopfa.1
+share/doc/html/ghostscript/API.htm
+share/doc/html/ghostscript/Bug-form.htm
+share/doc/html/ghostscript/Bug-info.htm
+share/doc/html/ghostscript/C-style.htm
+share/doc/html/ghostscript/Changes.htm
+share/doc/html/ghostscript/Commprod.htm
+share/doc/html/ghostscript/Copying.htm
+share/doc/html/ghostscript/DLL.htm
+share/doc/html/ghostscript/Develop.htm
+share/doc/html/ghostscript/Devices.htm
+share/doc/html/ghostscript/Drivers.htm
+share/doc/html/ghostscript/Fonts.htm
+share/doc/html/ghostscript/Helpers.htm
+share/doc/html/ghostscript/Hershey.htm
+share/doc/html/ghostscript/History1.htm
+share/doc/html/ghostscript/History2.htm
+share/doc/html/ghostscript/History3.htm
+share/doc/html/ghostscript/History4.htm
+share/doc/html/ghostscript/History5.htm
+share/doc/html/ghostscript/History6.htm
+share/doc/html/ghostscript/Htmstyle.htm
+share/doc/html/ghostscript/Humor.htm
+share/doc/html/ghostscript/Install.htm
+share/doc/html/ghostscript/Language.htm
+share/doc/html/ghostscript/Lib.htm
+share/doc/html/ghostscript/Maintain.htm
+share/doc/html/ghostscript/Make.htm
+share/doc/html/ghostscript/News.htm
+share/doc/html/ghostscript/PUBLIC
+share/doc/html/ghostscript/Projects.htm
+share/doc/html/ghostscript/Ps-style.htm
+share/doc/html/ghostscript/Ps2epsi.htm
+share/doc/html/ghostscript/Ps2pdf.htm
+share/doc/html/ghostscript/Psfiles.htm
+share/doc/html/ghostscript/Public.htm
+share/doc/html/ghostscript/README
+share/doc/html/ghostscript/Readme.htm
+share/doc/html/ghostscript/Release.htm
+share/doc/html/ghostscript/Source.htm
+share/doc/html/ghostscript/Unix-lpr.htm
+share/doc/html/ghostscript/Use.htm
+share/doc/html/ghostscript/Xfonts.htm
+share/doc/html/ghostscript/gs.css
+share/doc/html/ghostscript/index.html
+share/examples/ghostscript/alphabet.ps
+share/examples/ghostscript/chess.ps
+share/examples/ghostscript/colorcir.ps
+share/examples/ghostscript/doretree.ps
+share/examples/ghostscript/escher.ps
+share/examples/ghostscript/golfer.eps
+share/examples/ghostscript/grayalph.ps
+share/examples/ghostscript/ridt91.eps
+share/examples/ghostscript/snowflak.ps
+share/examples/ghostscript/tiger.eps
+share/examples/ghostscript/vasarely.ps
+share/examples/ghostscript/waterfal.ps
+share/ghostscript/${PKGVERSION}/Resource/CMap/78-EUC-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/78-EUC-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/78-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/78-RKSJ-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/78-RKSJ-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/78-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/78ms-RKSJ-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/78ms-RKSJ-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/83pv-RKSJ-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/90ms-RKSJ-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/90ms-RKSJ-UCS2
+share/ghostscript/${PKGVERSION}/Resource/CMap/90ms-RKSJ-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/90msp-RKSJ-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/90msp-RKSJ-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/90pv-RKSJ-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/90pv-RKSJ-UCS2
+share/ghostscript/${PKGVERSION}/Resource/CMap/90pv-RKSJ-UCS2C
+share/ghostscript/${PKGVERSION}/Resource/CMap/90pv-RKSJ-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/Add-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/Add-RKSJ-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/Add-RKSJ-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/Add-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-3
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-B5pc
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-ETenms-B5
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-H-CID
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-H-Host
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-H-Mac
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-UCS2
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-4
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-GBK-EUC
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-GBpc-EUC
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-H-CID
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-H-Host
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-H-Mac
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-UCS2
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-0
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-1
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-2
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-4
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-90ms-RKSJ
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-90pv-RKSJ
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-H-CID
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-H-Host
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-H-Mac
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-PS-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-PS-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-UCS2
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-2
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-H-CID
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-H-Host
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-H-Mac
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-KSCms-UHC
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-KSCpc-EUC
+share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-UCS2
+share/ghostscript/${PKGVERSION}/Resource/CMap/B5pc-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/B5pc-UCS2
+share/ghostscript/${PKGVERSION}/Resource/CMap/B5pc-UCS2C
+share/ghostscript/${PKGVERSION}/Resource/CMap/B5pc-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/CNS-EUC-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/CNS-EUC-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/ETHK-B5-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/ETHK-B5-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/ETen-B5-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/ETen-B5-UCS2
+share/ghostscript/${PKGVERSION}/Resource/CMap/ETen-B5-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/ETenms-B5-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/ETenms-B5-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/EUC-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/EUC-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/Ext-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/Ext-RKSJ-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/Ext-RKSJ-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/Ext-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/GB-EUC-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/GB-EUC-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/GBK-EUC-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/GBK-EUC-UCS2
+share/ghostscript/${PKGVERSION}/Resource/CMap/GBK-EUC-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/GBK2K-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/GBK2K-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/GBKp-EUC-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/GBKp-EUC-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/GBT-EUC-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/GBT-EUC-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/GBpc-EUC-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/GBpc-EUC-UCS2
+share/ghostscript/${PKGVERSION}/Resource/CMap/GBpc-EUC-UCS2C
+share/ghostscript/${PKGVERSION}/Resource/CMap/GBpc-EUC-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/H
+share/ghostscript/${PKGVERSION}/Resource/CMap/HKdla-B5-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/HKdla-B5-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/HKdlb-B5-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/HKdlb-B5-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/HKgccs-B5-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/HKgccs-B5-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/HKm314-B5-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/HKm314-B5-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/HKm471-B5-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/HKm471-B5-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/HKscs-B5-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/HKscs-B5-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/Hankaku
+share/ghostscript/${PKGVERSION}/Resource/CMap/Hiragana
+share/ghostscript/${PKGVERSION}/Resource/CMap/Identity-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/Identity-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/KSC-EUC-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/KSC-EUC-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/KSC-Johab-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/KSC-Johab-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/KSCms-UHC-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/KSCms-UHC-HW-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/KSCms-UHC-HW-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/KSCms-UHC-UCS2
+share/ghostscript/${PKGVERSION}/Resource/CMap/KSCms-UHC-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/KSCpc-EUC-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/KSCpc-EUC-UCS2
+share/ghostscript/${PKGVERSION}/Resource/CMap/KSCpc-EUC-UCS2C
+share/ghostscript/${PKGVERSION}/Resource/CMap/Katakana
+share/ghostscript/${PKGVERSION}/Resource/CMap/NWP-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/NWP-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/RKSJ-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/RKSJ-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/Roman
+share/ghostscript/${PKGVERSION}/Resource/CMap/UCS2-90ms-RKSJ
+share/ghostscript/${PKGVERSION}/Resource/CMap/UCS2-90pv-RKSJ
+share/ghostscript/${PKGVERSION}/Resource/CMap/UCS2-B5pc
+share/ghostscript/${PKGVERSION}/Resource/CMap/UCS2-ETen-B5
+share/ghostscript/${PKGVERSION}/Resource/CMap/UCS2-GBK-EUC
+share/ghostscript/${PKGVERSION}/Resource/CMap/UCS2-GBpc-EUC
+share/ghostscript/${PKGVERSION}/Resource/CMap/UCS2-KSCms-UHC
+share/ghostscript/${PKGVERSION}/Resource/CMap/UCS2-KSCpc-EUC
+share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UCS2-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UCS2-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UCS2-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UCS2-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/UniHojo-UCS2-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UCS2-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UCS2-HW-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UCS2-HW-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UCS2-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UCS2-H
+share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UCS2-V
+share/ghostscript/${PKGVERSION}/Resource/CMap/V
+share/ghostscript/${PKGVERSION}/Resource/CMap/WP-Symbol
+share/ghostscript/${PKGVERSION}/Resource/ColorSpace/DefaultCMYK
+share/ghostscript/${PKGVERSION}/Resource/ColorSpace/DefaultGray
+share/ghostscript/${PKGVERSION}/Resource/ColorSpace/DefaultRGB
+share/ghostscript/${PKGVERSION}/Resource/ColorSpace/TrivialCMYK
+share/ghostscript/${PKGVERSION}/Resource/Decoding/Latin1
+share/ghostscript/${PKGVERSION}/Resource/Decoding/StandardEncoding
+share/ghostscript/${PKGVERSION}/Resource/Decoding/Unicode
+share/ghostscript/${PKGVERSION}/lib/FAPIcidfmap
+share/ghostscript/${PKGVERSION}/lib/FAPIconfig
+share/ghostscript/${PKGVERSION}/lib/FAPIfontmap
+share/ghostscript/${PKGVERSION}/lib/Fontmap
+share/ghostscript/${PKGVERSION}/lib/Fontmap.GS
+share/ghostscript/${PKGVERSION}/lib/acctest.ps
+share/ghostscript/${PKGVERSION}/lib/addxchar.ps
+share/ghostscript/${PKGVERSION}/lib/align.ps
+share/ghostscript/${PKGVERSION}/lib/bdftops.ps
+share/ghostscript/${PKGVERSION}/lib/bj8.rpd
+share/ghostscript/${PKGVERSION}/lib/bj8gc12f.upp
+share/ghostscript/${PKGVERSION}/lib/bj8hg12f.upp
+share/ghostscript/${PKGVERSION}/lib/bj8oh06n.upp
+share/ghostscript/${PKGVERSION}/lib/bj8pa06n.upp
+share/ghostscript/${PKGVERSION}/lib/bj8pp12f.upp
+share/ghostscript/${PKGVERSION}/lib/bj8ts06n.upp
+share/ghostscript/${PKGVERSION}/lib/bjc610a0.upp
+share/ghostscript/${PKGVERSION}/lib/bjc610a1.upp
+share/ghostscript/${PKGVERSION}/lib/bjc610a2.upp
+share/ghostscript/${PKGVERSION}/lib/bjc610a3.upp
+share/ghostscript/${PKGVERSION}/lib/bjc610a4.upp
+share/ghostscript/${PKGVERSION}/lib/bjc610a5.upp
+share/ghostscript/${PKGVERSION}/lib/bjc610a6.upp
+share/ghostscript/${PKGVERSION}/lib/bjc610a7.upp
+share/ghostscript/${PKGVERSION}/lib/bjc610a8.upp
+share/ghostscript/${PKGVERSION}/lib/bjc610b1.upp
+share/ghostscript/${PKGVERSION}/lib/bjc610b2.upp
+share/ghostscript/${PKGVERSION}/lib/bjc610b3.upp
+share/ghostscript/${PKGVERSION}/lib/bjc610b4.upp
+share/ghostscript/${PKGVERSION}/lib/bjc610b6.upp
+share/ghostscript/${PKGVERSION}/lib/bjc610b7.upp
+share/ghostscript/${PKGVERSION}/lib/bjc610b8.upp
+share/ghostscript/${PKGVERSION}/lib/caption.ps
+share/ghostscript/${PKGVERSION}/lib/cbjc600.ppd
+share/ghostscript/${PKGVERSION}/lib/cbjc800.ppd
+share/ghostscript/${PKGVERSION}/lib/cdj550.upp
+share/ghostscript/${PKGVERSION}/lib/cdj690.upp
+share/ghostscript/${PKGVERSION}/lib/cdj690ec.upp
+share/ghostscript/${PKGVERSION}/lib/cid2code.ps
+share/ghostscript/${PKGVERSION}/lib/cidfmap
+share/ghostscript/${PKGVERSION}/lib/decrypt.ps
+share/ghostscript/${PKGVERSION}/lib/dnj750c.upp
+share/ghostscript/${PKGVERSION}/lib/dnj750m.upp
+share/ghostscript/${PKGVERSION}/lib/docie.ps
+share/ghostscript/${PKGVERSION}/lib/dumphint.ps
+share/ghostscript/${PKGVERSION}/lib/errpage.ps
+share/ghostscript/${PKGVERSION}/lib/font2c.ps
+share/ghostscript/${PKGVERSION}/lib/font2pcl.ps
+share/ghostscript/${PKGVERSION}/lib/ghostpdf.ppd
+share/ghostscript/${PKGVERSION}/lib/gs_agl.ps
+share/ghostscript/${PKGVERSION}/lib/gs_btokn.ps
+share/ghostscript/${PKGVERSION}/lib/gs_ccfnt.ps
+share/ghostscript/${PKGVERSION}/lib/gs_ce_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_cff.ps
+share/ghostscript/${PKGVERSION}/lib/gs_cidcm.ps
+share/ghostscript/${PKGVERSION}/lib/gs_ciddc.ps
+share/ghostscript/${PKGVERSION}/lib/gs_cidfm.ps
+share/ghostscript/${PKGVERSION}/lib/gs_cidfn.ps
+share/ghostscript/${PKGVERSION}/lib/gs_cidtt.ps
+share/ghostscript/${PKGVERSION}/lib/gs_ciecs2.ps
+share/ghostscript/${PKGVERSION}/lib/gs_ciecs3.ps
+share/ghostscript/${PKGVERSION}/lib/gs_cmap.ps
+share/ghostscript/${PKGVERSION}/lib/gs_cmdl.ps
+share/ghostscript/${PKGVERSION}/lib/gs_cspace.ps
+share/ghostscript/${PKGVERSION}/lib/gs_css_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_dbt_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_devcs.ps
+share/ghostscript/${PKGVERSION}/lib/gs_devn.ps
+share/ghostscript/${PKGVERSION}/lib/gs_devpxl.ps
+share/ghostscript/${PKGVERSION}/lib/gs_diskf.ps
+share/ghostscript/${PKGVERSION}/lib/gs_diskn.ps
+share/ghostscript/${PKGVERSION}/lib/gs_dpnxt.ps
+share/ghostscript/${PKGVERSION}/lib/gs_dps.ps
+share/ghostscript/${PKGVERSION}/lib/gs_dps1.ps
+share/ghostscript/${PKGVERSION}/lib/gs_dps2.ps
+share/ghostscript/${PKGVERSION}/lib/gs_dscp.ps
+share/ghostscript/${PKGVERSION}/lib/gs_epsf.ps
+share/ghostscript/${PKGVERSION}/lib/gs_fapi.ps
+share/ghostscript/${PKGVERSION}/lib/gs_fform.ps
+share/ghostscript/${PKGVERSION}/lib/gs_fntem.ps
+share/ghostscript/${PKGVERSION}/lib/gs_fonts.ps
+share/ghostscript/${PKGVERSION}/lib/gs_frsd.ps
+share/ghostscript/${PKGVERSION}/lib/gs_icc.ps
+share/ghostscript/${PKGVERSION}/lib/gs_il1_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_il2_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_img.ps
+share/ghostscript/${PKGVERSION}/lib/gs_indxd.ps
+share/ghostscript/${PKGVERSION}/lib/gs_init.ps
+share/ghostscript/${PKGVERSION}/lib/gs_kanji.ps
+share/ghostscript/${PKGVERSION}/lib/gs_ksb_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_l.xbm
+share/ghostscript/${PKGVERSION}/lib/gs_l.xpm
+share/ghostscript/${PKGVERSION}/lib/gs_l2img.ps
+share/ghostscript/${PKGVERSION}/lib/gs_l_m.xbm
+share/ghostscript/${PKGVERSION}/lib/gs_lev2.ps
+share/ghostscript/${PKGVERSION}/lib/gs_lgo_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_lgx_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_ll3.ps
+share/ghostscript/${PKGVERSION}/lib/gs_m.xbm
+share/ghostscript/${PKGVERSION}/lib/gs_m.xpm
+share/ghostscript/${PKGVERSION}/lib/gs_m_m.xbm
+share/ghostscript/${PKGVERSION}/lib/gs_mex_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_mgl_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_mro_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_patrn.ps
+share/ghostscript/${PKGVERSION}/lib/gs_pdf_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_pdfwr.ps
+share/ghostscript/${PKGVERSION}/lib/gs_pfile.ps
+share/ghostscript/${PKGVERSION}/lib/gs_rdlin.ps
+share/ghostscript/${PKGVERSION}/lib/gs_res.ps
+share/ghostscript/${PKGVERSION}/lib/gs_resmp.ps
+share/ghostscript/${PKGVERSION}/lib/gs_resst.ps
+share/ghostscript/${PKGVERSION}/lib/gs_s.xbm
+share/ghostscript/${PKGVERSION}/lib/gs_s.xpm
+share/ghostscript/${PKGVERSION}/lib/gs_s_m.xbm
+share/ghostscript/${PKGVERSION}/lib/gs_sepr.ps
+share/ghostscript/${PKGVERSION}/lib/gs_setpd.ps
+share/ghostscript/${PKGVERSION}/lib/gs_statd.ps
+share/ghostscript/${PKGVERSION}/lib/gs_std_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_stres.ps
+share/ghostscript/${PKGVERSION}/lib/gs_sym_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_t.xbm
+share/ghostscript/${PKGVERSION}/lib/gs_t.xpm
+share/ghostscript/${PKGVERSION}/lib/gs_t_m.xbm
+share/ghostscript/${PKGVERSION}/lib/gs_trap.ps
+share/ghostscript/${PKGVERSION}/lib/gs_ttf.ps
+share/ghostscript/${PKGVERSION}/lib/gs_typ32.ps
+share/ghostscript/${PKGVERSION}/lib/gs_typ42.ps
+share/ghostscript/${PKGVERSION}/lib/gs_type1.ps
+share/ghostscript/${PKGVERSION}/lib/gs_wan_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_wl1_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_wl2_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_wl5_e.ps
+share/ghostscript/${PKGVERSION}/lib/gslp.ps
+share/ghostscript/${PKGVERSION}/lib/gsnup.ps
+share/ghostscript/${PKGVERSION}/lib/ht_ccsto.ps
+share/ghostscript/${PKGVERSION}/lib/image-qa.ps
+share/ghostscript/${PKGVERSION}/lib/impath.ps
+share/ghostscript/${PKGVERSION}/lib/jispaper.ps
+share/ghostscript/${PKGVERSION}/lib/landscap.ps
+share/ghostscript/${PKGVERSION}/lib/level1.ps
+share/ghostscript/${PKGVERSION}/lib/lines.ps
+share/ghostscript/${PKGVERSION}/lib/markhint.ps
+share/ghostscript/${PKGVERSION}/lib/markpath.ps
+share/ghostscript/${PKGVERSION}/lib/necp2x.upp
+share/ghostscript/${PKGVERSION}/lib/necp2x6.upp
+share/ghostscript/${PKGVERSION}/lib/packfile.ps
+share/ghostscript/${PKGVERSION}/lib/pcharstr.ps
+share/ghostscript/${PKGVERSION}/lib/pdf2dsc.ps
+share/ghostscript/${PKGVERSION}/lib/pdf_base.ps
+share/ghostscript/${PKGVERSION}/lib/pdf_draw.ps
+share/ghostscript/${PKGVERSION}/lib/pdf_font.ps
+share/ghostscript/${PKGVERSION}/lib/pdf_main.ps
+share/ghostscript/${PKGVERSION}/lib/pdf_ops.ps
+share/ghostscript/${PKGVERSION}/lib/pdf_rbld.ps
+share/ghostscript/${PKGVERSION}/lib/pdf_sec.ps
+share/ghostscript/${PKGVERSION}/lib/pdfopt.ps
+share/ghostscript/${PKGVERSION}/lib/pdfwrite.ps
+share/ghostscript/${PKGVERSION}/lib/pf2afm.ps
+share/ghostscript/${PKGVERSION}/lib/pfbtopfa.ps
+share/ghostscript/${PKGVERSION}/lib/ppath.ps
+share/ghostscript/${PKGVERSION}/lib/prfont.ps
+share/ghostscript/${PKGVERSION}/lib/printafm.ps
+share/ghostscript/${PKGVERSION}/lib/ps2ai.ps
+share/ghostscript/${PKGVERSION}/lib/ps2ascii.ps
+share/ghostscript/${PKGVERSION}/lib/ps2epsi.ps
+share/ghostscript/${PKGVERSION}/lib/quit.ps
+share/ghostscript/${PKGVERSION}/lib/ras1.upp
+share/ghostscript/${PKGVERSION}/lib/ras24.upp
+share/ghostscript/${PKGVERSION}/lib/ras3.upp
+share/ghostscript/${PKGVERSION}/lib/ras32.upp
+share/ghostscript/${PKGVERSION}/lib/ras4.upp
+share/ghostscript/${PKGVERSION}/lib/ras8m.upp
+share/ghostscript/${PKGVERSION}/lib/rollconv.ps
+share/ghostscript/${PKGVERSION}/lib/showchar.ps
+share/ghostscript/${PKGVERSION}/lib/showpage.ps
+share/ghostscript/${PKGVERSION}/lib/st640ih.upp
+share/ghostscript/${PKGVERSION}/lib/st640ihg.upp
+share/ghostscript/${PKGVERSION}/lib/st640p.upp
+share/ghostscript/${PKGVERSION}/lib/st640pg.upp
+share/ghostscript/${PKGVERSION}/lib/st640pl.upp
+share/ghostscript/${PKGVERSION}/lib/st640plg.upp
+share/ghostscript/${PKGVERSION}/lib/stc.upp
+share/ghostscript/${PKGVERSION}/lib/stc1520h.upp
+share/ghostscript/${PKGVERSION}/lib/stc2.upp
+share/ghostscript/${PKGVERSION}/lib/stc200_h.upp
+share/ghostscript/${PKGVERSION}/lib/stc2_h.upp
+share/ghostscript/${PKGVERSION}/lib/stc2s_h.upp
+share/ghostscript/${PKGVERSION}/lib/stc300.upp
+share/ghostscript/${PKGVERSION}/lib/stc300bl.upp
+share/ghostscript/${PKGVERSION}/lib/stc300bm.upp
+share/ghostscript/${PKGVERSION}/lib/stc500p.upp
+share/ghostscript/${PKGVERSION}/lib/stc500ph.upp
+share/ghostscript/${PKGVERSION}/lib/stc600ih.upp
+share/ghostscript/${PKGVERSION}/lib/stc600p.upp
+share/ghostscript/${PKGVERSION}/lib/stc600pl.upp
+share/ghostscript/${PKGVERSION}/lib/stc640p.upp
+share/ghostscript/${PKGVERSION}/lib/stc800ih.upp
+share/ghostscript/${PKGVERSION}/lib/stc800p.upp
+share/ghostscript/${PKGVERSION}/lib/stc800pl.upp
+share/ghostscript/${PKGVERSION}/lib/stc_h.upp
+share/ghostscript/${PKGVERSION}/lib/stc_l.upp
+share/ghostscript/${PKGVERSION}/lib/stcany.upp
+share/ghostscript/${PKGVERSION}/lib/stcany_h.upp
+share/ghostscript/${PKGVERSION}/lib/stcinfo.ps
+share/ghostscript/${PKGVERSION}/lib/stcolor.ps
+share/ghostscript/${PKGVERSION}/lib/stocht.ps
+share/ghostscript/${PKGVERSION}/lib/traceimg.ps
+share/ghostscript/${PKGVERSION}/lib/traceop.ps
+share/ghostscript/${PKGVERSION}/lib/type1enc.ps
+share/ghostscript/${PKGVERSION}/lib/type1ops.ps
+share/ghostscript/${PKGVERSION}/lib/uninfo.ps
+share/ghostscript/${PKGVERSION}/lib/unprot.ps
+share/ghostscript/${PKGVERSION}/lib/viewcmyk.ps
+share/ghostscript/${PKGVERSION}/lib/viewgif.ps
+share/ghostscript/${PKGVERSION}/lib/viewjpeg.ps
+share/ghostscript/${PKGVERSION}/lib/viewmiff.ps
+share/ghostscript/${PKGVERSION}/lib/viewpbm.ps
+share/ghostscript/${PKGVERSION}/lib/viewpcx.ps
+share/ghostscript/${PKGVERSION}/lib/viewps2a.ps
+share/ghostscript/${PKGVERSION}/lib/wftopfa.ps
+share/ghostscript/${PKGVERSION}/lib/winmaps.ps
+share/ghostscript/${PKGVERSION}/lib/wrfont.ps
+share/ghostscript/${PKGVERSION}/lib/xlatmap
+share/ghostscript/${PKGVERSION}/lib/zeroline.ps
+@dirrm share/ghostscript/${PKGVERSION}/lib
+@dirrm share/ghostscript/${PKGVERSION}/Resource/Decoding
+@dirrm share/ghostscript/${PKGVERSION}/Resource/ColorSpace
+@dirrm share/ghostscript/${PKGVERSION}/Resource/CMap
+@dirrm share/ghostscript/${PKGVERSION}/Resource
+@dirrm share/ghostscript/${PKGVERSION}
+@dirrm share/examples/ghostscript
+@dirrm share/doc/html/ghostscript
diff --git a/print/ghostscript-afpl/distinfo b/print/ghostscript-afpl/distinfo
new file mode 100644
index 00000000000..279eb1c4cd2
--- /dev/null
+++ b/print/ghostscript-afpl/distinfo
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/08/12 19:20:20 drochner Exp $
+
+SHA1 (ghostscript-8.51.tar.bz2) = 2230c8cc565ab2fbff669ae4118937b07727cad6
+RMD160 (ghostscript-8.51.tar.bz2) = 2e4e4e72d00ce84914910136dafa702fa28d8174
+Size (ghostscript-8.51.tar.bz2) = 8377372 bytes
+SHA1 (jpegsrc.v6b.tar.gz) = 7079f0d6c42fad0cfba382cf6ad322add1ace8f9
+RMD160 (jpegsrc.v6b.tar.gz) = 18892206014fbb8cae2a44e281f4ed53feaf7882
+Size (jpegsrc.v6b.tar.gz) = 613261 bytes
+SHA1 (patch-aa) = f9d706b19430c32f568316c0b02eee792e311236
+SHA1 (patch-ab) = ee1cad8503700d088e2a4dcf4c3d14237cb84b0e
diff --git a/print/ghostscript-afpl/patches/patch-aa b/print/ghostscript-afpl/patches/patch-aa
new file mode 100644
index 00000000000..f4f917dbea4
--- /dev/null
+++ b/print/ghostscript-afpl/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/08/12 19:20:20 drochner Exp $
+
+--- src/Makefile.in.orig Fri Apr 19 15:23:09 2002
++++ src/Makefile.in
+@@ -63,8 +63,8 @@ datadir = @datadir@
+ gsdir = $(datadir)/ghostscript
+ gsdatadir = $(gsdir)/$(GS_DOT_VERSION)
+
+-docdir=$(gsdatadir)/doc
+-exdir=$(gsdatadir)/examples
++docdir=$(datadir)/doc/html/ghostscript
++exdir=$(datadir)/examples/ghostscript
+ GS_DOCDIR=$(docdir)
+
+ # Define the default directory/ies for the runtime
diff --git a/print/ghostscript-afpl/patches/patch-ab b/print/ghostscript-afpl/patches/patch-ab
new file mode 100644
index 00000000000..3d1c77fd0bc
--- /dev/null
+++ b/print/ghostscript-afpl/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/08/12 19:20:20 drochner Exp $
+
+--- src/unixinst.mak.orig Thu Apr 18 18:10:40 2002
++++ src/unixinst.mak
+@@ -133,7 +133,7 @@ install-man: $(PSMANDIR)/gs.1
+ ln -s ps2pdf.$(man1ext) $$f.$(man1ext) ) ;\
+ done ;\
+ fi ;\
+- if ( test -f $$man1dir/ps2ps.$(man1ext) ) ;\
++ if ( test -f $$man1dir/gslp.$(man1ext) ) ;\
+ then for f in $(MAN1_LINKS_GSLP) ;\
+ do ( cd $$man1dir; rm -f $$f.$(man1ext) ;\
+ ln -s gslp.$(man1ext) $$f.$(man1ext) ) ;\