aboutsummaryrefslogtreecommitdiffstats
path: root/print/ghostscript9
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2011-05-24 04:58:46 +0800
committerhrs <hrs@FreeBSD.org>2011-05-24 04:58:46 +0800
commit954cb2d2893269a0712ad09bea2e68a97f54c578 (patch)
treed9054b395a2ecab68b02aa60ae3b8c9412cacfff /print/ghostscript9
parent94af30a511722c8589b4d68e83174c29de5b5d87 (diff)
downloadfreebsd-ports-gnome-954cb2d2893269a0712ad09bea2e68a97f54c578.tar.gz
freebsd-ports-gnome-954cb2d2893269a0712ad09bea2e68a97f54c578.tar.zst
freebsd-ports-gnome-954cb2d2893269a0712ad09bea2e68a97f54c578.zip
Add print/ghostscript9, an interpreter of PostScript and PDF page
description languages. Changes from 8.x series include: - This release includes a move to an ICC-based color rendering workflow. The design allows easy integration of 3rd party color management modules (CMMs) and management of DeviceN and spot source colors with ICC profiles as well as with non-ICC proprietary methods. The default CMM is the well known littleCMS. Postscript color objects and non-ICC CIE-based PDF color spaces are converted to equivalent ICC profiles enabling complete color management for all color spaces by an ICC-based CMM. New command line options enable the specification of gray, rgb and cmyk default ICC profiles as well as output device ICC profiles. The new work flow provides performance improvements in the rendering of images, shadings and transparencies. In addition, the color conversions are designed to work efficiently in multithreaded display list (c-list) rendering through the use of a shared link cache. Finally, proper ICC based rendering now occurs for ALL XPS objects including Named colors, N-Channel colors and images with internally embedded ICC profiles. - The second major change in this release is that glyph rendering for all font types except Type 3 is now handled by Freetype (via a much improved and enhanced Font API). The most obvious benefit of this is a complete, and proven implementation of the TrueType byte code interpreter (now unencumbered by patents). - Another major change is that the Postscript interpreter's graphics state now stores two separate colour space settings for stroking and filling, to better support the stroke and fill colours required by the PDF interpreter. - Support for optional content has been added to the PDF interpreter. - This release also includes a number of improvements to the pdfwrite device to improve reliability and quality with PCL and XPS input. Many improvements to the support of JPX images in PDF files, PDF annotation rendering and the usual number of general bug and robustness fixes. - For security reasons, Ghostscript no longer searches the current directory by default. Use -P option to revert to old behavior. - For monochrome devices, there is a new halftone technique for sampled image data. The existing technique is very efficient (and is is still used) for large areas of color, such as an area fill, but encountered performance problems dealing with sampled image data where a given colour value only covered a few pixels at a time. The new approach applies the halftone threshold array directly to the image samples. - A new, robust CFF parser implemented in C (replacing the previous Poscript one) - tiffscaled device - this renders internally as tiffgray, but then downsamples by an integer scale factor (specified by -dDownScaleFactor=n) and error diffuses to 1bpp output. The tiffscaled device also implements limited minimum feature size functionality; by setting -dMinFeatureSize to 1, 2 or 3, the device output is guaranteed to generate minimum dot sizes as multiples of the final resolution, useful for devices that offer finer position control than dot size control. - Add DSC compatible output in ps2write.
Diffstat (limited to 'print/ghostscript9')
-rw-r--r--print/ghostscript9/Makefile211
-rw-r--r--print/ghostscript9/Makefile.drivers324
-rw-r--r--print/ghostscript9/distinfo4
-rw-r--r--print/ghostscript9/files/Makefile.dmprt9
-rw-r--r--print/ghostscript9/files/Makefile.drivers_post238
-rw-r--r--print/ghostscript9/files/Makefile.epag23
-rw-r--r--print/ghostscript9/files/Makefile.pcl337
-rw-r--r--print/ghostscript9/files/epag.contrib.mak8
-rw-r--r--print/ghostscript9/files/lqx70ch.upp26
-rw-r--r--print/ghostscript9/files/lqx70cl.upp26
-rw-r--r--print/ghostscript9/files/lqx70cm.upp25
-rw-r--r--print/ghostscript9/files/patch-Resource-Init-FAPIcidfmap62
-rw-r--r--print/ghostscript9/files/patch-Resource-Init-FAPIconfig10
-rw-r--r--print/ghostscript9/files/patch-Resource-Init-cidfmap67
-rw-r--r--print/ghostscript9/files/patch-Resource-Init-gs_statd.ps15
-rw-r--r--print/ghostscript9/files/patch-Resource-Init-gs_ttf.ps28
-rw-r--r--print/ghostscript9/files/patch-Resource-Init-pdf_font.ps15
-rw-r--r--print/ghostscript9/files/patch-base-Makefile.in131
-rw-r--r--print/ghostscript9/files/patch-base-contrib.mak8
-rw-r--r--print/ghostscript9/files/patch-base-devs.mak24
-rw-r--r--print/ghostscript9/files/patch-base-errors.h10
-rw-r--r--print/ghostscript9/files/patch-base-gdevperm.c11
-rw-r--r--print/ghostscript9/files/patch-base-gs.mak11
-rw-r--r--print/ghostscript9/files/patch-base-gsicc_create.c17
-rw-r--r--print/ghostscript9/files/patch-base-gxobj.h18
-rw-r--r--print/ghostscript9/files/patch-base-unix-gcc.mak209
-rw-r--r--print/ghostscript9/files/patch-base-unixinst.mak11
-rw-r--r--print/ghostscript9/files/patch-contrib__japanese__dmp_site.ps11
-rw-r--r--print/ghostscript9/files/patch-contrib__japanese__gdevdmpr.c44
-rw-r--r--print/ghostscript9/files/patch-epag__gdevepag.c217
-rw-r--r--print/ghostscript9/files/patch-lips:gdevlips.c18
-rw-r--r--print/ghostscript9/files/patch-lips:gdevlips.h17
-rw-r--r--print/ghostscript9/files/patch-psi-zicc.c12
-rw-r--r--print/ghostscript9/files/pkg-message.in7
-rw-r--r--print/ghostscript9/pkg-descr22
-rw-r--r--print/ghostscript9/pkg-plist696
36 files changed, 2622 insertions, 0 deletions
diff --git a/print/ghostscript9/Makefile b/print/ghostscript9/Makefile
new file mode 100644
index 000000000000..054ffbffb836
--- /dev/null
+++ b/print/ghostscript9/Makefile
@@ -0,0 +1,211 @@
+# New ports collection makefile for: ghostscript9
+# Date created: 17 May, 2011
+# Whom: hrs
+#
+# $FreeBSD$
+#
+
+PORTNAME= ghostscript9
+PORTVERSION= 9.02
+CATEGORIES= print
+MASTER_SITES= http://ghostscript.com/releases/:gs_srcs \
+ SF/ghostscript/files/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \
+ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/:gs_srcs \
+ http://www.humblesoft.com/pub/:epag
+MASTER_SITE_SUBDIR= ghostscript/:gs_srcs
+DISTNAME= ${PORTNAME:S,9$,,}-${PORTVERSION}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs ${EPAG_SRCS}:epag
+DIST_SUBDIR= ${PORTNAME:S,9$,,}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+EXTRACT_AFTER_ARGS= | ${TAR} -xpf - ${EXCLUDE_DIRS:S/^/--exclude /}
+
+MAINTAINER= doceng@FreeBSD.org
+COMMENT= Ghostscript 9.x PostScript interpreter
+
+LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 \
+ jasper:${PORTSDIR}/graphics/jasper \
+ jbig2dec:${PORTSDIR}/graphics/jbig2dec \
+ jpeg:${PORTSDIR}/graphics/jpeg \
+ png:${PORTSDIR}/graphics/png \
+ tiff:${PORTSDIR}/graphics/tiff
+
+# XXX: lcms shared lib support is broken
+# lcms:${PORTSDIR}/graphics/lcms
+
+RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME:S,9,,}/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts
+
+CONFLICTS_INSTALL= gambc-[0-9]* ghostscript[78]-[0-9]* \
+ ghostscript[78]-*-[0-9]*
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+WANT_GNOME= yes
+USE_LDCONFIG= yes
+USE_AUTOTOOLS= autoconf
+GNU_CONFIGURE= yes
+MAKE_JOBS_UNSAFE= yes
+
+MAKE_ENV= CFLAGS_STANDARD="${CFLAGS} -g" \
+ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \
+ EXTRALIBS="${EXTRALIBS}" \
+ SOC_LOADER="dxmainc.c"
+CONFIGURE_ENV= ${MAKE_ENV} CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --disable-compile-inits \
+ --enable-contrib \
+ --enable-dynamic \
+ --with-ijs \
+ --with-jasper \
+ --with-drivers=""
+CPPFLAGS= -DUPD_SIGNAL=0 -I. \
+ -I${WRKSRC}/lcms/include \
+ -I${WRKSRC}/jasper/src/libjasper/include \
+ -I${LOCALBASE}/include/libpng \
+ -I${LOCALBASE}/include
+XCFLAGS= ${PTHREAD_CFLAGS}
+XLDFLAGS= ${PTHREAD_LIBS}
+
+PLIST_SUB= GS_VERSION="${PORTVERSION}" \
+ CIDFONTDIR="${CIDFONTDIR:S,^${PREFIX}/,,}"
+SUB_FILES= pkg-message
+SUB_LIST= DATADIR=${DATADIR} PORTVERSION=${PORTVERSION}
+PKGMESSAGE= ${WRKDIR}/pkg-message
+DATADIR= ${PREFIX}/share/${PORTNAME:S,9$,,}
+
+OPTIONS= A4SIZE "Set A4 (not Letter) as a default paper size" off \
+ CUPS "Enable CUPS support" on \
+ FONTCONFIG "fontconfig support" on \
+ GTK "GTK frontend" off \
+ X11 "X11 support" on
+
+MAN1= dvipdf.1 font2c.1 gs.1 gslp.1 gsnd.1 \
+ pdf2dsc.1 pdf2ps.1 pdfopt.1 pf2afm.1 pfbtopfa.1 printafm.1 \
+ ps2ascii.1 ps2epsi.1 ps2pdf.1 ps2pdfwr.1 ps2ps.1 wftopfa.1
+MLINKS= gslp.1 gsbj.1 \
+ gslp.1 gsdj.1 \
+ gslp.1 gsdj500.1 \
+ gslp.1 gslj.1 \
+ ps2pdf.1 ps2pdf12.1 \
+ ps2pdf.1 ps2pdf13.1 \
+ ps2ps.1 eps2eps.1
+
+CIDFONTDIR= ${DATADIR}/${PORTVERSION}/Resource
+EXCLUDE_DIRS= jbig2dec jpeg expat jasper libpng tiff zlib
+
+.include "Makefile.drivers"
+.include <bsd.port.pre.mk>
+.include "${FILESDIR}/Makefile.drivers_post"
+
+.for D in ${OPTIONS:MGS_*:S/^GS_//}
+.if !defined(WITHOUT_GS_${D})
+PLIST_SUB+= GS_${D}=""
+.else
+PLIST_SUB+= GS_${D}="@comment "
+.endif
+.endfor
+
+.if !defined(WITH_LETTERSIZE)
+.if defined(A4) || defined(WITH_A4SIZE)
+XCFLAGS+= -DA4
+MSG_PAPERSIZE= "NOTE: Default paper size will be A4."
+.endif
+.endif
+
+.if !defined(WITHOUT_FONTCONFIG)
+LIB_DEPENDS+= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
+CONFIGURE_ARGS+= --enable-fontconfig
+.else
+CONFIGURE_ARGS+= --disable-fontconfig
+.endif
+
+# FT_BRIDGE=1 by default
+LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
+MAKE_ENV+= FT_BRIDGE=1 FT_ROOT="${WRKSRC}/freetype" FT_LIB_EXT=".so"
+CPPFLAGS+= -I${LOCALBASE}/include/freetype2
+
+ALL_TARGET= so
+INSTALL_TARGET= soinstall
+USE_LDCONFIG= yes
+PLIST_SUB+= SHLIB_VER="${PORTVERSION:R}"
+
+PORTDOCS= japanese chp2200 epson740 lxm3200-tweaked md2k_md5k
+PORTDOC_FILES= japanese/Gdevlips.htm japanese/README.gs550j \
+ japanese/cdj880.txt japanese/dj505j.txt japanese/djgpp.txt \
+ japanese/gdev10v.txt japanese/gdevalps.txt \
+ japanese/gdevcd8.txt japanese/gdevdmpr.txt \
+ japanese/gdevfmlbp.txt japanese/gdevj100.txt \
+ japanese/gdevlbp3.txt japanese/gdevmag.txt \
+ japanese/gdevmd2k.txt japanese/gdevmjc.txt \
+ japanese/gdevml6.txt japanese/gdevp201.txt japanese/gs261j.euc \
+ japanese/gs261j.txt chp2200/AUTHORS chp2200/INSTALL \
+ epson740/README epson740/upp-HowTo-to-be \
+ lxm3200-tweaked/LICENSE lxm3200-tweaked/README \
+ lxm3200-tweaked/RELEASE_NOTES \
+ lxm3200-tweaked/Z12-Z31-QuickSetup md2k_md5k/README.jis
+
+pre-everything::
+ @${ECHO_MSG} ${MSG_PAPERSIZE}
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g ; \
+ s|%%GS_VERSION%%|${PORTVERSION}|g' \
+ ${WRKSRC}/contrib/japanese/dmp_site.ps
+
+pre-build-drivers.mak:
+ @${ECHO_CMD} '# automatically generated' > ${WRKSRC}/base/drivers.mak
+.for N in ${DEVS_LIST}
+ @${ECHO_CMD} 'DEVICE_${N}=' >> ${WRKSRC}/base/drivers.mak
+.endfor
+.for D in ${OPTIONS:MGS_*:S/^GS_//}
+.for N in ${DEVS_LIST}
+.if defined(WITH_GS_${D})
+.for X in ${DEVICE_${N}:M${D}.dev}
+ @${ECHO_CMD} 'DEVICE_${N}+= $$(DD)${D}.dev' >> ${WRKSRC}/base/drivers.mak
+.endfor
+.endif
+.endfor
+.endfor
+
+pre-build: pre-build-drivers.mak
+ ${MKDIR} ${WRKSRC}/obj
+ ${MKDIR} ${WRKSRC}/bin
+.if defined(WITH_FT_BRIDGE)
+ ${MKDIR} ${WRKSRC}/freetype/include
+ ${LN} -s -f ${LOCALBASE}/include/ft2build.h \
+ ${WRKSRC}/freetype/include/ft2build.h
+ ${LN} -s -f ${LOCALBASE}/include/freetype2/freetype \
+ ${WRKSRC}/freetype/include/freetype
+ ${MKDIR} ${WRKSRC}/freetype/objs
+ ${LN} -s -f ${LOCALBASE}/lib/libfreetype.so \
+ ${WRKSRC}/freetype/objs/freetype214MT_D.so
+.endif
+
+pre-install:
+ cd ${WRKSRC}/Resource/Init && ${RM} -f \
+ gs_statd.ps.orig gs_ttf.ps.orig pdf_font.ps.orig
+
+pre-su-install:
+ ${MKDIR} ${DATADIR}
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
+
+post-install-docs:
+ ${MKDIR} ${WRKSRC}/contrib/japanese
+ ${INSTALL_DATA} ${WRKSRC}/contrib/japanese/doc/* ${WRKSRC}/contrib/japanese
+ ${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC}/contrib && \
+ ${TAR} -cf - ${PORTDOC_FILES} | \
+ ( cd ${DOCSDIR} && ${TAR} -xof - )
+
+post-install:
+ ${STRIP_CMD} ${PREFIX}/bin/gsc ${PREFIX}/bin/gsx
+ ${LN} -sf gsc ${PREFIX}/bin/gs
+ ${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont ${CIDFONTDIR}/CIDFont
+ @${ECHO_MSG}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
+
+.if !defined(NOPORTDOCS)
+post-install: post-install-docs
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/print/ghostscript9/Makefile.drivers b/print/ghostscript9/Makefile.drivers
new file mode 100644
index 000000000000..9e7975906316
--- /dev/null
+++ b/print/ghostscript9/Makefile.drivers
@@ -0,0 +1,324 @@
+# $FreeBSD: /tmp/pcvs/ports/print/ghostscript9/Makefile.drivers,v 1.1 2011-05-23 20:58:46 hrs Exp $
+
+OPTIONS_GS_DEFAULT_ON= on
+OPTIONS_GS_DEFAULT_OFF= off
+
+OPTIONS_X11= \
+GS_x11 "D: X Window System version 11" ${OPTIONS_X11_DEFAULT} \
+GS_x11alpha "D: X Window System masquer. alpha capability" ${OPTIONS_X11_DEFAULT} \
+GS_x11cmyk "D: X Window System masquer. 1bit/plane CMYK" ${OPTIONS_X11_DEFAULT} \
+GS_x11cmyk2 "D: X Window System 2-bit-per-plane CMYK" ${OPTIONS_X11_DEFAULT} \
+GS_x11cmyk4 "D: X Window System 4-bit-per-plane CMYK" ${OPTIONS_X11_DEFAULT} \
+GS_x11cmyk8 "D: X Window System 8-bit-per-plane CMYK" ${OPTIONS_X11_DEFAULT} \
+GS_x11gray2 "D: X Window System 2-bit gray-scale" ${OPTIONS_X11_DEFAULT} \
+GS_x11gray4 "D: X Window System 4-bit gray-scale" ${OPTIONS_X11_DEFAULT} \
+GS_x11mono "D: X Window System masquer. black-and-white" ${OPTIONS_X11_DEFAULT} \
+GS_x11rg16x "D: X Window System G5/B5/R6 pixel layout" ${OPTIONS_X11_DEFAULT} \
+GS_x11rg32x "D: X Window System G11/B10/R11 pixel layout" ${OPTIONS_X11_DEFAULT}
+
+OPTIONS_SVGALIB= \
+GS_lvga256 "D: SVGAlib, 256-color VGA modes" ${OPTIONS_SVGALIB_DEFAULT} \
+GS_vgalib "D: SVGAlib, 16-color VGA modes" ${OPTIONS_SVGALIB_DEFAULT}
+
+OPTIONS_ICONV= \
+GS_oprp "D: OpenPrinting Raster driver interface" ${OPTIONS_ICONV_DEFAULT} \
+GS_opvp "D: OpenPrinting Vecter driver interface" ${OPTIONS_ICONV_DEFAULT}
+
+OPTIONS_CAIRO= \
+GS_cairo "D: cairo driver for PDF, SVG, EPS or PNG files" ${OPTIONS_CAIRO_DEFAULT}
+
+OPTIONS_CUPS= \
+GS_cups "D: CUPS driver" ${OPTIONS_CUPS_DEFAULT}
+
+OPTIONS+= ${OPTIONS_X11}
+OPTIONS+= ${OPTIONS_SVGALIB}
+OPTIONS+= ${OPTIONS_CAIRO}
+OPTIONS+= ${OPTIONS_ICONV}
+OPTIONS+= ${OPTIONS_CUPS}
+
+OPTIONS+= \
+GS_display "D: display device for GS shared library" ${OPTIONS_GS_DEFAULT_ON} \
+GS_omni "D: Omni driver" ${OPTIONS_GS_DEFAULT_ON} \
+GS_md2k "D: ALPS MD-2000/2010/4000/1300/1500/5000" ${OPTIONS_GS_DEFAULT_ON} \
+GS_md5k "D: ALPS MD-5000 Eco Mode" ${OPTIONS_GS_DEFAULT_ON} \
+GS_md50Mono "D: ALPS MD-5000 Monochrome" ${OPTIONS_GS_DEFAULT_ON} \
+GS_md50Eco "D: ALPS MD-5000 Eco Mode" ${OPTIONS_GS_DEFAULT_ON} \
+GS_md1xMono "D: ALPS MD-1x00 Monochrome" ${OPTIONS_GS_DEFAULT_ON} \
+GS_appledmp "D: Apple Dot Matrix Printer/Imagewriter" ${OPTIONS_GS_DEFAULT_ON} \
+GS_iwhi "D: Apple Imagewriter, high-resolution mode" ${OPTIONS_GS_DEFAULT_ON} \
+GS_iwlo "D: Apple Imagewriter, low-resolution mode" ${OPTIONS_GS_DEFAULT_ON} \
+GS_iwlq "D: Apple Imagewriter LQ in 320x216dpi mode" ${OPTIONS_GS_DEFAULT_ON} \
+GS_hl7x0 "D: Brother HL-720/730/760(=PCL), MFC6550MC" ${OPTIONS_GS_DEFAULT_ON} \
+GS_hl1240 "D: Brother HL-1030/1240" ${OPTIONS_GS_DEFAULT_ON} \
+GS_hl1250 "D: Brother HL-1050/1070/1250/1270N" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bj10e "D: Canon BJ-10e" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bj10v "D: Canon BJ-10v" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bj10vh "D: Canon BJ-10v, high-mergin" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bj200 "D: Canon BJ-200/BJC-240(mono)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bjc600 "D: Canon BJC-600/4xxx/70, StyleWriter 2x00" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bjc800 "D: Canon BJC-240/800" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bjccmyk "D: Canon BJC-210/240/250/265/1000" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bjccolor "D: Canon BJC-210/240/250/265/1000 truecolor" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bjcgray "D: Canon BJC-210/240/250/265/1000 grayscale" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bjcmono "D: Canon BJC-210/240/250/265/1000 monochrome" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lbp8 "D: Canon LBP-8II" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lbp310 "D: Canon LBP-310" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lbp320 "D: Canon LBP-320 Pro/LBP-350" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lips2p "D: Canon LIPS II+" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lips3 "D: Canon LIPS III" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lips4 "D: Canon LIPS IV" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bjc880j "D: Canon LIPS IVc, BJC-680J/880J" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lips4v "D: Canon LIPS IV, vector output mode" ${OPTIONS_GS_DEFAULT_ON} \
+GS_m8510 "D: C.Itoh M8510 printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_coslw2p "D: CoStar LabelWriter II II/Plus" ${OPTIONS_GS_DEFAULT_ON} \
+GS_coslwxl "D: CoStar LabelWriter XL" ${OPTIONS_GS_DEFAULT_ON} \
+GS_uniprint "D: Configurable ESC/P,ESC/P2,HP-RTL/PCL,P2X" ${OPTIONS_GS_DEFAULT_ON} \
+GS_dmprt "D: Configurable dot matrix printer driver" ${OPTIONS_GS_DEFAULT_ON} \
+GS_dl2100 "D: DEC DL2100" ${OPTIONS_GS_DEFAULT_ON} \
+GS_la50 "D: DEC LA50" ${OPTIONS_GS_DEFAULT_ON} \
+GS_la70 "D: DEC LA70" ${OPTIONS_GS_DEFAULT_ON} \
+GS_la75 "D: DEC LA75" ${OPTIONS_GS_DEFAULT_ON} \
+GS_la75plus "D: DEC LA75+" ${OPTIONS_GS_DEFAULT_ON} \
+GS_ln03 "D: DEC LN03" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lj250 "D: DEC LJ250 Companion color printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_declj250 "D: DEC LJ250 driver (alternate)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_ap3250 "D: Epson ActionPrinter 3250" ${OPTIONS_GS_DEFAULT_ON} \
+GS_epson "D: Epson dot matrix, 9/24-pin" ${OPTIONS_GS_DEFAULT_ON} \
+GS_eps9mid "D: Epson 9-pin, interleaved lines, medium res" ${OPTIONS_GS_DEFAULT_ON} \
+GS_eps9high "D: Epson 9-pin, interleaved lines, triple res" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp8000 "D: Epson LP-8000 line printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_epag "D: Epson ESC/Page laser printer (generic)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_escpage "D: Epson ESC/Page laser printer (generic)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp2000 "D: Epson LP-2000/3000/7000/7000G laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_alc8600 "D: Epson AL-C8600 color laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_alc8500 "D: Epson AL-C8500 color laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_alc2000 "D: Epson AL-C2000 color laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_alc4000 "D: Epson AL-C4000 color laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_alc1900 "D: Epson AL-C1900 color laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_alc4100 "D: Epson AL-C4100 color laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp9800c "D: Epson LP-9800C color laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp9000c "D: Epson LP-9000C color laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp9500c "D: Epson LP-9500C color laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp8800c "D: Epson LP-8800C color laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp8300c "D: Epson LP-8300C color laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp8500c "D: Epson LP-8500C color laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp3000c "D: Epson LP-3000C color laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp8200c "D: Epson LP-8200C color laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp8000c "D: Epson LP-8000C color laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_eplmono "D: Epson Esc/Page Generic driver, mono" ${OPTIONS_GS_DEFAULT_ON} \
+GS_eplcolor "D: Epson Esc/Page Generic driver, color" ${OPTIONS_GS_DEFAULT_ON} \
+GS_epl6100 "D: Epson EPL-6100 laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_epl5900 "D: Epson EPL-5900 laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_epl5800 "D: Epson EPL-5800 laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_epl2050 "D: Epson EPL-N2050 laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_epl2050p "D: Epson EPL-N2050+ laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_epl2120 "D: Epson EPL-N2120 laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_epl2500 "D: Epson EPL-N2500 laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_epl2750 "D: Epson EPL-N2750 laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp9000b "D: Epson LP-9000B laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp2500 "D: Epson LP-2500 laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp9100 "D: Epson LP-9100(R) laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp7900 "D: Epson LP-7900(R) laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp7500 "D: Epson LP-7500(R) laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp2400 "D: Epson LP-2400 laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp2200 "D: Epson LP-2200 laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp9400 "D: Epson LP-9400(R) laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp8900 "D: Epson LP-8900(R) laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp8700 "D: Epson LP-8700(R) laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp8100 "D: Epson LP-8100(R) laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp7700 "D: Epson LP-7700(R) laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp8600f "D: Epson LP-8600FX(N) laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp8400f "D: Epson LP-8400FX(N) laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp8300f "D: Epson LP-8300F laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp1900 "D: Epson LP-1900(N) laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp9600s "D: Epson LP-9600S laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp9300 "D: Epson LP-9300 laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp9600 "D: Epson LP-9600 laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp8600 "D: Epson LP-8600FX(N) laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp1800 "D: Epson LP-1800 laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lq850 "D: Epson LQ-850 (360x360, emul on Canon BJ300)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_epsonc "D: Epson LQ-2550, Fujitsu 3400/2400/1200 color" ${OPTIONS_GS_DEFAULT_ON} \
+GS_mj700v2c "D: Epson MachJet series, CMYK" ${OPTIONS_GS_DEFAULT_ON} \
+GS_mj500c "D: Epson MachJet MJ-500C 360dpi, CMY/mono" ${OPTIONS_GS_DEFAULT_ON} \
+GS_mj6000c "D: Epson MachJet MJ-830C/930C/6000C" ${OPTIONS_GS_DEFAULT_ON} \
+GS_mj8000c "D: Epson MachJet MJ-8000C" ${OPTIONS_GS_DEFAULT_ON} \
+GS_st800 "D: Epson Stylus 800 printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_stcolor "D: Epson Stylus Color and II/IIs/1500" ${OPTIONS_GS_DEFAULT_ON} \
+GS_photoex "D: Epson Stylus Color Photo/Photo EX/Photo 700" ${OPTIONS_GS_DEFAULT_ON} \
+GS_fmlbp "D: Fujitsu contrib2xx Page Printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_fmpr "D: Fujitsu contrib" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lp2563 "D: HP 2563B line printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cdnj500 "D: HP DesignJet 500" ${OPTIONS_GS_DEFAULT_ON} \
+GS_dnj650c "D: HP DesignJet 650C" ${OPTIONS_GS_DEFAULT_ON} \
+GS_deskjet "D: HP DeskJet and DeskJet Plus" ${OPTIONS_GS_DEFAULT_ON} \
+GS_djet500 "D: HP DeskJet 500 (for DeskJet 600 use -r600)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cdeskjet "D: HP DeskJet 500C (1b/px)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_djet500c "D: HP DeskJet 500C (alternative)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cdjcolor "D: HP DeskJet 500C/540C (24b/px)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cdjmono "D: HP DeskJet 500/510/520/540C (mono)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cdj500 "D: HP DeskJet 500/540C (same as cdjcolor)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cdj550 "D: HP DeskJet 550C/560C/660C/660Cse" ${OPTIONS_GS_DEFAULT_ON} \
+GS_dj505j "D: HP DeskJet 505J" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cdj670 "D: HP DeskJet 670/690" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cdj850 "D: HP DeskJet 850/855/870/1100" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cdj880 "D: HP DeskJet 880" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cdj890 "D: HP DeskJet 890" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cdj1600 "D: HP DeskJet 1600" ${OPTIONS_GS_DEFAULT_ON} \
+GS_chp2200 "D: HP Business Inkjet 2200" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cdj970 "D: HP DeskJet 970CXi" ${OPTIONS_GS_DEFAULT_ON} \
+GS_laserjet "D: HP LaserJet" ${OPTIONS_GS_DEFAULT_ON} \
+GS_ljetplus "D: HP LaserJet Plus" ${OPTIONS_GS_DEFAULT_ON} \
+GS_ljet2p "D: HP LaserJet IId/IIp/III* (TIFF compression)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_ljet3 "D: HP LaserJet III* (Delta Row compression)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_ljet3d "D: HP LaserJet IIID (duplex capability)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_ljet4 "D: HP LaserJet 4/5L/5P (not real LJ5), 600dpi" ${OPTIONS_GS_DEFAULT_ON} \
+GS_ljet4d "D: HP LaserJet 4 (duplex + 600dpi)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lj4dith "D: HP LaserJet 4 (Floyd-Steinberg dithering)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_ljet4pjl "D: HP LaserJet 4V/4LJ Pro" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lj4dithp "D: HP LaserJet 4V/4LJ Pro (dithering)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cljet5 "D: HP LaserJet 5/5M Color (new)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cljet5c "D: HP LaserJet 5/5M Color Simple" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cljet5pr "D: HP LaserJet 5/5M Color (old)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lj5mono "D: HP LaserJet 5/6 (PCL5/PCL XL), bitmap" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lj5gray "D: HP LaserJet 5/6 gray-scale bitmap" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pj "D: HP PaintJet XL driver" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pjetxl "D: HP PaintJet XL driver (alternate)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pjxl "D: HP PaintJet XL color printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_paintjet "D: HP PaintJet color printer (alternate)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pjxl300 "D: HP PaintJet XL300, DeskJet 1200C, CopyJet" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pxlmono "D: HP PCL XL mono (LaserJet 5/6 family)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pxlcolor "D: HP PCL XL color (Color LaserJet 4500/5000)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pcl3 "D: HP PCL 3+ (generic)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_ijs "D: HP Inkjet and other raster devices" ${OPTIONS_GS_DEFAULT_ON} \
+GS_ibmpro "D: IBM 9-pin Proprinter" ${OPTIONS_GS_DEFAULT_ON} \
+GS_jetp3852 "D: IBM Jetprinter ink-jet color (Model \#3852)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_imagen "D: Imagen ImPress printers" ${OPTIONS_GS_DEFAULT_ON} \
+GS_fs600 "D: Kyocera FS-600 (600 dpi)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lxm5700m "D: Lexmark 5700 monotone" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lxm3200 "D: Lexmark 3200/Z12/Z22/Z31/Z32" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lx5000 "D: Lexmark 5000/Z51/Z82" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lex2050 "D: Lexmark 2050" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lex3200 "D: Lexmark 3200" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lex5700 "D: Lexmark 5700" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lex7000 "D: Lexmark 7000" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cp50 "D: Mitsubishi CP50 color" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pr1000 "D: NEC PC-PR 1000" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pr1000_4 "D: NEC PC-PR 1000/4" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pr150 "D: NEC PC-PR 150" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pr201 "D: NEC PC-PR 201" ${OPTIONS_GS_DEFAULT_ON} \
+GS_picty180 "D: NEC PICTY 180 (PC-PR101J/180)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_necp6 "D: NEC PinWriter P6/P6+/P60 (360x360)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_npdl "D: NEC Printer Description Language" ${OPTIONS_GS_DEFAULT_ON} \
+GS_oce9050 "D: OCE 9050 printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_oki182 "D: Okidata MicroLine 182" ${OPTIONS_GS_DEFAULT_ON} \
+GS_okiibm "D: Okidata MicroLine IBM-compatible printers" ${OPTIONS_GS_DEFAULT_ON} \
+GS_ml600 "D: Okidata Microline 600CL/620CL" ${OPTIONS_GS_DEFAULT_ON} \
+GS_oki4w "D: Okidata OkiPage 4w+" ${OPTIONS_GS_DEFAULT_ON} \
+GS_atx23 "D: Practical Automation ATX-23" ${OPTIONS_GS_DEFAULT_ON} \
+GS_atx24 "D: Practical Automation ATX-24" ${OPTIONS_GS_DEFAULT_ON} \
+GS_atx38 "D: Practical Automation ATX-38" ${OPTIONS_GS_DEFAULT_ON} \
+GS_r4081 "D: Ricoh 4081 laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_rpdl "D: Ricoh Printer Description Language" ${OPTIONS_GS_DEFAULT_ON} \
+GS_gdi "D: Samsung SmartGDI laser printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_jj100 "D: Star JJ-100" ${OPTIONS_GS_DEFAULT_ON} \
+GS_sj48 "D: StarJet 48 inkjet printer" ${OPTIONS_GS_DEFAULT_ON} \
+GS_t4693d2 "D: Tektronix 4693d color, 2b/RGB" ${OPTIONS_GS_DEFAULT_ON} \
+GS_t4693d4 "D: Tektronix 4693d color, 4b/RGB" ${OPTIONS_GS_DEFAULT_ON} \
+GS_t4693d8 "D: Tektronix 4693d color, 8b/RGB" ${OPTIONS_GS_DEFAULT_ON} \
+GS_tek4696 "D: Tektronix 4695/4696 inkjet plotter" ${OPTIONS_GS_DEFAULT_ON} \
+GS_xes "D: Xerox XES (2700, 3700, 4045, etc.)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bmpmono "D: BMP Monochrome" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bmpgray "D: BMP 8-bit gray" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bmp16 "D: BMP 4-bit EGA/VGA" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bmp256 "D: BMP 8-bit 256-color" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bmp16m "D: BMP 24-bit" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bmp32b "D: BMP 32-bit pseudo-.BMP" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bmpsep1 "D: BMP Separated 1-bit CMYK" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bmpsep8 "D: BMP Separated 8-bit CMYK" ${OPTIONS_GS_DEFAULT_ON} \
+GS_ccr "D: CalComp Raster format" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cgmmono "D: CGM Monochrome -- LOW LEVEL OUTPUT ONLY" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cgm8 "D: CGM 8-bit 256-color -- DITTO" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cgm24 "D: CGM 24-bit color -- DITTO" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cif "D: CIF file format for VLSI" ${OPTIONS_GS_DEFAULT_ON} \
+GS_dfaxhigh "D: DigiBoard, DigiFAX (high res)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_dfaxlow "D: DigiFAX (normal res)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_xcf "D: Gimp XCF, RGB" ${OPTIONS_GS_DEFAULT_ON} \
+GS_xcfcmyk "D: Gimp XCF, CMYK" ${OPTIONS_GS_DEFAULT_ON} \
+GS_faxg3 "D: Group 3 FAX (EOL + no header/EOD)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_faxg32d "D: Group 3 2-D FAX (EOL + no header/EOD)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_faxg4 "D: Group 4 FAX (EOL + no header/EOD)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_miff24 "D: ImageMagick MIFF, 24-bit direct color, RLE" ${OPTIONS_GS_DEFAULT_ON} \
+GS_inferno "D: Inferno bitmaps" ${OPTIONS_GS_DEFAULT_ON} \
+GS_jpeg "D: JPEG format, RGB output" ${OPTIONS_GS_DEFAULT_ON} \
+GS_jpeggray "D: JPEG format, gray output" ${OPTIONS_GS_DEFAULT_ON} \
+GS_mag16 "D: MAG format, 16-color" ${OPTIONS_GS_DEFAULT_ON} \
+GS_mag256 "D: MAG format, 256-color" ${OPTIONS_GS_DEFAULT_ON} \
+GS_mgrmono "D: MGR devices 1-bit monochrome" ${OPTIONS_GS_DEFAULT_ON} \
+GS_mgrgray2 "D: MGR devices 2-bit gray scale" ${OPTIONS_GS_DEFAULT_ON} \
+GS_mgrgray4 "D: MGR devices 4-bit gray scale" ${OPTIONS_GS_DEFAULT_ON} \
+GS_mgrgray8 "D: MGR devices 8-bit gray scale" ${OPTIONS_GS_DEFAULT_ON} \
+GS_mgr4 "D: MGR devices 4-bit (VGA) color" ${OPTIONS_GS_DEFAULT_ON} \
+GS_mgr8 "D: MGR devices 8-bit color" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pcxmono "D: PCX, 1-bit monochrome" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pcxgray "D: PCX, 8-bit gray scale" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pcx16 "D: PCX, 4-bit planar EGA/VGA color" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pcx256 "D: PCX, 8-bit chunky color" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pcx24b "D: PCX, 24-bit color 3x8-bit planes" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pcxcmyk "D: PCX, 4-bit chunky CMYK color" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pdfwrite "D: Portable Document Format" ${OPTIONS_GS_DEFAULT_ON} \
+GS_psdrgb "D: PhotoShop PSD, RGB" ${OPTIONS_GS_DEFAULT_ON} \
+GS_psdcmyk "D: PhotoShop PSD, CMYK" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bit "D: Plain bits, monochrome" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bitrgb "D: Plain bits, RGB" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bitcmyk "D: Plain bits, CMYK" ${OPTIONS_GS_DEFAULT_ON} \
+GS_plan9bm "D: Plan 9 bitmap format" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pam "D: Portable Arbitrary Map file" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pbm "D: Portable Bitmap, plain" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pbmraw "D: Portable Bitmap, raw" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pgm "D: Portable Graymap, plain" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pgmraw "D: Portable Graymap, raw" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pgnm "D: Portable Graymap, plain (PBM opt)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pgnmraw "D: Portable Graymap, raw (PBM opt)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pnm "D: Portable Pixmap, plain RGB (PGM/PBM opt)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pnmraw "D: Portable Pixmap, raw RGB (PGM/PBM opt)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_ppm "D: Portable Pixmap, plain RGB" ${OPTIONS_GS_DEFAULT_ON} \
+GS_ppmraw "D: Portable Pixmap, raw RGB" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pkm "D: Portable inKmap, plain (4b CMYK=>RGB)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pkmraw "D: Portable inKmap, raw (4b CMYK=>RGB)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pksm "D: Portable Separated map, plain (4b CMYK=>4p)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pksmraw "D: Portable Separated map, raw (4b CMYK=>4p)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pngmono "D: PNG (Portable Network Graphics) Mono" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pnggray "D: PNG 8-bit Gray" ${OPTIONS_GS_DEFAULT_ON} \
+GS_png16 "D: PNG 4-bit Color" ${OPTIONS_GS_DEFAULT_ON} \
+GS_png256 "D: PNG 8-bit Color" ${OPTIONS_GS_DEFAULT_ON} \
+GS_png16m "D: PNG 24-bit Color" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pngalpha "D: PNG 32-bit RGBA Color" ${OPTIONS_GS_DEFAULT_ON} \
+GS_png48 "D: PNG 48-bit Color" ${OPTIONS_GS_DEFAULT_ON} \
+GS_psmono "D: PostScript (Level 1) monochrome image" ${OPTIONS_GS_DEFAULT_ON} \
+GS_psgray "D: PostScript (Level 1) 8-bit gray image" ${OPTIONS_GS_DEFAULT_ON} \
+GS_psrgb "D: PostScript (Level 2) 24-bit color image" ${OPTIONS_GS_DEFAULT_ON} \
+GS_pswrite "D: PostScript (like PostScript Distiller)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_ps2write "D: PostScript (Level 2) output" ${OPTIONS_GS_DEFAULT_ON} \
+GS_epswrite "D: Encapsulated PostScript" ${OPTIONS_GS_DEFAULT_ON} \
+GS_cfax "D: SFF format for CAPI FAX interface" ${OPTIONS_GS_DEFAULT_ON} \
+GS_sgirgb "D: SGI RGB pixmap format" ${OPTIONS_GS_DEFAULT_ON} \
+GS_sunhmono "D: Harlequin variant of 1-bit Sun raster file" ${OPTIONS_GS_DEFAULT_ON} \
+GS_svgwrite "D: SVG driver" ${OPTIONS_GS_DEFAULT_ON} \
+GS_tiffcrle "D: TIFF CCITT RLE 1 dim (G3 FAX with no EOL)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_tiffg3 "D: TIFF Group 3 FAX (with EOL)" ${OPTIONS_GS_DEFAULT_ON} \
+GS_tiffg32d "D: TIFF Group 3 2-D FAX" ${OPTIONS_GS_DEFAULT_ON} \
+GS_tiffg4 "D: TIFF Group 4 FAX" ${OPTIONS_GS_DEFAULT_ON} \
+GS_tiffgray "D: TIFF 8-bit gray, no compress" ${OPTIONS_GS_DEFAULT_ON} \
+GS_tiff12nc "D: TIFF 12-bit RGB, no compress" ${OPTIONS_GS_DEFAULT_ON} \
+GS_tiff24nc "D: TIFF 24-bit RGB, no compress, NeXT format" ${OPTIONS_GS_DEFAULT_ON} \
+GS_tiff32nc "D: TIFF 32-bit CMYK" ${OPTIONS_GS_DEFAULT_ON} \
+GS_tiffsep "D: TIFF gray + CMYK composite" ${OPTIONS_GS_DEFAULT_ON} \
+GS_tifflzw "D: TIFF LZW, tag = 5, mono" ${OPTIONS_GS_DEFAULT_ON} \
+GS_tiffpack "D: TIFF PackBits, tag = 32773, mono" ${OPTIONS_GS_DEFAULT_ON} \
+GS_bbox "D: Bounding box output" ${OPTIONS_GS_DEFAULT_ON} \
+GS_devicen "D: DeviceN process color model device" ${OPTIONS_GS_DEFAULT_ON} \
+GS_perm "D: DeviceN which permutes color components" ${OPTIONS_GS_DEFAULT_ON} \
+GS_spotcmyk "D: DeviceN with CMYK and spot color support" ${OPTIONS_GS_DEFAULT_ON} \
+GS_imdi "D: IMDI color converting device" ${OPTIONS_GS_DEFAULT_ON} \
+GS_wtsimdi "D: WTS halftoning device" ${OPTIONS_GS_DEFAULT_ON} \
+GS_wtscmyk "D: WTS halftoning CMYK device" ${OPTIONS_GS_DEFAULT_ON}
diff --git a/print/ghostscript9/distinfo b/print/ghostscript9/distinfo
new file mode 100644
index 000000000000..891668f834d6
--- /dev/null
+++ b/print/ghostscript9/distinfo
@@ -0,0 +1,4 @@
+SHA256 (ghostscript/ghostscript-9.02.tar.bz2) = 03ea2cad13a36f8f9160912012b79619a826e7148fada6d3531feb25409ee05a
+SIZE (ghostscript/ghostscript-9.02.tar.bz2) = 23748868
+SHA256 (ghostscript/epag-3.09.tar.gz) = ad10eca44c781a5851d5a8993dcd95b2e2b99392cbf2c8372a5a658f3b991b3b
+SIZE (ghostscript/epag-3.09.tar.gz) = 12858
diff --git a/print/ghostscript9/files/Makefile.dmprt b/print/ghostscript9/files/Makefile.dmprt
new file mode 100644
index 000000000000..dc41ea2cfe52
--- /dev/null
+++ b/print/ghostscript9/files/Makefile.dmprt
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+post-install-dmprt:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${EPAG_NAME}/ert ${PREFIX}/bin
+ cd ${FILESDIR} && \
+ ${INSTALL_DATA} lqx70ch.upp lqx70cl.upp lqx70cm.upp \
+ ${DATADIR}/${PORTVERSION}/lib
+
+post-install: post-install-dmprt
diff --git a/print/ghostscript9/files/Makefile.drivers_post b/print/ghostscript9/files/Makefile.drivers_post
new file mode 100644
index 000000000000..f742282848d3
--- /dev/null
+++ b/print/ghostscript9/files/Makefile.drivers_post
@@ -0,0 +1,238 @@
+# $FreeBSD$
+# pre/postprocessing driver variables
+
+# define defaults which depend on WITHOUT_*/WITH_*
+.for D in X11 SVGALIB ICONV
+.if !defined(WITHOUT_${D})
+OPTIONS_${D}_DEFAULT= on
+.else
+OPTIONS_${D}_DEFAULT= off
+.endif
+.endfor
+.for D in SVGALIB CAIRO CUPS GTK
+.if !defined(WITH_${D})
+OPTIONS_${D}_DEFAULT= off
+.else
+OPTIONS_${D}_DEFAULT= on
+.endif
+.endfor
+
+# makesum needs lowest common multiple
+.if make(makesum)
+OPTIONS_X11_DEFAULT= on
+OPTIONS_GTK_DEFAULT= on
+OPTIONS_SVGALIB_DEFAULT=on
+OPTIONS_ICONV_DEFAULT= on
+OPTIONS_CAIRO_DEFAULT= on
+OPTIONS_CUPS_DEFAULT= on
+OPTIONS_GS_DEFAULT_ON= on
+OPTIONS_GS_DEFAULT_OFF= on
+.endif
+
+# dmprt specific
+.if !defined(WITHOUT_GS_dmprt)
+.include "${FILESDIR}/Makefile.dmprt"
+.endif
+
+# epag specific
+.if !defined(WITHOUT_GS_epag)
+.include "${FILESDIR}/Makefile.epag"
+.endif
+
+EPAG_BASE= epag
+EPAG_SRCS= ${EPAG_BASE}-3.09.tar.gz
+EPAG_NAME= ${EPAG_SRCS:S,.tar.gz$,,}
+
+post-extract-epag:
+ ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EPAG_SRCS}
+ ${LN} -s -f ${EPAG_NAME} ${WRKSRC}/${EPAG_BASE}
+ ${INSTALL_DATA} ${FILESDIR}/epag.contrib.mak ${WRKSRC}/base/epag.contrib.mak
+
+post-extract: post-extract-epag
+
+# pcl3 specific
+.if !defined(WITHOUT_GS_pcl3)
+.include "${FILESDIR}/Makefile.pcl3"
+.endif
+
+# cups specific
+CUPS_DEVS= cups
+.undef _CUPS_DEVS
+
+.for D in ${CUPS_DEVS}
+.if defined(WITHOUT_CUPS) || defined(WITHOUT_GS_${D})
+.undef WITH_GS_${D}
+.elif defined(WITH_GS_${D})
+_CUPS_DEVS+= ${D}
+.elif ${OPTIONS_CUPS_DEFAULT} == "on"
+_CUPS_DEVS+= ${D}
+WITH_GS_${D}=yes
+.endif
+.endfor
+
+.if defined(_CUPS_DEVS)
+LIB_DEPENDS+= cupsimage.2:${PORTSDIR}/print/cups-image
+CONFIGURE_ARGS+= --enable-cups
+.else
+CONFIGURE_ARGS+= --disable-cups
+.endif
+
+# vgalib specific
+VGA_DEVS= lvga256 vgalib
+.undef _VGA_DEVS
+
+.for D in ${VGA_DEVS}
+.if defined(WITHOUT_SVGALIB) || defined(WITHOUT_GS_${D})
+.undef WITH_GS_${D}
+.elif defined(WITH_GS_${D})
+_VGA_DEVS+= ${D}
+.elif ${OPTIONS_SVGALIB_DEFAULT} == "on"
+_VGA_DEVS+= ${D}
+WITH_GS_${D}=yes
+.endif
+.endfor
+
+.if defined(_VGA_DEVS)
+LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
+.endif
+
+# x11 specific
+X11_DEVS= x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2 x11gray4 \
+ x11mono x11rg16x x11rg32x display
+.undef _X11_DEVS
+
+.for D in ${X11_DEVS}
+.if defined(WITHOUT_X11) || defined(WITHOUT_GS_${D})
+. undef WITH_GS_${D}
+.elif defined(WITH_GS_${D})
+_X11_DEVS+= ${D}
+.elif ${OPTIONS_X11_DEFAULT} == "on"
+_X11_DEVS+= ${D}
+WITH_GS_${D}=yes
+.endif
+.endfor
+
+.if defined(_X11_DEVS)
+USE_XORG= xt xext
+CONFIGURE_ARGS+=--with-x \
+ --x-includes=${X11BASE}/include \
+ --x-libraries=${X11BASE}/lib
+CONFLICTS+= ghostscript8-nox11-[0-9]*
+.if defined(WITH_GTK)
+USE_GNOME= atk gdkpixbuf glib20 gtk20
+CONFIGURE_ARGS+=--enable-gtk
+.else
+CONFIGURE_ARGS+=--disable-gtk
+.endif
+.else # defined(_X11_DEVS)
+PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nox11
+CONFIGURE_ARGS+=--without-x --disable-gtk
+CONFLICTS+= ghostscript8-[0-9]*
+.endif # defined(_X11_DEVS)
+
+# iconv specific
+ICONV_DEVS= oprp opvp
+.undef _ICONV_DEVS
+
+.for D in ${ICONV_DEVS}
+.if defined(WITHOUT_ICONV) || defined(WITHOUT_GS_${D})
+.undef WITH_GS_${D}
+.elif defined(WITH_GS_${D})
+_ICONV_DEVS+= ${D}
+.elif ${OPTIONS_ICONV_DEFAULT} == "on"
+_ICONV_DEVS+= ${D}
+WITH_GS_${D}=yes
+.endif
+.endfor
+
+.if defined(_ICONV_DEVS)
+USE_ICONV= yes
+CONFIGURE_ARGS+=--with-libiconv=gnu
+EXTRALIBS+= -liconv
+.else
+CONFIGURE_ARGS+=--with-libiconv=no
+.endif
+
+# pre-defined order
+DEVS_LIST= DISPLAY_DEV \
+ DEVS1 DEVS2 DEVS3 DEVS4 DEVS5 DEVS6 DEVS7 DEVS8 DEVS9 \
+ DEVS10 DEVS11 DEVS12 DEVS13 DEVS14 DEVS15 DEVS16 DEVS17 DEVS18 \
+ DEVS19 DEVS20 DEVS21
+
+DISPLAY_DEV= bbox.dev
+DEVICE_DEVS1= bmpmono.dev bmpgray.dev bmpsep1.dev bmpsep8.dev \
+ bmp16.dev bmp256.dev bmp16m.dev bmp32b.dev stcolor.dev
+DEVICE_DEVS2= epson.dev eps9high.dev eps9mid.dev epsonc.dev ibmpro.dev
+DEVICE_DEVS3= deskjet.dev djet500.dev laserjet.dev ljetplus.dev \
+ ljet2p.dev ljet3.dev ljet3d.dev ljet4.dev ljet4d.dev \
+ lj5mono.dev lj5gray.dev cups.dev
+DEVICE_DEVS4= cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev \
+ pjxl.dev pjxl300.dev ijs.dev
+DEVICE_DEVS5= uniprint.dev omni.dev
+DEVICE_DEVS6= bj10e.dev bj200.dev bjc600.dev bjc800.dev png48.dev \
+ png16m.dev pnggray.dev pngmono.dev png256.dev png16.dev \
+ pngalpha.dev
+DEVICE_DEVS7= faxg3.dev faxg32d.dev faxg4.dev
+DEVICE_DEVS8= pcxmono.dev pcxgray.dev pcx16.dev pcx256.dev pcx24b.dev \
+ pcxcmyk.dev svgwrite.dev
+DEVICE_DEVS9= pbm.dev pbmraw.dev pgm.dev pgmraw.dev pgnm.dev \
+ pgnmraw.dev pnm.dev pnmraw.dev ppm.dev ppmraw.dev pkm.dev \
+ pkmraw.dev pksm.dev pksmraw.dev
+DEVICE_DEVS10= tiffcrle.dev tiffg3.dev tiffg32d.dev tiffg4.dev \
+ tifflzw.dev tiffpack.dev
+DEVICE_DEVS11= tiff12nc.dev tiff24nc.dev tiff48nc tiffgray.dev \
+ tiff32nc.dev tiff64nc.dev tiffsep.dev tiffsep1.dev
+DEVICE_DEVS12= psmono.dev psgray.dev psrgb.dev bit.dev bitrgb.dev \
+ bitcmyk.dev
+DEVICE_DEVS13=
+DEVICE_DEVS14= jpeg.dev jpeggray.dev jpegcmyk.dev
+DEVICE_DEVS15= pdfwrite.dev pswrite.dev ps2write.dev epswrite.dev \
+ txtwrite.dev pxlmono.dev pxlcolor.dev
+DEVICE_DEVS16=
+DEVICE_DEVS17=
+DEVICE_DEVS18=
+DEVICE_DEVS20= cljet5.dev cljet5c.dev
+DEVICE_DEVS21= spotcmyk.dev devicen.dev xcf.dev psdcmyk.dev psdrgb.dev \
+ pamcmyk32.dev
+
+# DEVS19 is for this port specific
+DEVICE_DEVS19= alc1900.dev alc2000.dev alc4000.dev alc4100.dev \
+ alc8500.dev alc8600.dev ap3250.dev appledmp.dev atx23.dev \
+ atx24.dev atx38.dev bj10v.dev bj10vh.dev bjc880j.dev \
+ bjccmyk.dev bjccolor.dev bjcgray.dev bjcmono.dev \
+ ccr.dev cdj1600.dev cdj500.dev cdj670.dev cdj850.dev \
+ cdj880.dev cdj890.dev cdj970.dev cdnj500.dev cfax.dev \
+ cgm24.dev cgm8.dev cgmmono.dev chp2200.dev cif.dev \
+ cljet5pr.dev coslw2p.dev coslwxl.dev cp50.dev declj250.dev \
+ dfaxhigh.dev dfaxlow.dev display.dev dj505j.dev djet500c.dev \
+ dl2100.dev dmprt.dev dnj650c.dev epag.dev epl2050.dev \
+ epl2050p.dev epl2120.dev epl2500.dev epl2750.dev epl5800.dev \
+ epl5900.dev epl6100.dev eplcolor.dev eplmono.dev escpage.dev \
+ fmlbp.dev fmpr.dev fs600.dev gdi.dev hl1240.dev hl1250.dev \
+ hl7x0.dev imagen.dev imdi.dev inferno.dev iwhi.dev iwlo.dev \
+ iwlq.dev jetp3852.dev jj100.dev jpegcmyk.dev la50.dev la70.dev \
+ la75.dev la75plus.dev lbp310.dev lbp320.dev lbp8.dev \
+ lex2050.dev lex3200.dev lex5700.dev lex7000.dev lips2p.dev \
+ lips3.dev lips4.dev lips4v.dev lj250.dev lj4dith.dev \
+ lj4dithp.dev ljet4pjl.dev ln03.dev lp1800.dev lp1900.dev \
+ lp2000.dev lp2200.dev lp2400.dev lp2500.dev lp2563.dev \
+ lp3000c.dev lp7500.dev lp7700.dev lp7900.dev lp8000.dev \
+ lp8000c.dev lp8100.dev lp8200c.dev lp8300c.dev lp8300f.dev \
+ lp8400f.dev lp8500c.dev lp8600.dev lp8600f.dev lp8700.dev \
+ lp8800c.dev lp8900.dev lp9000b.dev lp9000c.dev lp9100.dev \
+ lp9300.dev lp9400.dev lp9500c.dev lp9600.dev lp9600s.dev \
+ lp9800c.dev lq850.dev lvga256.dev lx5000.dev lxm3200.dev \
+ lxm5700m.dev m8510.dev mag16.dev mag256.dev md1xMono.dev \
+ md2k.dev md50Eco.dev md50Mono.dev md5k.dev mgr4.dev mgr8.dev \
+ mgrgray2.dev mgrgray4.dev mgrgray8.dev mgrmono.dev miff24.dev \
+ mj500c.dev mj6000c.dev mj700v2c.dev mj8000c.dev ml600.dev \
+ necp6.dev npdl.dev oce9050.dev oki182.dev oki4w.dev okiibm.dev \
+ oprp.dev opvp.dev paintjet.dev pam.dev pamcmyk32.dev pcl3.dev \
+ perm.dev photoex.dev picty180.dev pjetxl.dev plan9bm.dev \
+ pr1000.dev pr1000_4.dev pr150.dev pr201.dev r4081.dev rpdl.dev \
+ sgirgb.dev sj48.dev st800.dev sunhmono.dev t4693d2.dev \
+ t4693d4.dev t4693d8.dev tek4696.dev tiff48nc tiff64nc.dev \
+ tiffsep1.dev txtwrite.dev vgalib.dev wtscmyk.dev wtsimdi.dev \
+ x11.dev x11alpha.dev x11cmyk.dev x11cmyk2.dev x11cmyk4.dev \
+ x11cmyk8.dev x11gray2.dev x11gray4.dev x11mono.dev x11rg16x.dev \
+ x11rg32x.dev xcfcmyk.dev xes.dev
diff --git a/print/ghostscript9/files/Makefile.epag b/print/ghostscript9/files/Makefile.epag
new file mode 100644
index 000000000000..ad9a7a5c150a
--- /dev/null
+++ b/print/ghostscript9/files/Makefile.epag
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+# EPAG - additional driver for Epson ESC/Page printers
+# http://www.humblesoft.com/gdevepag.html
+
+PORTDOCS+= epag
+PORTDOC_FILES+= epag/ert.txt epag/gdevepag.txt epag/ChangeLog \
+ epag/psprint epag/gsepagif.sh
+
+pre-build-epag:
+ ${LN} -s -f ${WRKSRC}/${EPAG_NAME}/gdevepag.c ${WRKSRC}/base
+
+post-build-epag:
+ cd ${WRKSRC}/${EPAG_NAME} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} Makefile
+
+post-install-docs-epag:
+ ${MKDIR} ${WRKSRC}/contrib/epag
+ ${INSTALL_DATA} ${WRKSRC}/${EPAG_NAME}/* ${WRKSRC}/contrib/epag
+
+pre-build: pre-build-epag
+post-build: post-build-epag
+post-install-docs: post-install-docs-epag
diff --git a/print/ghostscript9/files/Makefile.pcl3 b/print/ghostscript9/files/Makefile.pcl3
new file mode 100644
index 000000000000..ad19ffdc8017
--- /dev/null
+++ b/print/ghostscript9/files/Makefile.pcl3
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTDOCS+= pcl3
+PORTDOC_FILES+= pcl3/NEWS pcl3/BUGS pcl3/README pcl3/gs-pcl3.html \
+ pcl3/how-to-report.txt pcl3/pcl3opts.html
+
+MAN1+= gs-pcl3.1 pcl3opts.1
+
+post-build-pcl3:
+ cd ${WRKSRC} && \
+ ${CC} ${CFLAGS} -I./obj -I./soobj -I./base \
+ -I./contrib/pcl3/eprn -o bin/pcl3opts \
+ contrib/pcl3/src/pcl3opts.c contrib/pcl3/src/pclscan.c \
+ contrib/pcl3/eprn/mediasize.c contrib/pcl3/src/pclsize.c
+
+post-install-pcl3:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/pcl3opts ${PREFIX}/bin
+ ${MKDIR} ${DATADIR}/${PORTVERSION}/pcl3
+ cd ${WRKSRC}/contrib/pcl3 && \
+ ${INSTALL_DATA} lib/example.mcf lib/if-pcl3 \
+ ps/calign.ps ps/dumppdd.ps ps/levels-test.ps \
+ ps/margins-A4.ps ps/margins-A4Rotated.ps \
+ ps/margins-Env10Rotated.ps \
+ ps/margins-EnvDLRotated.ps \
+ ps/margins-Letter.ps \
+ ps/margins-LetterRotated.ps \
+ ${DATADIR}/${PORTVERSION}/pcl3
+ cd ${WRKSRC}/contrib/pcl3/doc && \
+ ${INSTALL_MAN} gs-pcl3.1 pcl3opts.1 ${MANPREFIX}/man/man1
+
+post-install-docs-pcl3:
+ ${MKDIR} ${WRKSRC}/contrib/pcl3
+ ${INSTALL_DATA} ${WRKSRC}/contrib/pcl3/doc/* ${WRKSRC}/contrib/pcl3
+
+post-build: post-build-pcl3
+post-install: post-install-pcl3
+post-install-docs: post-install-docs-pcl3
diff --git a/print/ghostscript9/files/epag.contrib.mak b/print/ghostscript9/files/epag.contrib.mak
new file mode 100644
index 000000000000..2e6117ad4b51
--- /dev/null
+++ b/print/ghostscript9/files/epag.contrib.mak
@@ -0,0 +1,8 @@
+### ------- Epson ESC/Page printer device ----------------- ###
+epag_=$(GLOBJ)gdevepag.$(OBJ)
+
+$(DD)epag.dev : $(epag_) $(DD)page.dev
+ $(SETPDEV) $(DD)epag $(epag_)
+
+$(GLOBJ)gdevepag.$(OBJ): $(GLSRC)gdevepag.c $(gdevprn_h) $(PDEVH)
+ $(GLCC) $(GLO_)gdevepag.$(OBJ) $(C_) $(GLSRC)gdevepag.c
diff --git a/print/ghostscript9/files/lqx70ch.upp b/print/ghostscript9/files/lqx70ch.upp
new file mode 100644
index 000000000000..b5d3cd49e912
--- /dev/null
+++ b/print/ghostscript9/files/lqx70ch.upp
@@ -0,0 +1,26 @@
+# $ApsCVS: src/apsfilter/uniprint/lqx70ch.upp,v 1.2 2000/04/21 18:48:00 andreas Exp $
+#
+-supModel="Epson LQ-1170 ESC/P2 Dot Matrix, 360x360DpI, Plain Paper"
+-sDEVICE=uniprint
+-dNOPAUSE
+-dSAFER
+-dupColorModel=/DeviceCMYKgenerate
+-dupRendering=/ErrorDiffusion
+-dupOutputFormat=/EscP2
+-r360x360
+-dupMargins="{ 9.0 0.0 9.0 24.0}"
+-dupOutputPins=24
+-dupBeginPageCommand="<
+ 1b40 1b40
+ 1b2847 0100 01
+ 1b2869 0100 01
+ 1b2855 0100 0A
+ 1b5501
+ 1b2865 0200 0002
+ 1b2843 0200 0000
+ 1b2863 0400 0000 0000
+>"
+-dupAdjustPageLengthCommand
+-dupEndPageCommand="(\014)"
+-dupAbortCommand="(\033@\15\12\12\12\12 Printout-Aborted\15\014)"
+
diff --git a/print/ghostscript9/files/lqx70cl.upp b/print/ghostscript9/files/lqx70cl.upp
new file mode 100644
index 000000000000..91fb1aa89906
--- /dev/null
+++ b/print/ghostscript9/files/lqx70cl.upp
@@ -0,0 +1,26 @@
+# $ApsCVS: src/apsfilter/uniprint/lqx70cl.upp,v 1.2 2000/04/21 18:48:00 andreas Exp $
+#
+-supModel="Epson LQ-1170 ESC/P2 Dot Matrix, 180x180DpI, Plain Paper"
+-sDEVICE=uniprint
+-dNOPAUSE
+-dSAFER
+-dupColorModel=/DeviceCMYKgenerate
+-dupRendering=/ErrorDiffusion
+-dupOutputFormat=/EscP2
+-r180x180
+-dupMargins="{ 9.0 0.0 9.0 24.0}"
+-dupOutputPins=24
+-dupBeginPageCommand="<
+ 1b40 1b40
+ 1b2847 0100 01
+ 1b2869 0100 01
+ 1b2855 0100 14
+ 1b5500
+ 1b2865 0200 0002
+ 1b2843 0200 0000
+ 1b2863 0400 0000 0000
+>"
+-dupAdjustPageLengthCommand
+-dupEndPageCommand="(\014)"
+-dupAbortCommand="(\033@\15\12\12\12\12 Printout-Aborted\15\014)"
+
diff --git a/print/ghostscript9/files/lqx70cm.upp b/print/ghostscript9/files/lqx70cm.upp
new file mode 100644
index 000000000000..895af73aa8d8
--- /dev/null
+++ b/print/ghostscript9/files/lqx70cm.upp
@@ -0,0 +1,25 @@
+# $ApsCVS: src/apsfilter/uniprint/lqx70cm.upp,v 1.2 2000/04/21 18:48:00 andreas Exp $
+#
+-supModel="Epson LQ-1170 ESC/P2 Dot Matrix, 360x180DpI, Plain Paper"
+-sDEVICE=uniprint
+-dNOPAUSE
+-dSAFER
+-dupColorModel=/DeviceCMYKgenerate
+-dupRendering=/ErrorDiffusion
+-dupOutputFormat=/EscP2
+-r360x180
+-dupMargins="{ 9.0 24.0 9.0 24.0}"
+-dupOutputPins=24
+-dupBeginPageCommand="<
+ 1b40 1b40
+ 1b2847 0100 01
+ 1b2869 0100 01
+ 1b2855 0100 14
+ 1b5501
+ 1b2843 0200 0000
+ 1b2863 0400 0000 0000
+>"
+-dupAdjustPageLengthCommand
+-dupEndPageCommand="(\014)"
+-dupAbortCommand="(\033@\15\12\12\12\12 Printout-Aborted\15\014)"
+
diff --git a/print/ghostscript9/files/patch-Resource-Init-FAPIcidfmap b/print/ghostscript9/files/patch-Resource-Init-FAPIcidfmap
new file mode 100644
index 000000000000..2c6bf45839b2
--- /dev/null
+++ b/print/ghostscript9/files/patch-Resource-Init-FAPIcidfmap
@@ -0,0 +1,62 @@
+--- Resource/Init/FAPIcidfmap.orig 2006-06-01 00:29:52.000000000 +0900
++++ Resource/Init/FAPIcidfmap 2009-05-15 03:27:31.000000000 +0900
+@@ -29,4 +29,59 @@
+ %
+ % /Ryumin-Medium << /Path (msgothic.ttc) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
+ % /HeiseiKakuGo-W5 << /Path (F:/WIN2000/Fonts/BATANG.TTC) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
++%/Ryumin-Light << /Path (Ryumin-Light) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
++%/GothicBBB-Medium << /Path (GothicBBB-Medium) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
++
++/Ryumin-Medium /Ryumin-Light ;
++/Ryumin-Regular /Ryumin-Light ;
++/RyuminPro-Light /Ryumin-Light ;
++
++/GothicBBBPro-Medium /GothicBBB-Medium ;
++
++/KozGoPro-Bold /GothicBBB-Medium ;
++/KozGoPro-Heavy /GothicBBB-Medium ;
++/KozGoPro-Medium /GothicBBB-Medium ;
++/KozGoPro-Regular /GothicBBB-Medium ;
++
++/KozMinPro-Bold /Ryumin-Light ;
++/KozMinPro-Light /Ryumin-Light ;
++/KozMinPro-Medium /Ryumin-Light ;
++/KozMinPro-Regular /Ryumin-Light ;
++
++/HiraKakuPro-W3 /GothicBBB-Medium ;
++/HiraKakuPro-W6 /GothicBBB-Medium ;
++/HiraKakuStd-W8 /GothicBBB-Medium ;
++
++/HiraMaruPro-W4 /GothicBBB-Medium ;
+
++/HiraMinPro-W3 /Ryumin-Light ;
++
++/HeiseiMin-W3 /Ryumin-Light ;
++/HeiseiKakuGo-W5 /GothicBBB-Medium ;
++
++/FutoMinA101-Bold /Ryumin-Light ;
++/FutoMinA101Pro-Bold /Ryumin-Light ;
++/FutoGoB101-Bold /GothicBBB-Medium ;
++/FutoGoB101Pro-Bold /GothicBBB-Medium ;
++
++/Jun101-Light /Ryumin-Light ;
++/Jun101Pro-Light /Ryumin-Light ;
++
++/MidashiGo-MB31 /GothicBBB-Medium ;
++/MidashiGoPro-MB31 /GothicBBB-Medium ;
++
++/MidashiMinPro-MA31 /Ryumin-Light ;
++
++%/Munhwa-Regular /Munhwa-Regular ;
++%/MunhwaGothic-Regular /MunhwaGothic-Regular ;
++%/Munhwa-Bold /Munhwa-Bold ;
++%/MunhwaGothic-Bold /MunhwaGothic-Bold ;
++
++/HYGoThic-Medium /MunhwaGothic-Regular ;
++/HYSMyeongJo-Medium /Munhwa-Regular ;
++/HYRGoThic-Medium /MunhwaGothic-Bold ;
++
++%/STHeiti-Regular << /Path (STHeiti-Regular) /CIDFontType 0 /FAPI /UFST /CSI [(CNS1) 5] >> ;
++%/STSong-Light << /Path (STSong-Light) /CIDFontType 0 /FAPI /UFST /CSI [(GB1) 5] >> ;
++%/MSung-Light << /Path (MSung-Light) /CIDFontType 0 /FAPI /UFST /CSI [(CNS1) 5] >> ;
++%/MHei-Medium << /Path (MHei-Medium) /CIDFontType 0 /FAPI /UFST /CSI [(GB1) 5] >> ;
diff --git a/print/ghostscript9/files/patch-Resource-Init-FAPIconfig b/print/ghostscript9/files/patch-Resource-Init-FAPIconfig
new file mode 100644
index 000000000000..e2ff81b58276
--- /dev/null
+++ b/print/ghostscript9/files/patch-Resource-Init-FAPIconfig
@@ -0,0 +1,10 @@
+--- Resource/Init/FAPIconfig.orig 2010-04-13 21:50:40.000000000 +0900
++++ Resource/Init/FAPIconfig 2011-05-17 18:25:59.000000000 +0900
+@@ -12,3 +12,7 @@
+ % and CID font resource files.
+ % "Embedded fonts" are fonts and CID fonts being embedded into a document.
+
++/FontPath () % A default directory for FAPI-handled font files path in FAPIfontmap.
++/CIDFontPath () % A default directory for FAPI-handled CID font files path in FAPIcidfmap.
++/HookDiskFonts [] % FontType values for disk PS fonts to be redirected to FAPI.
++/HookEmbeddedFonts [] % FontType values for embedded PS fonts to be redirected to FAPI.
diff --git a/print/ghostscript9/files/patch-Resource-Init-cidfmap b/print/ghostscript9/files/patch-Resource-Init-cidfmap
new file mode 100644
index 000000000000..8ed71789f4fe
--- /dev/null
+++ b/print/ghostscript9/files/patch-Resource-Init-cidfmap
@@ -0,0 +1,67 @@
+--- Resource/Init/cidfmap.orig 2008-08-08 13:22:38.000000000 +0900
++++ Resource/Init/cidfmap 2009-12-20 03:03:17.000000000 +0900
+@@ -26,3 +26,64 @@
+ % /ShinGo-Bold /HeiseiKakuGo-W5 ;
+ % /Ryumin-Medium << /FileType /TrueType /Path (H:/AuxFiles/Fonts/BATANG.TTC) /SubfontID 3 /CSI [(Japan1) 2] >> ;
+ %
++/Ryumin-Light << /FileType /TrueType /Path (Ryumin-Light) /SubfontID 0 /CSI [(Japan1) 6] >> ;
++/GothicBBB-Medium << /FileType /TrueType /Path (GothicBBB-Medium) /SubfontID 0 /CSI [(Japan1) 6] >> ;
++
++/Ryumin-Medium /Ryumin-Light ;
++/Ryumin-Regular /Ryumin-Light ;
++/RyuminPro-Light /Ryumin-Light ;
++
++/GothicBBBPro-Medium /GothicBBB-Medium ;
++
++/KozGoPro-Bold /GothicBBB-Medium ;
++/KozGoPro-Heavy /GothicBBB-Medium ;
++/KozGoPro-Medium /GothicBBB-Medium ;
++/KozGoPro-Regular /GothicBBB-Medium ;
++
++/KozMinPro-Bold /Ryumin-Light ;
++/KozMinPro-Light /Ryumin-Light ;
++/KozMinPro-Medium /Ryumin-Light ;
++/KozMinPro-Regular /Ryumin-Light ;
++
++/HiraKakuPro-W3 /GothicBBB-Medium ;
++/HiraKakuPro-W6 /GothicBBB-Medium ;
++/HiraKakuStd-W8 /GothicBBB-Medium ;
++
++/HiraMaruPro-W4 /GothicBBB-Medium ;
++
++/HiraMinPro-W3 /Ryumin-Light ;
++
++/HeiseiMin-W3 /Ryumin-Light ;
++/HeiseiKakuGo-W5 /GothicBBB-Medium ;
++
++/FutoMinA101-Bold /Ryumin-Light ;
++/FutoMinA101Pro-Bold /Ryumin-Light ;
++/FutoGoB101-Bold /GothicBBB-Medium ;
++/FutoGoB101Pro-Bold /GothicBBB-Medium ;
++
++/Jun101-Light /Ryumin-Light ;
++/Jun101Pro-Light /Ryumin-Light ;
++
++/MidashiGo-MB31 /GothicBBB-Medium ;
++/MidashiGoPro-MB31 /GothicBBB-Medium ;
++
++/MidashiMinPro-MA31 /Ryumin-Light ;
++
++/MS-Mincho /Ryumin-Light ;
++/MS-PMincho /Ryumin-Light ;
++/MS-Gothic /GothicBBB-Medium ;
++/MS-PGothic /GothicBBB-Medium ;
++
++%/Munhwa-Regular /Munhwa-Regular ;
++%/MunhwaGothic-Regular /MunhwaGothic-Regular ;
++%/Munhwa-Bold /Munhwa-Bold ;
++%/MunhwaGothic-Bold /MunhwaGothic-Bold ;
++
++/HYGoThic-Medium /MunhwaGothic-Regular ;
++/HYSMyeongJo-Medium /Munhwa-Regular ;
++/HYRGoThic-Medium /MunhwaGothic-Bold ;
++
++/STHeiti-Regular << /FileType /TrueType /Path (STHeiti-Regular) /SubfontID 0 /CSI [(CNS1) 5] >> ;
++/STSong-Light << /FileType /TrueType /Path (STSong-Light) /SubfontID 0 /CSI [(GB1) 5] >> ;
++/MSung-Light << /FileType /TrueType /Path (MSung-Light) /SubfontID 0 /CSI [(CNS1) 5] >> ;
++/MHei-Medium << /FileType /TrueType /Path (MHei-Medium) /SubfontID 0 /CSI [(GB1) 5] >> ;
diff --git a/print/ghostscript9/files/patch-Resource-Init-gs_statd.ps b/print/ghostscript9/files/patch-Resource-Init-gs_statd.ps
new file mode 100644
index 000000000000..a9996b623de8
--- /dev/null
+++ b/print/ghostscript9/files/patch-Resource-Init-gs_statd.ps
@@ -0,0 +1,15 @@
+--- Resource/Init/gs_statd.ps.orig 2011-05-24 04:43:02.000000000 +0900
++++ Resource/Init/gs_statd.ps 2011-05-24 04:43:31.000000000 +0900
+@@ -125,6 +125,12 @@
+ /ANSI_D {1585 2448 //.setpagesize exec} bind def
+ /ANSI_E {2448 3168 //.setpagesize exec} bind def
+ /ANSI_F {2016 2880 //.setpagesize exec} bind def
++ /postcard {284 419 //.setpagesize exec} bind def
++ /dbl_postcard {419 568 //.setpagesize exec} bind def
++ /Executive {522 756 //.setpagesize exec} bind def
++ /jenv_you4 {298 666 //.setpagesize exec} bind def
++ /jenv_you2 {324 460 //.setpagesize exec} bind def
++ /jenv_kaku2 {682 942 //.setpagesize exec} bind def
+ %END SIZES
+ currentdict end
+ dup /.setpagesize .undef
diff --git a/print/ghostscript9/files/patch-Resource-Init-gs_ttf.ps b/print/ghostscript9/files/patch-Resource-Init-gs_ttf.ps
new file mode 100644
index 000000000000..19fc072bd4e2
--- /dev/null
+++ b/print/ghostscript9/files/patch-Resource-Init-gs_ttf.ps
@@ -0,0 +1,28 @@
+--- Resource/Init/gs_ttf.ps.orig 2011-05-24 04:46:01.000000000 +0900
++++ Resource/Init/gs_ttf.ps 2011-05-24 04:46:22.000000000 +0900
+@@ -1029,10 +1029,21 @@
+ } ifelse
+ % Stack: ... /FontInfo mark key1 value1 ...
+ post //null ne {
+- /ItalicAngle first_post_string 4 gets32 65536.0 div
+- /isFixedPitch first_post_string 12 getu32 0 ne
+- /UnderlinePosition first_post_string 8 gets16 upem div
+- /UnderlineThickness first_post_string 10 gets16 upem div
++% /ItalicAngle first_post_string 4 gets32 65536.0 div
++% /isFixedPitch first_post_string 12 getu32 0 ne
++% /UnderlinePosition first_post_string 8 gets16 upem div
++% /UnderlineThickness first_post_string 10 gets16 upem div
++ post type /arraytype eq {
++ % this post table is a big table. /post should be [(...) ...]
++ % data we actually need here should be first one in array.
++ /posttable post 1 get def
++ } {
++ /posttable post def
++ } ifelse
++ /ItalicAngle posttable 4 gets32 65536.0 div
++ /isFixedPitch posttable 12 getu32 0 ne
++ /UnderlinePosition posttable 8 gets16 upem div
++ /UnderlineThickness posttable 10 gets16 upem div
+ } if
+ counttomark 0 ne { .dicttomark } { pop pop } ifelse
+ /XUID [orgXUID 42 curxuid]
diff --git a/print/ghostscript9/files/patch-Resource-Init-pdf_font.ps b/print/ghostscript9/files/patch-Resource-Init-pdf_font.ps
new file mode 100644
index 000000000000..c966e57fba11
--- /dev/null
+++ b/print/ghostscript9/files/patch-Resource-Init-pdf_font.ps
@@ -0,0 +1,15 @@
+--- Resource/Init/pdf_font.ps.orig Tue Aug 31 13:03:30 2004
++++ Resource/Init/pdf_font.ps Wed Sep 15 19:15:00 2004
+@@ -1114,10 +1114,12 @@
+
+ /buildCIDType0 { % <CIDFontType0-font-resource> buildCIDType0 <font>
+ dup /BaseFont get findCIDFont exch pop
++ addCIDmetrics /CIDFont defineresource
+ } bdef
+
+ /buildCIDType2 { % <CIDFontType2-font-resource> buildCIDType2 <font>
+ dup /BaseFont get findCIDFont exch pop
++ addCIDmetrics /CIDFont defineresource
+ } bdef
+
+ /processCIDToGIDMap { % <fontres> <cidfont> processCIDToGIDMap <fontres> <cidfont>
diff --git a/print/ghostscript9/files/patch-base-Makefile.in b/print/ghostscript9/files/patch-base-Makefile.in
new file mode 100644
index 000000000000..b6f3e0d81234
--- /dev/null
+++ b/print/ghostscript9/files/patch-base-Makefile.in
@@ -0,0 +1,131 @@
+--- base/Makefile.in.orig 2011-03-25 02:26:17.000000000 +0900
++++ base/Makefile.in 2011-05-17 18:01:52.000000000 +0900
+@@ -47,9 +47,8 @@
+ # the directories also define the default search path for the
+ # initialization files (gs_*.ps) and the fonts.
+
+-INSTALL = $(GLSRCDIR)/instcopy -c
+-INSTALL_PROGRAM = $(INSTALL) -m 755
+-INSTALL_DATA = $(INSTALL) -m 644
++INSTALL_PROGRAM = ${BSD_INSTALL_SCRIPT}
++INSTALL_DATA = ${BSD_INSTALL_DATA}
+ INSTALL_SHARED = @INSTALL_SHARED@
+
+ prefix = @prefix@
+@@ -195,7 +194,7 @@
+ # some older JPEG streams that violate the standard. If the JPEG
+ # library built from local sources, the patch will be applied.
+
+-SHARE_JPEG=@SHARE_LIBJPEG@
++SHARE_JPEG=1
+ JPEG_NAME=jpeg
+
+ # Define the directory where the PNG library sources are stored,
+@@ -203,12 +202,12 @@
+ # You may need to change this if the libpng version changes.
+ # See png.mak for more information.
+
+-SHARE_LIBPNG=@SHARE_LIBPNG@
++SHARE_LIBPNG=1
+ PNGSRCDIR=@LIBPNGDIR@
+ LIBPNG_NAME=png
+
+ # libtiff
+-SHARE_LIBTIFF=@SHARE_LIBTIFF@
++SHARE_LIBTIFF=1
+ TIFFSRCDIR=@LIBTIFFDIR@
+ TIFFPLATFORM=unix
+ TIFFCONFIG_SUFFIX=
+@@ -217,7 +216,7 @@
+ # Define the directory where the zlib sources are stored.
+ # See zlib.mak for more information.
+
+-SHARE_ZLIB=@SHARE_ZLIB@
++SHARE_ZLIB=1
+ ZSRCDIR=@ZLIBDIR@
+ #ZLIB_NAME=gz
+ ZLIB_NAME=z
+@@ -313,7 +312,7 @@
+ # Define the added flags for standard, debugging, profiling
+ # and shared object builds.
+
+-CFLAGS_STANDARD=@OPT_CFLAGS@
++CFLAGS_STANDARD?=@OPT_CFLAGS@
+ CFLAGS_DEBUG=@DBG_CFLAGS@
+ CFLAGS_PROFILE=-pg @OPT_CFLAGS@
+ CFLAGS_SO=@DYNAMIC_CFLAGS@
+@@ -362,7 +361,7 @@
+ # Solaris may need -lnsl -lsocket -lposix4.
+ # (Libraries required by individual drivers are handled automatically.)
+
+-EXTRALIBS=@LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@
++EXTRALIBS=@LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ -Wl,-export-dynamic
+
+ # Define the standard libraries to search at the end of linking.
+ # Most platforms require -lpthread for the POSIX threads library;
+@@ -406,7 +405,7 @@
+ # the pthread library. Otherwise use SYNC=nosync
+ #SYNC=posync
+ #SYNC=nosync
+-SYNC=@SYNC@
++SYNC=nosync
+
+ # programs we use
+ RM=rm -f
+@@ -494,27 +493,27 @@
+ #DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev
+ #DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)xcf.dev $(DD)psdcmyk.dev $(DD)psdrgb.dev
+ DEVICE_DEVS=$(DISPLAY_DEV) @X11_DEVS@
+-DEVICE_DEVS1=@F_DEVS@
+-DEVICE_DEVS2=@P_DEVS@
+-DEVICE_DEVS3=@CUPS_DEVS@
+-DEVICE_DEVS4=@IJS_DEVS@
+-DEVICE_DEVS5=@OMNIDEVS@
+-DEVICE_DEVS6=@PNG_DEVS@
+-DEVICE_DEVS7=@JBIG2_DEVS@
+-DEVICE_DEVS8=@SVG_DEVS@
+-DEVICE_DEVS9=
+-DEVICE_DEVS10=
+-DEVICE_DEVS11=
+-DEVICE_DEVS12=
+-DEVICE_DEVS13=
+-DEVICE_DEVS14=
+-DEVICE_DEVS15=
+-DEVICE_DEVS16=
+-DEVICE_DEVS17=
+-DEVICE_DEVS18=
+-DEVICE_DEVS19=
+-DEVICE_DEVS20=
+-DEVICE_DEVS21=
++#DEVICE_DEVS1=@F_DEVS@
++#DEVICE_DEVS2=@P_DEVS@
++#DEVICE_DEVS3=@CUPS_DEVS@
++#DEVICE_DEVS4=@IJS_DEVS@
++#DEVICE_DEVS5=@OMNIDEVS@
++#DEVICE_DEVS6=@PNG_DEVS@
++#DEVICE_DEVS7=@JBIG2_DEVS@
++#DEVICE_DEVS8=@SVG_DEVS@
++#DEVICE_DEVS9=
++#DEVICE_DEVS10=
++#DEVICE_DEVS11=
++#DEVICE_DEVS12=
++#DEVICE_DEVS13=
++#DEVICE_DEVS14=
++#DEVICE_DEVS15=
++#DEVICE_DEVS16=
++#DEVICE_DEVS17=
++#DEVICE_DEVS18=
++#DEVICE_DEVS19=
++#DEVICE_DEVS20=
++#DEVICE_DEVS21=
+
+
+ # Shared library target to build.
+@@ -550,6 +549,7 @@
+ # ---------------- End of platform-specific section ---------------- #
+
+ INSTALL_CONTRIB=@INSTALL_CONTRIB@
++include $(GLSRCDIR)/drivers.mak
+ include $(GLSRCDIR)/unixhead.mak
+ include $(GLSRCDIR)/gs.mak
+ # psromfs.mak must precede lib.mak
diff --git a/print/ghostscript9/files/patch-base-contrib.mak b/print/ghostscript9/files/patch-base-contrib.mak
new file mode 100644
index 000000000000..9f9406007bb4
--- /dev/null
+++ b/print/ghostscript9/files/patch-base-contrib.mak
@@ -0,0 +1,8 @@
+--- base/contrib.mak.orig 2008-03-04 06:06:45.000000000 +0900
++++ base/contrib.mak 2008-03-04 06:07:11.000000000 +0900
+@@ -858,3 +858,5 @@
+ $(SETPDEV) $(DD)picty180 $(cdeskjet_)
+
+ #########################################################################
++
++include $(GLSRCDIR)/epag.contrib.mak
diff --git a/print/ghostscript9/files/patch-base-devs.mak b/print/ghostscript9/files/patch-base-devs.mak
new file mode 100644
index 000000000000..70fd478e9212
--- /dev/null
+++ b/print/ghostscript9/files/patch-base-devs.mak
@@ -0,0 +1,24 @@
+--- base/devs.mak.orig 2009-02-14 09:46:58.000000000 +0900
++++ base/devs.mak 2009-12-20 01:39:02.000000000 +0900
+@@ -418,10 +418,10 @@
+ ### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT
+
+ $(GLOBJ)lvga256.so : $(lvga256_)
+- $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)lvga256.so $(lvga256_) -lvga -lvgagl
++ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)lvga256.so $(lvga256_) -lvga -lvgagl $(XLDFLAGS)
+
+ $(GLOBJ)vgalib.so : $(vgalib_)
+- $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)vgalib.so $(vgalib_) -lvga -lvgagl
++ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)vgalib.so $(vgalib_) -lvga -lvgagl $(XLDFLAGS)
+
+ ### -------------------------- The X11 device -------------------------- ###
+
+@@ -524,7 +524,7 @@
+ ### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT
+
+ $(GLOBJ)X11.so : $(x11alt_) $(x11_)
+- $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L/usr/X11R6/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS)
++ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L$(X11BASE)/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS)
+
+ ###### --------------- Memory-buffered printer devices --------------- ######
+
diff --git a/print/ghostscript9/files/patch-base-errors.h b/print/ghostscript9/files/patch-base-errors.h
new file mode 100644
index 000000000000..89a493c96120
--- /dev/null
+++ b/print/ghostscript9/files/patch-base-errors.h
@@ -0,0 +1,10 @@
+--- base/errors.h.orig 2007-06-06 07:23:38.000000000 +0900
++++ base/errors.h 2009-03-29 03:53:40.000000000 +0900
+@@ -21,6 +21,6 @@
+ */
+
+ /* We include that file here to backward compatibility */
+-#include "ierrors.h"
++#include "../psi/ierrors.h"
+
+ #endif /* errors_INCLUDED */
diff --git a/print/ghostscript9/files/patch-base-gdevperm.c b/print/ghostscript9/files/patch-base-gdevperm.c
new file mode 100644
index 000000000000..94b9020eb2c5
--- /dev/null
+++ b/print/ghostscript9/files/patch-base-gdevperm.c
@@ -0,0 +1,11 @@
+--- base/gdevperm.c.orig Tue Sep 25 22:31:24 2007
++++ base/gdevperm.c Sat Nov 24 15:11:12 2007
+@@ -286,7 +286,7 @@
+ (strncmp((const char *)name, (const char *)str, name_size) == 0))
+
+ static int
+-perm_get_color_comp_index(const gx_device *pdev, const char *pname,
++perm_get_color_comp_index(gx_device *pdev, const char *pname,
+ int name_size, int component_type)
+ {
+ const gx_device_perm_t * const dev = (const gx_device_perm_t *)pdev;
diff --git a/print/ghostscript9/files/patch-base-gs.mak b/print/ghostscript9/files/patch-base-gs.mak
new file mode 100644
index 000000000000..ecb6f57e0dd7
--- /dev/null
+++ b/print/ghostscript9/files/patch-base-gs.mak
@@ -0,0 +1,11 @@
+--- base/gs.mak.orig 2010-05-23 15:46:23.000000000 +0900
++++ base/gs.mak 2010-05-23 15:57:37.000000000 +0900
+@@ -415,7 +415,7 @@
+ ld_tr=$(GLGENDIR)$(D)ld.tr
+ $(ld_tr) : \
+ $(GS_MAK) $(TOP_MAKEFILES) $(GLSRCDIR)$(D)version.mak $(GENCONF_XE) $(ECHOGS_XE) $(devs_tr) $(DEVS_ALL) $(GLGENDIR)$(D)libcore.dev
+- $(EXP)$(GENCONF_XE) $(devs_tr) -h $(gconfig_h) $(CONFILES) $(CONFLDTR) $(ld_tr)
++ $(EXP)$(GENCONF_XE) $(devs_tr) -h /dev/stdout $(CONFILES) $(CONFLDTR) $(ld_tr) | awk 'BEGIN{j=0; p=1;} /jpeg_device/ {if(j++ > 0) p=0;} // {if(p==1) { print; } else { p=1 } }' > $(gconfig_h)
+ $(EXP)$(ECHOGS_XE) -a $(gconfig_h) $(GCONFIG_EXTRAS)
+
+ $(gconfig_h) : $(ld_tr)
diff --git a/print/ghostscript9/files/patch-base-gsicc_create.c b/print/ghostscript9/files/patch-base-gsicc_create.c
new file mode 100644
index 000000000000..04f765ae6a14
--- /dev/null
+++ b/print/ghostscript9/files/patch-base-gsicc_create.c
@@ -0,0 +1,17 @@
+--- base/gsicc_create.c.orig 2011-05-23 13:33:34.000000000 +0900
++++ base/gsicc_create.c 2011-05-23 13:33:52.000000000 +0900
+@@ -116,6 +116,7 @@
+
+ */
+
++#include <sys/types.h>
+ #include "icc34.h" /* Note this header is needed even if lcms is not
+ compiled as default CMS */
+ #include "string_.h"
+@@ -2350,4 +2351,4 @@
+ icHeader *header = &(iccprofile.header);
+
+ setheader_common(header);
+-}
+\ No newline at end of file
++}
diff --git a/print/ghostscript9/files/patch-base-gxobj.h b/print/ghostscript9/files/patch-base-gxobj.h
new file mode 100644
index 000000000000..529efe379df2
--- /dev/null
+++ b/print/ghostscript9/files/patch-base-gxobj.h
@@ -0,0 +1,18 @@
+--- base/gxobj.h.orig Tue Mar 14 01:18:19 2006
++++ base/gxobj.h Fri Mar 23 14:41:44 2007
+@@ -109,11 +109,15 @@
+ * required by the hardware, regardless of the value of obj_align_mod.
+ * See gsmemraw.h for more information about this.
+ */
++#if !defined(__ia64__) && !defined(__amd64__)
+ #define obj_align_mod\
+ (((ARCH_ALIGN_MEMORY_MOD - 1) |\
+ (align_bitmap_mod - 1) |\
+ (obj_back_scale - 1)) + 1)
+ /* The only possible values for obj_align_mod are 4, 8, or 16.... */
++#else
++#define obj_align_mod 16
++#endif
+ #if obj_align_mod == 4
+ # define log2_obj_align_mod 2
+ #else
diff --git a/print/ghostscript9/files/patch-base-unix-gcc.mak b/print/ghostscript9/files/patch-base-unix-gcc.mak
new file mode 100644
index 000000000000..bd05ffc8fc0d
--- /dev/null
+++ b/print/ghostscript9/files/patch-base-unix-gcc.mak
@@ -0,0 +1,209 @@
+--- base/unix-gcc.mak.orig 2011-03-04 05:23:43.000000000 +0900
++++ base/unix-gcc.mak 2011-05-23 14:31:00.000000000 +0900
+@@ -21,15 +21,18 @@
+ # source, generated intermediate file, and object directories
+ # for the graphics library (GL) and the PostScript/PDF interpreter (PS).
+
++.CURDIR?=.
+ BINDIR=./bin
+-GLSRCDIR=./base
+-GLGENDIR=./obj
+-GLOBJDIR=./obj
+-PSSRCDIR=./psi
+-PSLIBDIR=./lib
+-PSRESDIR=./Resource
+-PSGENDIR=./obj
+-PSOBJDIR=./obj
++BINDIR=${.CURDIR}/bin
++GLSRCDIR=${.CURDIR}/base
++GLGENDIR=${.CURDIR}/obj
++GLOBJDIR=${.CURDIR}/obj
++PSSRCDIR=${.CURDIR}/psi
++PSLIBDIR=${.CURDIR}/lib
++PSRESDIR=${.CURDIR}/Resource
++PSGENDIR=${.CURDIR}/obj
++PSOBJDIR=${.CURDIR}/obj
++CONTRIBDIR=${.CURDIR}/contrib
+
+ # Do not edit the next group of lines.
+
+@@ -48,11 +51,10 @@
+ # the directories also define the default search path for the
+ # initialization files (gs_*.ps) and the fonts.
+
+-INSTALL = $(GLSRCDIR)/instcopy -c
+-INSTALL_PROGRAM = $(INSTALL) -m 755
+-INSTALL_DATA = $(INSTALL) -m 644
++INSTALL_PROGRAM = ${BSD_INSTALL_SCRIPT}
++INSTALL_DATA = ${BSD_INSTALL_DATA}
+
+-prefix = /usr/local
++prefix = ${PREFIX}
+ exec_prefix = $(prefix)
+ bindir = $(exec_prefix)/bin
+ scriptdir = $(bindir)
+@@ -104,7 +106,7 @@
+ # -DHAVE_HYPOT
+ # use the system hypot() call
+
+-CAPOPT= -DHAVE_MKSTEMP
++CAPOPT= -DHAVE_MKSTEMP -DHAVE_HYPOT
+
+ # Define the name of the executable file.
+
+@@ -138,7 +140,7 @@
+ # some older JPEG streams that violate the standard. If the JPEG
+ # library built from local sources, the patch will be applied.
+
+-SHARE_JPEG=0
++SHARE_JPEG=1
+ JPEG_NAME=jpeg
+
+ # Define the directory where the PNG library sources are stored,
+@@ -152,13 +154,13 @@
+ # what its name is.
+ # See gs.mak and Make.htm for more information.
+
+-SHARE_LIBPNG=0
++SHARE_LIBPNG=1
+ LIBPNG_NAME=png
+
+ # Define whether to use a shared version of libtiff and where
+ # it is stored and what its name is.
+
+-SHARE_LIBTIFF=0
++SHARE_LIBTIFF=1
+ TIFFSRCDIR=tiff
+ TIFFPLATFORM=unix
+ TIFFCONFIG_SUFFIX=.unix
+@@ -173,15 +175,23 @@
+ # what its name is (usually libz, but sometimes libgz).
+ # See gs.mak and Make.htm for more information.
+
+-SHARE_ZLIB=0
++SHARE_ZLIB=1
+ #ZLIB_NAME=gz
+ ZLIB_NAME=z
+
+ # Choose shared or compiled in libjbig2dec and source location
+-SHARE_JBIG2=0
++SHARE_JBIG2=1
+ JBIG2_LIB=jbig2dec
+ JBIG2SRCDIR=jbig2dec
+
++# Choose the library to use for (JPXDecode support)
++# whether to link to an external build or compile in from source
++# and source location and configuration flags for compiling in
++JPX_LIB=jasper
++SHARE_JPX=0
++JPXSRCDIR=jasper
++JPX_CFLAGS=-DJAS_CONFIGURE
++
+ # Define the directory where the icclib source are stored.
+ # See icclib.mak for more information
+ ICCSRCDIR=icclib
+@@ -217,7 +227,7 @@
+
+ # Define the name of the C compiler.
+
+-CC=gcc
++CC?=cc
+
+ # Define the name of the linker for the final link step.
+ # Normally this is the same as the C compiler.
+@@ -234,7 +244,7 @@
+ # Define the added flags for standard, debugging, profiling
+ # and shared object builds.
+
+-CFLAGS_STANDARD=-O2
++CFLAGS_STANDARD?=-O2
+ CFLAGS_DEBUG=-g -O0
+ CFLAGS_PROFILE=-pg -O2
+ CFLAGS_SO=-fPIC
+@@ -250,7 +260,8 @@
+ # We don't include -ansi, because this gets in the way of the platform-
+ # specific stuff that <math.h> typically needs; nevertheless, we expect
+ # gcc to accept ANSI-style function prototypes and function definitions.
+-XCFLAGS=-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"$(gssharedir)\"
++#XCFLAGS+=-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"$(gssharedir)\"
++XCFLAGS+=-DUPD_SIGNAL=0 -I${JPXSRCDIR}/src/libjasper/include -I${LOCALBASE}/include/libpng -I${LOCALBASE}/include
+
+ CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
+
+@@ -261,7 +272,7 @@
+ # -R /usr/local/xxx/lib:/usr/local/lib
+ # giving the full path names of the shared library directories.
+ # XLDFLAGS can be set from the command line.
+-XLDFLAGS=
++XLDFLAGS+=-L${LOCALBASE}/lib
+
+ LDFLAGS=$(XLDFLAGS)
+
+@@ -272,7 +283,7 @@
+ # Solaris may need -lnsl -lsocket -lposix4.
+ # (Libraries required by individual drivers are handled automatically.)
+
+-EXTRALIBS=-rdynamic -ldl
++EXTRALIBS+=-Wl,-export-dynamic
+
+ # Define the standard libraries to search at the end of linking.
+ # Most platforms require -lpthread for the POSIX threads library;
+@@ -294,7 +305,7 @@
+ # Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
+ # not in $(XINCLUDE).
+
+-XINCLUDE=-I/usr/X11R6/include
++XINCLUDE=-I${LOCALBASE}/include
+
+ # Define the directory/ies and library names for the X11 library files.
+ # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
+@@ -309,26 +320,26 @@
+ #XLIBS=Xt SM ICE Xext X11
+
+ #XLIBDIRS=-L/usr/local/X/lib
+-XLIBDIRS=-L/usr/X11R6/lib
++XLIBDIRS=-L${LOCALBASE}/lib
+ XLIBDIR=
+-XLIBS=Xt Xext X11
++XLIBS=Xt SM ICE Xext X11
+
+ # Define the .dev module that implements thread and synchronization
+ # primitives for this platform.
+
+ # If POSIX sync primitives are used, also change the STDLIBS to include
+ # the pthread library.
+-#SYNC=posync
++SYNC=posync
+
+ # Default is No sync primitives since some platforms don't have it (HP-UX)
+-SYNC=nosync
++#SYNC=nosync
+
+ SOC_LOADER=dxmainc.c
+ # ------ Devices and features ------ #
+
+ # Choose the language feature(s) to include. See gs.mak for details.
+
+-FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev $(PSD)epsf.dev $(GLD)pipe.dev $(PSD)fapi.dev
++FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev $(PSD)epsf.dev $(GLD)pipe.dev $(PSD)fapi.dev $(PSD)jbig2.dev $(PSD)jpx.dev
+ #FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev
+ # The following is strictly for testing.
+ FEATURE_DEVS_ALL=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev $(PSD)rasterop.dev $(PSD)double.dev $(PSD)trapping.dev $(PSD)stocht.dev $(GLD)pipe.dev
+@@ -460,6 +471,9 @@
+ include $(GLSRCDIR)/png.mak
+ include $(GLSRCDIR)/tiff.mak
+ include $(GLSRCDIR)/jbig2.mak
++include $(GLSRCDIR)/jasper.mak
++include $(GLSRCDIR)/ldf_jb2.mak
++include $(GLSRCDIR)/lwf_jp2.mak
+ include $(GLSRCDIR)/icclib.mak
+ include $(GLSRCDIR)/lcms.mak
+ include $(GLSRCDIR)/ijs.mak
+@@ -470,6 +484,7 @@
+ include $(GLSRCDIR)/unix-dll.mak
+ include $(GLSRCDIR)/unix-end.mak
+ include $(GLSRCDIR)/unixinst.mak
++include $(CONTRIBDIR)/contrib.mak
+
+ # This has to come last so it won't be taken as the default target.
+ $(AK):
diff --git a/print/ghostscript9/files/patch-base-unixinst.mak b/print/ghostscript9/files/patch-base-unixinst.mak
new file mode 100644
index 000000000000..013836f8afe2
--- /dev/null
+++ b/print/ghostscript9/files/patch-base-unixinst.mak
@@ -0,0 +1,11 @@
+--- base/unixinst.mak.orig 2007-08-15 05:48:29.000000000 +0900
++++ base/unixinst.mak 2008-05-05 16:48:06.000000000 +0900
+@@ -128,7 +128,7 @@
+ done'
+
+ # install the man pages for each locale
+-MAN_LCDIRS=. de
++MAN_LCDIRS=.
+ MAN1_LINKS_PS2PS=eps2eps
+ MAN1_LINKS_PS2PDF=ps2pdf12 ps2pdf13
+ MAN1_LINKS_GSLP=gsbj gsdj gsdj500 gslj
diff --git a/print/ghostscript9/files/patch-contrib__japanese__dmp_site.ps b/print/ghostscript9/files/patch-contrib__japanese__dmp_site.ps
new file mode 100644
index 000000000000..9f7ad073a58a
--- /dev/null
+++ b/print/ghostscript9/files/patch-contrib__japanese__dmp_site.ps
@@ -0,0 +1,11 @@
+--- contrib/japanese/dmp_site.ps.orig Wed Nov 29 20:56:17 2006
++++ contrib/japanese/dmp_site.ps Sun May 13 21:06:03 2007
+@@ -1,7 +1,7 @@
+ %!
+ BeginConfig
+ %%%%%%%%%%%%%%%%%%%%%% Standard user cusomizations %%%%%%%%%%%%%%%%%%%%%
+-/printer (escp_24.src)
++/printer (%%DATADIR%%/%%GS_VERSION%%/lib/escp_24.src)
+ % horizontal / vertical
+ % /resolution [ 180.0 180.0 ]
+ % horizontal / vertical
diff --git a/print/ghostscript9/files/patch-contrib__japanese__gdevdmpr.c b/print/ghostscript9/files/patch-contrib__japanese__gdevdmpr.c
new file mode 100644
index 000000000000..1e6c3261d464
--- /dev/null
+++ b/print/ghostscript9/files/patch-contrib__japanese__gdevdmpr.c
@@ -0,0 +1,44 @@
+--- contrib/japanese/gdevdmpr.c.orig Thu Apr 26 01:27:24 2007
++++ contrib/japanese/gdevdmpr.c Tue May 15 01:44:09 2007
+@@ -41,8 +41,6 @@
+ /* include library header. */
+ #include "dviprlib.h"
+
+-extern FILE *lib_fopen(const char *);
+-
+ #define LOCAL_DEBUG 0
+
+ #define DEVICE_NAME "dmprt"
+@@ -405,8 +403,6 @@
+ if (pddev->dmprt.max_height>0 && pddev->dmprt.max_height<pddev->height)
+ pddev->height = pddev->dmprt.max_height;
+
+- dviprt_setmessagestream(pddev->dmprt.debug_f ? stderr : NULL);
+-
+ return code;
+ }
+
+@@ -425,8 +421,6 @@
+ if (code < 0) return code;
+ if (code == 0) pddev->dmprt.debug_f = vbool;
+
+- dviprt_setmessagestream(pddev->dmprt.debug_f ? stderr : NULL);
+-
+ code = param_read_bool(plist, "Verbose", &vbool);
+ if (code < 0) return code;
+ pddev->dmprt.verbose_f = vbool;
+@@ -841,13 +835,12 @@
+ char *env;
+
+ strcpy(fname,fnamebase);
+- fp = lib_fopen(fname);
++ fp = fopen(fname,"r");
+ if (fp == NULL) {
+ env = getenv("TEXCFG");
+ if (env) {
+ strcpy(fname,env);
+ strcat(fname, gp_file_name_concat_string(env,strlen(env)));
+- strcat(fname,fnamebase);
+ fp = fopen(fname,gp_fmode_rb);
+ }
+ }
diff --git a/print/ghostscript9/files/patch-epag__gdevepag.c b/print/ghostscript9/files/patch-epag__gdevepag.c
new file mode 100644
index 000000000000..6012768b4d9c
--- /dev/null
+++ b/print/ghostscript9/files/patch-epag__gdevepag.c
@@ -0,0 +1,217 @@
+--- epag/gdevepag.c.orig Sat Jul 8 13:33:09 2000
++++ epag/gdevepag.c Sat Nov 24 15:25:11 2007
+@@ -102,30 +102,30 @@
+ } EpagBubble;
+
+ /* The device descriptors */
+-private dev_proc_open_device(epag_open);
+-private dev_proc_close_device(epag_close);
+-private dev_proc_print_page(epag_print_page);
+-private void epag_printer_initialize(gx_device_printer *pdev, FILE *fp,int);
+-private dev_proc_print_page(epag_print_page);
+-private dev_proc_get_params(epag_get_params);
+-private dev_proc_put_params(epag_put_params);
+-private void epag_paper_set(gx_device_printer *pdev, FILE *fp);
+-private void epag_bubble_flush_all(EpagPageCont *cont);
+-private void epag_page_cont_init(gx_device_printer *pdev,FILE *fp,EpagPageCont *cont);
+-private void epag_page_close(EpagPageCont *cont);
+-private int epag_read_image(EpagPageCont *cont);
+-private void epag_process_line(EpagPageCont *cont);
+-private int epag_is_black(EpagPageCont *cont, int bx);
+-private void epag_rect_add(EpagPageCont *cont,int start,int end);
+-private void epag_bubble_gen(EpagPageCont *cont,
++static dev_proc_open_device(epag_open);
++static dev_proc_close_device(epag_close);
++static dev_proc_print_page(epag_print_page);
++static void epag_printer_initialize(gx_device_printer *pdev, FILE *fp,int);
++static dev_proc_print_page(epag_print_page);
++static dev_proc_get_params(epag_get_params);
++static dev_proc_put_params(epag_put_params);
++static void epag_paper_set(gx_device_printer *pdev, FILE *fp);
++static void epag_bubble_flush_all(EpagPageCont *cont);
++static void epag_page_cont_init(gx_device_printer *pdev,FILE *fp,EpagPageCont *cont);
++static void epag_page_close(EpagPageCont *cont);
++static int epag_read_image(EpagPageCont *cont);
++static void epag_process_line(EpagPageCont *cont);
++static int epag_is_black(EpagPageCont *cont, int bx);
++static void epag_rect_add(EpagPageCont *cont,int start,int end);
++static void epag_bubble_gen(EpagPageCont *cont,
+ int x0, int x1, int y0, int y1);
+-private void epag_bubble_flush(EpagPageCont *cont,EpagBubble *bbl);
+-private void epag_bubble_image_out(EpagPageCont *cont,EpagBubble *bbl);
++static void epag_bubble_flush(EpagPageCont *cont,EpagBubble *bbl);
++static void epag_bubble_image_out(EpagPageCont *cont,EpagBubble *bbl);
+
+ /*
+ * デバイスの宣言
+ */
+-private gx_device_procs prn_epag_procs =
++static gx_device_procs prn_epag_procs =
+ prn_params_procs(epag_open, gdev_prn_output_page, epag_close,
+ epag_get_params, epag_put_params);
+ gx_device_printer far_data gs_epag_device =
+@@ -140,13 +140,13 @@
+ static char *epson_remote_start = "\033\001@EJL \r\n";
+
+ /* Open the printer, adjusting the margins if necessary. */
+-private int
++static int
+ epag_open(gx_device *pdev)
+ {
+ return gdev_prn_open(pdev);
+ }
+
+-private int
++static int
+ epag_close(gx_device *pdev)
+ {
+ gdev_prn_open_printer(pdev, 1);
+@@ -163,7 +163,7 @@
+ return gdev_prn_close(pdev);
+ }
+
+-private int
++static int
+ epag_print_page(gx_device_printer *pdev, FILE *fp)
+ {
+ EpagPageCont cont;
+@@ -205,7 +205,7 @@
+ GS, '2', 'a', 'b', 'P', /* イメージ描画後下へ */
+ };
+
+-private void
++static void
+ epag_printer_initialize(gx_device_printer *pdev, FILE *fp, int copies)
+ {
+ double xDpi,yDpi;
+@@ -260,7 +260,7 @@
+ fprintf(fp,"%c%dcoO",GS, copies < 256 ? copies : 255);
+ }
+
+-private int
++static int
+ epag_get_params(gx_device *pdev, gs_param_list *plist)
+ {
+ int code;
+@@ -286,7 +286,7 @@
+ }
+
+ /* Put properties. */
+-private int
++static int
+ epag_put_params(gx_device *pdev, gs_param_list *plist)
+ {
+ param_read_int(plist, "cRowBuf", &epag_cont.cRowBuf);
+@@ -380,7 +380,7 @@
+ /*
+ * epag_bubble_flush_all: 残っている bubbleを全て出力する。
+ */
+-private void epag_bubble_flush_all(EpagPageCont *cont)
++static void epag_bubble_flush_all(EpagPageCont *cont)
+ {
+ int i;
+
+@@ -392,7 +392,7 @@
+ /*
+ * epag_page_cont_init: EpagPageContの初期化、バッファ確保等
+ */
+-private void epag_page_cont_init(gx_device_printer *pdev,FILE *fp,
++static void epag_page_cont_init(gx_device_printer *pdev,FILE *fp,
+ EpagPageCont *cont)
+ {
+ int bpl;
+@@ -417,15 +417,15 @@
+ cont->maxY = epag_cont.cRowBuf / cont->bh * cont->bh ;
+ if(cont->maxY < cont->bh) cont->maxY = cont->bh;
+
+- cont->bp = gs_malloc(bpl , cont->maxY, "epag_skip_blank_init(bp)");
+- cont->bp2 = gs_malloc(bpl*3/2+1 , cont->maxY, "epag_skip_blank_init(bp2)");
++ cont->bp = (byte *)gs_malloc(gs_lib_ctx_get_non_gc_memory_t(), bpl , cont->maxY, "epag_skip_blank_init(bp)");
++ cont->bp2 = (byte *)gs_malloc(gs_lib_ctx_get_non_gc_memory_t(), bpl*3/2+1 , cont->maxY, "epag_skip_blank_init(bp2)");
+
+ cont->h = cont->r = 0;
+
+- cont->bubbleTbl=gs_malloc(sizeof(EpagBubble *),cont->maxBx,"bubbleTbl");
++ cont->bubbleTbl = (byte *)gs_malloc(gs_lib_ctx_get_non_gc_memory_t(), sizeof(EpagBubble *),cont->maxBx,"bubbleTbl");
+ for(i=0;i<cont->maxBx;i++)
+ cont->bubbleTbl[i] = NULL;
+- cont->bubbleBuffer=gs_malloc(sizeof(EpagBubble),cont->maxBx,"bubbleBuffer");
++ cont->bubbleBuffer=gs_malloc(gs_lib_ctx_get_non_gc_memory_t(), sizeof(EpagBubble),cont->maxBx,"bubbleBuffer");
+ bbtbl = (EpagBubble *)cont->bubbleBuffer;
+ for(i=0;i<cont->maxBx-1;i++)
+ bbtbl[i].next = &bbtbl[i+1];
+@@ -433,15 +433,15 @@
+ cont->freeBubbleList = &bbtbl[0];
+ }
+
+-private void
++static void
+ epag_page_close(EpagPageCont *cont)
+ {
+- gs_free(cont->bp, bpl, cont->maxY, "epag_skip_blank_init(bp)");
+- gs_free(cont->bp2, bpl*3/2+1, cont->maxY, "epag_skip_blank_init(bp2)");
+- gs_free(cont->bubbleBuffer, sizeof(EpagBubble), cont->maxBx,"bubbleBuffer");
++ gs_free(gs_lib_ctx_get_non_gc_memory_t(), cont->bp, bpl, cont->maxY, "epag_skip_blank_init(bp)");
++ gs_free(gs_lib_ctx_get_non_gc_memory_t(), cont->bp2, bpl*3/2+1, cont->maxY, "epag_skip_blank_init(bp2)");
++ gs_free(gs_lib_ctx_get_non_gc_memory_t(), cont->bubbleBuffer, sizeof(EpagBubble), cont->maxBx,"bubbleBuffer");
+ }
+
+-private int
++static int
+ epag_read_image(EpagPageCont *cont)
+ {
+ int bh = cont->bh;
+@@ -473,7 +473,7 @@
+ /*
+ * bh行分のラスターデータを処理する
+ */
+-private void
++static void
+ epag_process_line(EpagPageCont *cont)
+ {
+ int bh = cont->bh;
+@@ -502,7 +502,7 @@
+ else epag_rect_add(cont, 0, cont->maxBx-1);
+ }
+
+-private int
++static int
+ epag_is_black(EpagPageCont *cont, int bx)
+ {
+ int bh = cont->bh;
+@@ -520,7 +520,7 @@
+ return 0;
+ }
+
+-private void
++static void
+ epag_rect_add(EpagPageCont *cont,int start,int end)
+ {
+ int x0 = start * cont->bw;
+@@ -544,7 +544,7 @@
+ }
+ }
+
+-private void
++static void
+ epag_bubble_gen(EpagPageCont *cont, int x0, int x1, int y0, int y1)
+ {
+ EpagBubble *bbl;
+@@ -569,7 +569,7 @@
+ }
+ }
+
+-private void epag_bubble_flush(EpagPageCont *cont,EpagBubble *bbl)
++static void epag_bubble_flush(EpagPageCont *cont,EpagBubble *bbl)
+ {
+ int bx,bx0,bx1;
+
+@@ -588,7 +588,7 @@
+
+ /* イメージを出力 */
+
+-private void
++static void
+ epag_bubble_image_out(EpagPageCont *cont,EpagBubble *bbl)
+ {
+ FILE *fp = cont->fp;
diff --git a/print/ghostscript9/files/patch-lips:gdevlips.c b/print/ghostscript9/files/patch-lips:gdevlips.c
new file mode 100644
index 000000000000..95f8b06f4841
--- /dev/null
+++ b/print/ghostscript9/files/patch-lips:gdevlips.c
@@ -0,0 +1,18 @@
+--- contrib/lips4/gdevlips.c.orig Thu Nov 2 12:09:18 2000
++++ contrib/lips4/gdevlips.c Tue Jan 13 01:23:47 2004
+@@ -62,7 +62,15 @@
+ height = tmp;
+ }
+ for (pt = lips_paper_table; pt->num_unit < 80; pt++)
++/* add by shige 11/06 2003 */
++#ifdef USE_LIPS_SIZE_ERROR
++ if(pt->width+LIPS_SIZE_ERROR_VALUE>=width
++ && pt->width-LIPS_SIZE_ERROR_VALUE<=width
++ && pt->height+LIPS_SIZE_ERROR_VALUE>=height
++ && pt->height-LIPS_SIZE_ERROR_VALUE<=height)
++#else
+ if (pt->width == width && pt->height == height)
++#endif
+ break;
+
+ return pt->num_unit + landscape;
diff --git a/print/ghostscript9/files/patch-lips:gdevlips.h b/print/ghostscript9/files/patch-lips:gdevlips.h
new file mode 100644
index 000000000000..b3520ba1ac33
--- /dev/null
+++ b/print/ghostscript9/files/patch-lips:gdevlips.h
@@ -0,0 +1,17 @@
+--- contrib/lips4/gdevlips.h.orig Thu Nov 2 12:09:18 2000
++++ contrib/lips4/gdevlips.h Tue Jan 13 01:23:47 2004
+@@ -188,6 +188,14 @@
+ bool faceup;\
+ char mediaType[LIPS_MEDIACHAR_MAX];
+
++/* added by shige 11/06 2003 */
++#define USE_LIPS_SIZE_ERROR
++#define LIPS_SIZE_ERROR_VALUE 2
++
++/* added by shige 11/09 2003 */
++#define LIPS_HEIGHT_MAX_720 11906
++#define LIPS_WIDTH_MAX_720 8419
++
+ int lips_media_selection(int width, int height);
+ int lips_packbits_encode(byte * inBuff, byte * outBuff, int Length);
+ int lips_mode3format_encode(byte * inBuff, byte * outBuff, int Length);
diff --git a/print/ghostscript9/files/patch-psi-zicc.c b/print/ghostscript9/files/patch-psi-zicc.c
new file mode 100644
index 000000000000..98c4eed85c37
--- /dev/null
+++ b/print/ghostscript9/files/patch-psi-zicc.c
@@ -0,0 +1,12 @@
+--- psi/zicc.c
++++ psi/zicc.c 2008-02-05 16:11:59.000000000 +0000
+@@ -77,6 +77,9 @@ zseticcspace(i_ctx_t * i_ctx_p)
+ dict_find_string(op, "N", &pnval);
+ ncomps = pnval->value.intval;
+
++ if (2*ncomps > sizeof(range_buff)/sizeof(float))
++ return_error(e_rangecheck);
++
+ /* verify the DataSource entry */
+ if (dict_find_string(op, "DataSource", &pstrmval) <= 0)
+ return_error(e_undefined);
diff --git a/print/ghostscript9/files/pkg-message.in b/print/ghostscript9/files/pkg-message.in
new file mode 100644
index 000000000000..ac37ac57ae23
--- /dev/null
+++ b/print/ghostscript9/files/pkg-message.in
@@ -0,0 +1,7 @@
+Note: in order to use the script "dvipdf", dvips must be installed.
+This program may be provided by either print/dvips or print/dvipsk-tetex
+(print/dvipsk-tetex may be preferable since it doesn't conflict with
+tetex things).
+
+FAPIfontmap and FAPIcidfmap in %%DATADIR%%/%%PORTVERSION%%/Resource/Init
+have to be configured if you want to use FAPI feature.
diff --git a/print/ghostscript9/pkg-descr b/print/ghostscript9/pkg-descr
new file mode 100644
index 000000000000..a7234ce47bc0
--- /dev/null
+++ b/print/ghostscript9/pkg-descr
@@ -0,0 +1,22 @@
+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 is distributed with the GNU General Public License, which allows
+free use, and free copying and redistribution under certain conditions
+(including, in some cases, commercial distribution).
+
+This port includes add-on packages (not part of the official gs release)
+ o HP8XX driver for HP DeskJet 880C/882C/895C
+ - http://www.gelhaus.net/hp880c/
+ o PCL3 driver for HP DeskJet series
+ - http://home.vrweb.de/martin.lottermoser/pcl3.html
+ o DJ970 driver for HP DeskJet 970CXi
+ - http://www.harsch.net/Ghostscript/ghostscript.html
+ o Special drivers for verious printer models
+ - Alps, Canon, Epson, NEC, Lexmark, Ricoh,...
+ o Additional contributed uniprint driver profiles for
+ - Epson Stylus Color 740 and Epson LQ-1170
+
+WWW: http://www.cs.wisc.edu/~ghost/doc/GPL/index.htm
+ http://www.ghostscript.com/
diff --git a/print/ghostscript9/pkg-plist b/print/ghostscript9/pkg-plist
new file mode 100644
index 000000000000..1882d8b68aad
--- /dev/null
+++ b/print/ghostscript9/pkg-plist
@@ -0,0 +1,696 @@
+@comment $FreeBSD: /tmp/pcvs/ports/print/ghostscript9/pkg-plist,v 1.1 2011-05-23 20:58:46 hrs Exp $
+bin/bdftops
+bin/dumphint
+bin/dvipdf
+bin/eps2eps
+%%GS_dmprt%%bin/ert
+bin/fixmswrd.pl
+bin/font2c
+bin/gs
+bin/gsbj
+bin/gsc
+bin/gsdj
+bin/gsdj500
+bin/gslj
+bin/gslp
+bin/gsnd
+bin/gsx
+bin/lprsetup.sh
+%%GS_pcl3%%bin/pcl3opts
+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/ps2ps2
+bin/pv.sh
+bin/unix-lpr.sh
+bin/wftopfa
+include/ghostscript/gdevdsp.h
+include/ghostscript/iapi.h
+include/ghostscript/ierrors.h
+@dirrm include/ghostscript
+lib/libgs.so
+lib/libgs.so.%%SHLIB_VER%%
+lib/libgs.so.%%GS_VERSION%%
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-EUC-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-EUC-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-RKSJ-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78ms-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78ms-RKSJ-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/83pv-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90ms-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90ms-RKSJ-UCS2
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90ms-RKSJ-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90msp-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90msp-RKSJ-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90pv-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90pv-RKSJ-UCS2
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90pv-RKSJ-UCS2C
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90pv-RKSJ-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-RKSJ-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-0
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-1
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-2
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-3
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-4
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-5
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-6
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-B5pc
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-ETenms-B5
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-H-CID
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-H-Host
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-H-Mac
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-UCS2
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-0
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-1
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-2
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-3
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-4
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-5
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-GBK-EUC
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-GBpc-EUC
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-H-CID
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-H-Host
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-H-Mac
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-UCS2
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-0
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-1
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-2
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-3
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-4
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-5
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-6
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-90ms-RKSJ
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-90pv-RKSJ
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-H-CID
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-H-Host
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-H-Mac
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-PS-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-PS-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-UCS2
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan2-0
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-0
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-1
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-2
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-H-CID
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-H-Host
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-H-Mac
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-KSCms-UHC
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-KSCpc-EUC
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-UCS2
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5pc-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5pc-UCS2
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5pc-UCS2C
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5pc-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS-EUC-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS-EUC-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS01-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS02-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS03-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS04-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS05-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS06-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS07-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS1-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS1-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS15-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS2-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS2-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETHK-B5-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETHK-B5-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETen-B5-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETen-B5-UCS2
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETen-B5-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETenms-B5-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETenms-B5-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/EUC-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/EUC-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Ext-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Ext-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Ext-RKSJ-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Ext-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-EUC-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-EUC-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK-EUC-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK-EUC-UCS2
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK-EUC-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK2K-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK2K-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBKp-EUC-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBKp-EUC-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-EUC-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-EUC-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBTpc-EUC-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBTpc-EUC-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBpc-EUC-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBpc-EUC-UCS2
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBpc-EUC-UCS2C
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBpc-EUC-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HK-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKdla-B5-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKdla-B5-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKdlb-B5-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKdlb-B5-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKgccs-B5-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKgccs-B5-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKm314-B5-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKm314-B5-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKm471-B5-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKm471-B5-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKscs-B5-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKscs-B5-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hankaku
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hiragana
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hojo-EUC-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hojo-EUC-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hojo-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hojo-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hojo-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Identity-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Identity-UTF16-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Identity-UTF16-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Identity-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-EUC-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-EUC-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-Johab-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-Johab-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC2-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-HW-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-HW-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-UCS2
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCpc-EUC-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCpc-EUC-UCS2
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCpc-EUC-UCS2C
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCpc-EUC-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Katakana
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/NWP-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/NWP-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/RKSJ-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Roman
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/TCVN-RKSJ-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UCS2-90ms-RKSJ
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UCS2-90pv-RKSJ
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UCS2-B5pc
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UCS2-ETen-B5
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UCS2-GBK-EUC
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UCS2-GBpc-EUC
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UCS2-KSCms-UHC
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UCS2-KSCpc-EUC
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UCS2-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UCS2-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF16-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF16-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF32-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF32-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF8-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF8-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UCS2-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UCS2-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF16-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF16-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF32-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF32-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF8-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF8-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UCS2-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UCS2-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UTF16-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UTF16-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UTF32-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UTF32-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UTF8-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UTF8-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UCS2-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UCS2-HW-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UCS2-HW-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UCS2-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF16-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF16-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF32-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF32-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF8-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF8-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF16-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF16-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF32-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF32-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF8-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF8-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISPro-UCS2-HW-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISPro-UCS2-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISPro-UTF8-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISX0213-UTF32-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISX0213-UTF32-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISX02132004-UTF32-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISX02132004-UTF32-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UCS2-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UCS2-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF16-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF16-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF32-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF32-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF8-H
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF8-V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/V
+%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/WP-Symbol
+%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/DefaultCMYK
+%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/DefaultGray
+%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/DefaultRGB
+%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/TrivialCMYK
+%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/sGray
+%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/sRGB
+%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/FCO_Dingbats
+%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/FCO_Symbol
+%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/FCO_Unicode
+%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/FCO_Wingdings
+%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/Latin1
+%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/StandardEncoding
+%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/Unicode
+%%DATADIR%%/%%GS_VERSION%%/Resource/Encoding/Wingdings
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/CenturySchL-Bold
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/CenturySchL-BoldItal
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/CenturySchL-Ital
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/CenturySchL-Roma
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Dingbats
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusMonL-Bold
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusMonL-BoldObli
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusMonL-Regu
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusMonL-ReguObli
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusRomNo9L-Medi
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusRomNo9L-MediItal
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusRomNo9L-Regu
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusRomNo9L-ReguItal
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-Bold
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-BoldCond
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-BoldCondItal
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-BoldItal
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-Regu
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-ReguCond
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-ReguCondItal
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-ReguItal
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/StandardSymL
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWBookmanL-DemiBold
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWBookmanL-DemiBoldItal
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWBookmanL-Ligh
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWBookmanL-LighItal
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWChanceryL-MediItal
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWGothicL-Book
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWGothicL-BookObli
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWGothicL-Demi
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWGothicL-DemiObli
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWPalladioL-Bold
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWPalladioL-BoldItal
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWPalladioL-Ital
+%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWPalladioL-Roma
+%%DATADIR%%/%%GS_VERSION%%/iccprofiles/default_cmyk.icc
+%%DATADIR%%/%%GS_VERSION%%/iccprofiles/default_gray.icc
+%%DATADIR%%/%%GS_VERSION%%/iccprofiles/default_rgb.icc
+%%DATADIR%%/%%GS_VERSION%%/iccprofiles/lab.icc
+%%DATADIR%%/%%GS_VERSION%%/iccprofiles/ps_cmyk.icc
+%%DATADIR%%/%%GS_VERSION%%/iccprofiles/ps_gray.icc
+%%DATADIR%%/%%GS_VERSION%%/iccprofiles/ps_rgb.icc
+%%DATADIR%%/%%GS_VERSION%%/iccprofiles/sgray.icc
+%%DATADIR%%/%%GS_VERSION%%/iccprofiles/srgb.icc
+%%DATADIR%%/%%GS_VERSION%%/doc/API.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/C-style.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Changes.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Commprod.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/DLL.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Deprecated.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Details.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Details8.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Develop.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Devices.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Drivers.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Fonts.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Helpers.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Hershey.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/History1.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/History2.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/History3.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/History4.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/History5.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/History6.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/History7.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/History8.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Install.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Issues.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Language.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Lib.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Make.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/News.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Projects.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Ps-style.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Ps2epsi.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Ps2pdf.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Psfiles.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Readme.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Release.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Source.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Unix-lpr.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Use.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Xfonts.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/gs.css
+%%DATADIR%%/%%GS_VERSION%%/doc/index.html
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_ac1.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_aj1.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_ak1.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/gscjk_ac.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/gscjk_aj.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/iso2022.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_ag1.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_aj2.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/article9.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/gscjk_ag.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/gscjk_ak.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/iso2022v.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/alphabet.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/annots.pdf
+%%DATADIR%%/%%GS_VERSION%%/examples/chess.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/colorcir.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/doretree.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/escher.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/golfer.eps
+%%DATADIR%%/%%GS_VERSION%%/examples/grayalph.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/ridt91.eps
+%%DATADIR%%/%%GS_VERSION%%/examples/snowflak.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/tiger.eps
+%%DATADIR%%/%%GS_VERSION%%/examples/vasarely.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/waterfal.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIcidfmap
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIcidfmap.orig
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIconfig
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIconfig.orig
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIfontmap
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FCOfontmap-PCLPS2
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/Fontmap
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/Fontmap.GS
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/cidfmap
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/cidfmap.orig
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_agl.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_btokn.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cet.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cff.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cidcm.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_ciddc.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cidfm.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cidfn.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cidtt.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cmap.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cspace.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_css_e.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dbt_e.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_diskf.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_diskn.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dpnxt.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dps.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dps1.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dps2.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dscp.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_epsf.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_fapi.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_fntem.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_fonts.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_frsd.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_icc.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_il1_e.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_img.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_init.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_l2img.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_lev2.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_ll3.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_mex_e.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_mgl_e.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_mro_e.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_pdf_e.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_pdfwr.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_res.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_resmp.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_setpd.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_statd.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_std_e.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_sym_e.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_trap.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_ttf.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_typ32.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_typ42.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_type1.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_wan_e.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_base.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_cslayer.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_draw.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_font.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_main.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_ops.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_rbld.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_sec.ps
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/xlatmap
+@dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/Init
+%%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/CNS1-WMode
+%%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/GB1-WMode
+%%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/Japan1-WMode
+%%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/Korea1-WMode
+@dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID
+%%DATADIR%%/%%GS_VERSION%%/lib/ht_ccsto.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/acctest.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/addxchar.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/align.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/bdftops.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/caption.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/cid2code.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/decrypt.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/docie.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/dumphint.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/font2c.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/font2pcl.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gslp.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gsnup.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/image-qa.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/impath.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/jispaper.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/landscap.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/level1.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/lines.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/markhint.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/markpath.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/mkcidfm.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/PDFA_def.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/PDFX_def.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/packfile.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pcharstr.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pf2afm.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pfbtopfa.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/ppath.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pphs.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/prfont.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/printafm.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/ps2ai.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/ps2ascii.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/ps2epsi.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/quit.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/rollconv.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/showchar.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/showpage.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/stcinfo.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/stcolor.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/stocht.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/traceimg.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/traceop.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/type1enc.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/type1ops.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/uninfo.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/unprot.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/viewcmyk.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/viewgif.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/viewjpeg.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/viewmiff.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/viewpcx.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/viewpbm.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/viewps2a.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/winmaps.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/wftopfa.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/wrfont.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/zeroline.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pdf2dsc.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pdfopt.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_ce_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_cmdl.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_fform.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_il2_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_kanji.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_ksb_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_lgo_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_lgx_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_pfile.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_rdlin.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_wl1_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_wl2_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_wl5_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pdfwrite.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/cbjc600.ppd
+%%DATADIR%%/%%GS_VERSION%%/lib/cbjc800.ppd
+%%DATADIR%%/%%GS_VERSION%%/lib/ghostpdf.ppd
+%%DATADIR%%/%%GS_VERSION%%/lib/bj8.rpd
+%%DATADIR%%/%%GS_VERSION%%/lib/bj8gc12f.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bj8hg12f.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bj8oh06n.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bj8pa06n.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bj8pp12f.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bj8ts06n.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a0.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a1.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a2.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a3.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a4.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a5.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a6.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a7.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a8.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b1.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b2.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b3.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b4.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b6.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b7.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b8.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/cdj550.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/cdj690.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/cdj690ec.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/dnj750c.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/dnj750m.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/necp2x.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/necp2x6.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/ras1.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/ras24.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/ras3.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/ras32.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/ras4.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/ras8m.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/st640ih.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/st640ihg.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/st640p.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/st640pg.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/st640pl.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/st640plg.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc1520h.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc2.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc200_h.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc2_h.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc2s_h.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc300.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc300bl.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc300bm.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc500p.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc500ph.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc600ih.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc600p.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc600pl.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc640p.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc800ih.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc800p.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc800pl.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc_h.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc_l.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stcany.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stcany_h.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_l.xbm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_l_m.xbm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_m.xbm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_m_m.xbm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_s.xbm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_s_m.xbm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_t.xbm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_t_m.xbm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_l.xpm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_m.xpm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_s.xpm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_t.xpm
+%%DATADIR%%/%%GS_VERSION%%/lib/dmp_init.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/dmp_site.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/escp_24.src
+%%DATADIR%%/%%GS_VERSION%%/lib/PM760p.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/PM760pl.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/PM820p.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/PM820pl.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/Stc670p.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/Stc670pl.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/Stc680p.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/Stc680pl.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/Stc740p.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/Stc740pl.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/Stc760p.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/Stc760pl.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/Stc777p.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/Stc777pl.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/Stp720p.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/Stp720pl.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/Stp870p.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/Stp870pl.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc6000a1.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/bjc6000b1.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/s400a1.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/s400b1.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/sharp.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/sipixa6.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc740ih.upp
+%%GS_dmprt%%%%DATADIR%%/%%GS_VERSION%%/lib/lqx70ch.upp
+%%GS_dmprt%%%%DATADIR%%/%%GS_VERSION%%/lib/lqx70cl.upp
+%%GS_dmprt%%%%DATADIR%%/%%GS_VERSION%%/lib/lqx70cm.upp
+%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/calign.ps
+%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/dumppdd.ps
+%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/example.mcf
+%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/if-pcl3
+%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/levels-test.ps
+%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-A4.ps
+%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-A4Rotated.ps
+%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-Env10Rotated.ps
+%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-EnvDLRotated.ps
+%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-Letter.ps
+%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-LetterRotated.ps
+%%CIDFONTDIR%%/CIDFont
+%%GS_pcl3%%@dirrm %%DATADIR%%/%%GS_VERSION%%/pcl3
+@dirrm %%DATADIR%%/%%GS_VERSION%%/lib
+@dirrm %%DATADIR%%/%%GS_VERSION%%/examples/cjk
+@dirrm %%DATADIR%%/%%GS_VERSION%%/examples
+@dirrm %%DATADIR%%/%%GS_VERSION%%/doc
+@dirrm %%DATADIR%%/%%GS_VERSION%%/iccprofiles
+@dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/Font
+@dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/Encoding
+@dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/Decoding
+@dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace
+@dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/CMap
+@dirrm %%DATADIR%%/%%GS_VERSION%%/Resource
+@dirrmtry %%DATADIR%%/%%GS_VERSION%%
+@dirrmtry %%DATADIR%%