aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2008-06-21 02:07:50 +0800
committerhrs <hrs@FreeBSD.org>2008-06-21 02:07:50 +0800
commit0ce45d49f794086cb906477640663d611cccf768 (patch)
treebda2742b1cd14069bbc70828c168f2095e014538 /print
parent2ca7d0039979c2fecb8e8f56803f6caa23e883c1 (diff)
downloadfreebsd-ports-gnome-0ce45d49f794086cb906477640663d611cccf768.tar.gz
freebsd-ports-gnome-0ce45d49f794086cb906477640663d611cccf768.tar.zst
freebsd-ports-gnome-0ce45d49f794086cb906477640663d611cccf768.zip
Major overhaul of Makefile:
- Use OPTIONS for driver selection. - Split driver-specific procedure into files/Makefile.* - Use configure script and Makefile.in. - Fix installation directory of document files.
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript7/Makefile797
-rw-r--r--print/ghostscript7/Makefile.drivers296
-rw-r--r--print/ghostscript7/files/Makefile.alps21
-rw-r--r--print/ghostscript7/files/Makefile.bj10v20
-rw-r--r--print/ghostscript7/files/Makefile.bjc25023
-rw-r--r--print/ghostscript7/files/Makefile.cdj88012
-rw-r--r--print/ghostscript7/files/Makefile.cdj97012
-rw-r--r--print/ghostscript7/files/Makefile.cpca12
-rw-r--r--print/ghostscript7/files/Makefile.dmprt28
-rw-r--r--print/ghostscript7/files/Makefile.epag33
-rw-r--r--print/ghostscript7/files/Makefile.eplaser27
-rw-r--r--print/ghostscript7/files/Makefile.gdi18
-rw-r--r--print/ghostscript7/files/Makefile.gprint43
-rw-r--r--print/ghostscript7/files/Makefile.lex700019
-rw-r--r--print/ghostscript7/files/Makefile.lips28
-rw-r--r--print/ghostscript7/files/Makefile.lx500012
-rw-r--r--print/ghostscript7/files/Makefile.lxm320023
-rw-r--r--print/ghostscript7/files/Makefile.md2k24
-rw-r--r--print/ghostscript7/files/Makefile.mjc27
-rw-r--r--print/ghostscript7/files/Makefile.pcl337
-rw-r--r--print/ghostscript7/files/patch-src-Makefile.in96
-rw-r--r--print/ghostscript7/files/patch-src-contrib.mak7
-rw-r--r--print/ghostscript7/files/patch-src:dmp_site.ps2
-rw-r--r--print/ghostscript7/pkg-plist651
-rw-r--r--print/ghostscript7/scripts/configure384
25 files changed, 1371 insertions, 1281 deletions
diff --git a/print/ghostscript7/Makefile b/print/ghostscript7/Makefile
index fb60cc6f55fc..2823d3cbb9fb 100644
--- a/print/ghostscript7/Makefile
+++ b/print/ghostscript7/Makefile
@@ -7,48 +7,16 @@
PORTNAME= ghostscript7
PORTVERSION= 7.07
-PORTREVISION= 19
+PORTREVISION= 20
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:gs_srcs,gprint,bjc250/} \
- http://www.gelhaus.net/hp880c/1.4beta/:hp8xx \
- http://home.vrweb.de/~martin.lottermoser/pcl3dist/:pcl3 \
- http://www.harsch.net/Download/:dj970 \
- http://www33.ocn.ne.jp/~higamasa/gdevmd2k/:md2k \
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:gs_srcs/} \
${MASTER_SITE_PORTS_JP:S/$/:ports_jp,ports_jp_gs/} \
- ftp://download.canon-sales.co.jp/pub/driver/lasershot/linux/:cpca \
- http://www.ucatv.ne.jp/~taeko/software/gs/:lips \
- http://www.humblesoft.com/pub/:epag \
- ${MASTER_SITE_LOCAL}:eplaser \
- http://www.linuxprinting.org/download/printing/samsung-gdi/:gdi \
- http://www.linuxprinting.org/download/printing/:lxm3200 \
- http://homepage.powerup.com.au/~pbwest/lexmark/:lx5000 \
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/gs${PORTVERSION:S/.//}/:gs_srcs
MASTER_SITE_SUBDIR= ghostscript/:gs_srcs,ports_jp_gs \
- gimp-print/:gprint \
- bjc250gs/:bjc250 \
- ./:ports_jp \
- arved/:eplaser
+ ./:ports_jp
DISTNAME= ${PORTNAME:S,7$,,}-${PORTVERSION}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs \
- ${HP8XX_SRCS}:hp8xx \
- ${PCL3_SRCS}:pcl3 \
- ${DJ970_SRCS}:dj970 \
- ${GPRINT_SRCS}:gprint \
- ${MD2K_SRCS}:md2k \
- ${ALPS_SRCS}:ports_jp_gs \
- ${BJ10V_SRCS}:ports_jp_gs \
- ${BJC250_SRCS}:bjc250 \
- ${CPCA_SRCS}:cpca \
- ${LIPS_SRCS}:lips \
- ${DMPRT_SRCS}:ports_jp_gs \
- ${EPAG_SRCS}:epag \
- ${EPLASER_SRCS}:eplaser \
- ${MJC_SRCS}:ports_jp \
- ${GDI_SRCS}:gdi \
- ${LXM3200_SRCS}:lxm3200 \
- ${LX5000_SRCS}:lx5000 \
- ${LEX7000_SRCS}:lx5000
-DIST_SUBDIR= ghostscript
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs
+DIST_SUBDIR= ${PORTNAME:S,7$,,}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= doceng@FreeBSD.org
@@ -59,20 +27,26 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts
# normazile WRKSRC so things like cups-pstoraster may work
-WRKSRC= ${WRKDIR}/${PORTNAME}
+WRKSRC= ${WRKDIR}/${PORTNAME:S,7$,,}
DATADIR= ${PREFIX}/share/${PORTNAME:S,7$,,}
CONFLICTS= gambc-* ghostscript8-*
USE_BZIP2= yes
USE_GMAKE= yes
+GNU_CONFIGURE= yes
MAKE_ENV= CC="${CC}" CXX="${CXX}" CFLAGS_STANDARD="${CFLAGS}" \
- XCFLAGS="${XCFLAGS}"
+ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \
+ EXTRALIBS="${EXTRALIBS}"
+CONFIGURE_ENV= ${MAKE_ENV} \
+ CPPFLAGS="-DUPD_SIGNAL=0 -I. -I${WRKSRC}/gimp-print -I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
+ LDFLAGS="${XLDFLAGS}"
+CONFIGURE_ARGS= --disable-compile-inits \
+ --with-ijs
PLIST_SUB= GS_VERSION="${PORTVERSION}"
-SCRIPTS_ENV= GS_DRIVERS_LIST="${GS_DRIVERS_LIST}" \
- WITHOUT_X11="${WITHOUT_X11}" \
- WITH_SVGALIB="${WITH_SVGALIB}"
+OPTIONS= A4SIZE "Set A4 (not Letter) as a default paper size" off \
+ X11 "X11 support" on
MAN1= ansi2knr.1 dvipdf.1 font2c.1 gs.1 gslp.1 gsnd.1 pdf2dsc.1 \
pdf2ps.1 pdfopt.1 pf2afm.1 pfbtopfa.1 printafm.1 ps2ascii.1 \
@@ -85,22 +59,77 @@ MLINKS= gslp.1 gsbj.1 \
ps2pdf.1 ps2pdf13.1 \
ps2ps.1 eps2eps.1
-XCFLAGS= -DUPD_SIGNAL=0
+XCFLAGS= ${PTHREAD_CFLAGS}
+XLDFLAGS= -L${LOCALBASE}/lib -L${WRKSRC}/gimp-print ${PTHREAD_LIBS}
-.if defined(A4)
-XCFLAGS+= -DA4
-.endif
+.include "Makefile.drivers"
+.include <bsd.port.pre.mk>
-.if defined(WITHOUT_X11)
-PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nox11
-CONFLICTS+= ghostscript7-[0-9]*
+post-extract-all:
+ ${LN} -sf ${WRKDIR}/${DISTNAME} ${WRKDIR}/${PORTNAME:S,7$,,}
+
+post-extract: post-extract-all
+
+.for D in ${OPTIONS:MGS_*:S/^GS_//}
+.if !defined(WITHOUT_GS_${D})
+PLIST_SUB+= GS_${D}=""
.else
-USE_XORG= xt xext
-CONFLICTS+= ghostscript7-nox11-[0-9]*
+PLIST_SUB+= GS_${D}="@comment "
.endif
+.endfor
-.if defined(WITH_SVGALIB)
+.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(WITH_GS_lvga256) \
+ || defined(WITH_GS_vgalib)
+. if defined(WITHOUT_SVGALIB)
+. warning drivers incompatible with WITHOUT_SVGALIB will be removed automatically
+. undef WITH_GS_lvga256
+. undef WITH_GS_vgalib
+. else
LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
+. endif
+.endif
+
+.if defined(WITH_GS_x11) \
+ || defined(WITH_GS_x11alpha) \
+ || defined(WITH_GS_x11cmyk) \
+ || defined(WITH_GS_x11cmyk2) \
+ || defined(WITH_GS_x11cmyk4) \
+ || defined(WITH_GS_x11cmyk8) \
+ || defined(WITH_GS_x11gray2) \
+ || defined(WITH_GS_x11gray4) \
+ || defined(WITH_GS_x11mono) \
+ || defined(WITH_GS_x11rg16x) \
+ || defined(WITH_GS_x11rg32x)
+. if defined(WITHOUT_X11)
+. warning drivers incompatible with WITHOUT_X11 will be removed automatically
+. undef WITH_GS_x11
+. undef WITH_GS_x11alpha
+. undef WITH_GS_x11cmyk
+. undef WITH_GS_x11cmyk2
+. undef WITH_GS_x11cmyk4
+. undef WITH_GS_x11cmyk8
+. undef WITH_GS_x11gray2
+. undef WITH_GS_x11gray4
+. undef WITH_GS_x11mono
+. undef WITH_GS_x11rg16x
+. undef WITH_GS_x11rg32x
+. endif
+USE_XORG= xt xext
+CONFIGURE_ARGS+=--with-x \
+ --x-includes=${X11BASE}/include \
+ --x-libraries=${X11BASE}/lib
+CONFLICTS+= ghostscript7-nox11-[0-9]*
+.else
+PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nox11
+CONFIGURE_ARGS+=--without-x
+CONFLICTS+= ghostscript7-[0-9]*
.endif
.if defined(WITH_SHLIB)
@@ -117,220 +146,151 @@ ALL_TARGET= all pcl3opts
PLIST_SUB+= SHLIB="@comment "
.endif
-# Additional Drivers:
-
-# HP8XX - additional driver for HP DeskJet 812C/815C/832C/880C/882C/895C
-# http://www.gelhaus.net/hp880c/
-HP8XX= cdj880
-HP8XX_SRCS= gdevcd8.tar.gz
-
-# PCL3 - additional driver for HP PCL3 printers, by Martin Lottermoser
-# http://home.vrweb.de/martin.lottermoser/pcl3.html
-PCL3= pcl3
-PCL3_VERS= 3.3
-PCL3_NAME= ${PCL3}-${PCL3_VERS}
-PCL3_SRCS= ${PCL3_NAME}.tar.gz
-PCL3_MAN1= gs-pcl3.1 pcl3opts.1
-MAN1+= ${PCL3_MAN1}
-
-# DJ970 - additional driver for HP DeskJet 970, supports duplex printing
-# http://www.harsch.net/Ghostscript/ghostscript.html
-DJ970= gdevdj9
-DJ970_SRCS= ${DJ970}.c.gz
-
-# Gimp-Print - very high quality driver for Epson, HPs,...
-# http://gimp-print.sourceforge.net/
-#
-# NOTE:
-# Support of stp driver interface has already been discontinued, and using
-# ijs driver with ijsgimpprint (part of print/gimp-print port) is highly
-# recommended.
-#
-# For that reason, integration of stp driver is disabled by default.
-GPRINT= gimp-print
-GPRINT_VERS= 4.2.7
-GPRINT_NAME= ${GPRINT}-${GPRINT_VERS}
-GPRINT_SRCS= ${GPRINT_NAME}.tar.gz
-
-# MD2K - additional driver for Alps MD-2000/2010/4000/1300/1500/5000
-# http://www33.ocn.ne.jp/~higamasa/gdevmd2k/
-MD2K= md2k
-MD2K_VERS= 0.2a
-MD2K_NAME= gdevmd2k-${MD2K_VERS}
-MD2K_SRCS= ${MD2K_NAME}.tar.gz
-
-# ALPS - additional driver for Alps MD-5000
-ALPS= alps
-ALPS_VERS= 0.2
-ALPS_NAME= gdevalps-${ALPS_VERS}
-ALPS_SRCS= gdevalps-0.21.tar.gz
-
-# BJ10V - additional driver for Canon BJ-10V
-BJ10V= bj10v
-BJ10V_NAME= gdev10v
-BJ10V_SRCS= ${BJ10V_NAME}.tar.gz
-
-# BJC250 - additional driver for Canon BJC-210/240/250/265/1000
-# http://bjc250gs.sourceforge.net/
-BJC250= bjc250
-BJC250_VERS= 0.756
-BJC250_NAME= ${BJC250}-v${BJC250_VERS}
-BJC250_SRCS= gs7.05-${BJC250_NAME}.diff.gz
-
-# CPCA - additional driver for Canon CPCA printers
-# http://cweb.canon.jp/open-mie/technical/index-j.html
-CPCA= cpca
-CPCA_VERS= 1.0.0
-CPCA_NAME= canon-lips4-${CPCA_VERS}
-CPCA_SRCS= ${CPCA_NAME}-651.tgz
-
-# LIPS - additional driver for Canon LIPS II+/III/IVc/IV printers
-# http://www.ucatv.ne.jp/~taeko/software/gs/
-LIPS= lips
-LIPS_VERS= 2.4.0
-LIPS_NAME= gdevlips-${LIPS_VERS}
-LIPS_SRCS= ${LIPS_NAME}.tar.gz
-
-# DMPRT - additional driver for generic dot matrix printers
-DMPRT= dmprt
-DMPRT_VERS= 2.01
-DMPRT_NAME= ${DMPRT}-${DMPRT_VERS}
-DMPRT_SRCS= ${DMPRT_NAME}.tar.gz
-
-# EPAG - additional driver for Epson ESC/Page printers
-# http://www.humblesoft.com/gdevepag.html
-EPAG= epag
-EPAG_VERS= 3.09
-EPAG_NAME= ${EPAG}-${EPAG_VERS}
-EPAG_SRCS= ${EPAG_NAME}.tar.gz
-
-# EPLASER - additional driver for ESC/Page printers, by EPSON AVASYS Corp.
-# http://www.avasys.jp/english/linux_e/index.html
-EPLASER= eplaser
-EPLASER_VERS= 3.1.4
-EPLASER_NAME= ${EPLASER}-${EPLASER_VERS}
-EPLASER_SRCS= ${EPLASER_NAME}-705.tgz
-
-# MJC - additional driver for Epson MachJet series
-MJC= mjc
-MJC_VERS= 0.8
-MJC_NAME= gdevmjc-${MJC_VERS}
-MJC_SRCS= ${MJC_NAME}.tar.gz
-
-# GDI - additional driver for Samsung SmartGDI laser printers
-GDI= gdi
-GDI_NAME= Samsung-SmartGDI-all-GS
-GDI_SRCS= ${GDI_NAME}.orig.tar.gz
-
-# LXM3200 - additional driver for Lexmark 3200/Z12/Z22/Z31/Z32
-LXM3200= lxm3200
-LXM3200_VERS= 20030501
-LXM3200_NAME= ${LXM3200}-tweaked-${LXM3200_VERS}
-LXM3200_SRCS= ${LXM3200_NAME}.tar.gz
-
-# LX5000 - additional driver for Lexmark 5000/Z51/Z82
-# http://homepage.powerup.com.au/~pbwest/lexmark/lexmark.html
-LX5000= lx5000
-LX5000_SRCS= gdevlx50.c
-
-# LEX7000 - additional driver for Lexmark 2050/3200/5700/7000
-# http://bimbo.fjfi.cvut.cz/~paluch/l7kdriver/
-LEX7000= lex7000
-LEX7000_SRCS= gs6.0.lexmark7000.patch
+.if !defined(WITHOUT_GS_cdj670) \
+ && !defined(WITHOUT_GS_cdj850) \
+ && !defined(WITHOUT_GS_cdj880) \
+ && !defined(WITHOUT_GS_cdj890) \
+ && !defined(WITHOUT_GS_cdj1600)
+.include "${FILESDIR}/Makefile.cdj880"
+.endif
+.if !defined(WITHOUT_GS_pcl3)
+.include "${FILESDIR}/Makefile.pcl3"
+.endif
+.if !defined(WITHOUT_GS_cdj970)
+.include "${FILESDIR}/Makefile.cdj970"
+.endif
+
+.include "${FILESDIR}/Makefile.gprint"
+
+.if !defined(WITHOUT_GS_md2k) && !defined(WITHOUT_GS_md5k)
+.include "${FILESDIR}/Makefile.md2k"
+.endif
+
+.if !defined(WITHOUT_GS_md50Mono) \
+ && !defined(WITHOUT_GS_md50Eco) \
+ && !defined(WITHOUT_GS_md1xMono)
+.include "${FILESDIR}/Makefile.alps"
+.endif
+
+.if !defined(WITHOUT_GS_bj10v) && !defined(WITHOUT_bj10vh)
+.include "${FILESDIR}/Makefile.bj10v"
+.endif
+
+.if !defined(WITHOUT_GS_bjccmyk) \
+ && !defined(WITHOUT_GS_bjccolor) \
+ && !defined(WITHOUT_GS_bjcgray) \
+ && !defined(WITHOUT_GS_bjcmono)
+.include "${FILESDIR}/Makefile.bjc250"
+.endif
+
+.if !defined(WITHOUT_GS_lbp1310) \
+ && !defined(WITHOUT_GS_lbp1510) \
+ && !defined(WITHOUT_GS_lbp1610) \
+ && !defined(WITHOUT_GS_lbp1710) \
+ && !defined(WITHOUT_GS_lbp1810) \
+ && !defined(WITHOUT_GS_lbp1910)
+.include "${FILESDIR}/Makefile.cpca"
+.endif
+
+.if !defined(WITHOUT_GS_lips2p) \
+ && !defined(WITHOUT_GS_lips3) \
+ && !defined(WITHOUT_GS_lips4) \
+ && !defined(WITHOUT_GS_bjc880j) \
+ && !defined(WITHOUT_GS_lips4v) \
+ && !defined(WITHOUT_GS_escpage) \
+ && !defined(WITHOUT_GS_lp2000) \
+ && !defined(WITHOUT_GS_npdl) \
+ && !defined(WITHOUT_GS_rpdl)
+.include "${FILESDIR}/Makefile.lips"
+.endif
+
+.if !defined(WITHOUT_GS_dmprt)
+.include "${FILESDIR}/Makefile.dmprt"
+.endif
+
+.if !defined(WITHOUT_GS_epag)
+.include "${FILESDIR}/Makefile.epag"
+.endif
+
+.if !defined(WITHOUT_GS_alc8600) \
+ && !defined(WITHOUT_GS_alc8500) \
+ && !defined(WITHOUT_GS_alc2000) \
+ && !defined(WITHOUT_GS_alc4000) \
+ && !defined(WITHOUT_GS_alc1900) \
+ && !defined(WITHOUT_GS_alc4100) \
+ && !defined(WITHOUT_GS_lp9800c) \
+ && !defined(WITHOUT_GS_lp9000c) \
+ && !defined(WITHOUT_GS_lp9500c) \
+ && !defined(WITHOUT_GS_lp8800c) \
+ && !defined(WITHOUT_GS_lp8300c) \
+ && !defined(WITHOUT_GS_lp8500c) \
+ && !defined(WITHOUT_GS_lp3000c) \
+ && !defined(WITHOUT_GS_lp8200c) \
+ && !defined(WITHOUT_GS_lp8000c) \
+ && !defined(WITHOUT_GS_epl6100) \
+ && !defined(WITHOUT_GS_epl5900) \
+ && !defined(WITHOUT_GS_epl5800) \
+ && !defined(WITHOUT_GS_epl2050) \
+ && !defined(WITHOUT_GS_epl2050p) \
+ && !defined(WITHOUT_GS_epl2120) \
+ && !defined(WITHOUT_GS_epl2500) \
+ && !defined(WITHOUT_GS_epl2750) \
+ && !defined(WITHOUT_GS_lp9000b) \
+ && !defined(WITHOUT_GS_lp2500) \
+ && !defined(WITHOUT_GS_lp9100) \
+ && !defined(WITHOUT_GS_lp7900) \
+ && !defined(WITHOUT_GS_lp7500) \
+ && !defined(WITHOUT_GS_lp2400) \
+ && !defined(WITHOUT_GS_lp2200) \
+ && !defined(WITHOUT_GS_lp9400) \
+ && !defined(WITHOUT_GS_lp8900) \
+ && !defined(WITHOUT_GS_lp8700) \
+ && !defined(WITHOUT_GS_lp8100) \
+ && !defined(WITHOUT_GS_lp7700) \
+ && !defined(WITHOUT_GS_lp8600f) \
+ && !defined(WITHOUT_GS_lp8400f) \
+ && !defined(WITHOUT_GS_lp8300f) \
+ && !defined(WITHOUT_GS_lp1900) \
+ && !defined(WITHOUT_GS_lp9600s) \
+ && !defined(WITHOUT_GS_lp9300) \
+ && !defined(WITHOUT_GS_lp9600) \
+ && !defined(WITHOUT_GS_lp8600) \
+ && !defined(WITHOUT_GS_lp1800)
+.include "${FILESDIR}/Makefile.eplaser"
+.endif
+
+.if !defined(WITHOUT_GS_mjc180) \
+ && !defined(WITHOUT_GS_mjc360) \
+ && !defined(WITHOUT_GS_mjc720) \
+ && !defined(WITHOUT_GS_mj500c)
+.include "${FILESDIR}/Makefile.mjc"
+.endif
+
+.if !defined(WITHOUT_GS_gdi)
+.include "${FILESDIR}/Makefile.gdi"
+.endif
+
+.if !defined(WITHOUT_GS_lxm3200)
+.include "${FILESDIR}/Makefile.lxm3200"
+.endif
+
+.if !defined(WITHOUT_GS_lx5000)
+.include "${FILESDIR}/Makefile.lx5000"
+.endif
+
+.if !defined(WITHOUT_GS_lex2050) \
+ && !defined(WITHOUT_GS_lex3200) \
+ && !defined(WITHOUT_GS_lex5700) \
+ && !defined(WITHOUT_GS_lex7000)
+.include "${FILESDIR}/Makefile.lex7000"
+.endif
# contributed uniprint profiles
CONTRIB_UPP= lqx70ch.upp lqx70cl.upp lqx70cm.upp \
stc740ih.upp stc740p.upp stc740pl.upp
-.include <bsd.port.pre.mk>
-.SILENT:
-
pre-everything::
-.if !defined(A4)
- ${ECHO_MSG} "Type \"make A4=yes\" if you want -DA4 for compilation."
-.else
- ${ECHO_MSG} "Using -DA4 for compilation."
-.endif
-
-post-extract:
- ${ECHO_MSG} ">>> in post-extract ..."
-# normalize WRKSRC so things like cups-pstoraster may work
- ${LN} -sf ${WRKDIR}/${DISTNAME} ${WRKDIR}/${PORTNAME}
-# ** 3rd party driver **
-# Note: don't forget to add those devices in scripts/configure,
-# which update unix-gcc.mak to build gs with these new devices!
-#
-# for HP8XX driver
- ${ECHO_MSG} ">>> extracting ${HP8XX_SRCS} ..."
- ${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${DIST_SUBDIR}/${HP8XX_SRCS}
-# for PCL3 driver
- ${ECHO_MSG} ">>> extracting ${PCL3_SRCS} ..."
- ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${PCL3_SRCS}
- ${LN} -sf ${PCL3_NAME} ${WRKSRC}/${PCL3}
- ${TAR} -C ${WRKSRC}/${PCL3_NAME} -xf \
- ${WRKSRC}/${PCL3_NAME}/${PCL3}.tar
-# for DJ970 driver
- ${ECHO_MSG} ">>> extracting ${DJ970_SRCS} ..."
- ${CP} ${DISTDIR}/${DIST_SUBDIR}/${DJ970_SRCS} ${WRKSRC}/src
- ${GUNZIP_CMD} ${WRKSRC}/src/${DJ970_SRCS}
-# for Gimp-Print driver
- ${ECHO_MSG} ">>> extracting ${GPRINT_SRCS} ..."
- ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GPRINT_SRCS}
-# for MD2K driver
- ${ECHO_MSG} ">>> extracting ${MD2K_SRCS} ..."
- ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${MD2K_SRCS}
- ${LN} -sf ${MD2K_NAME} ${WRKSRC}/${MD2K}
-# for ALPS driver
- ${ECHO_MSG} ">>> extracting ${ALPS_SRCS} ..."
- ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${ALPS_SRCS}
- ${LN} -sf ${ALPS_NAME} ${WRKSRC}/${ALPS}
-# for BJ10V driver
- ${ECHO_MSG} ">>> extracting ${BJ10V_SRCS} ..."
- ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${BJ10V_SRCS}
-# for BJC250 driver
- ${ECHO_MSG} ">>> extracting ${BJC250_SRCS} ..."
- ${MKDIR} ${WRKSRC}/${BJC250_NAME}/src
- ${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/${BJC250_SRCS} | \
- ${PATCH} -d ${WRKSRC}/${BJC250_NAME} -f -s -N -E -p1 \
- 2>/dev/null || ${TRUE}
- ${LN} -sf ${BJC250_NAME} ${WRKSRC}/${BJC250}
-# for CPCA driver
- ${ECHO_MSG} ">>> extracting ${CPCA_SRCS} ..."
- ${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${DIST_SUBDIR}/${CPCA_SRCS}
-# for LIPS driver
- ${ECHO_MSG} ">>> extracting ${LIPS_SRCS} ..."
- ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${LIPS_SRCS}
- ${LN} -sf ${LIPS_NAME} ${WRKSRC}/${LIPS}
-# for DMPRT driver
- ${ECHO_MSG} ">>> extracting ${DMPRT_SRCS} ..."
- ${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${DIST_SUBDIR}/${DMPRT_SRCS}
-# for EPAG driver
- ${ECHO_MSG} ">>> extracting ${EPAG_SRCS} ..."
- ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EPAG_SRCS}
-# for EPLASER driver
- ${ECHO_MSG} ">>> extracting ${EPLASER_SRCS} ..."
- ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EPLASER_SRCS}
- ${LN} -sf ${EPLASER_NAME} ${WRKSRC}/${EPLASER}
-# for MJC driver
- ${ECHO_MSG} ">>> extracting ${MJC_SRCS} ..."
- ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${MJC_SRCS}
- ${LN} -sf ${MJC_NAME} ${WRKSRC}/${MJC}
-# for GDI driver
- ${ECHO_MSG} ">>> extracting ${GDI_SRCS} ..."
- ${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${DIST_SUBDIR}/${GDI_SRCS}
-# for LXM3200 driver
- ${ECHO_MSG} ">>> extracting ${LXM3200_SRCS} ..."
- ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${LXM3200_SRCS}
- ${LN} -sf ${LXM3200_NAME} ${WRKSRC}/${LXM3200}
-# for LX5000 driver
- ${ECHO_MSG} ">>> extracting ${LX5000_SRCS} ..."
- ${CP} ${DISTDIR}/${DIST_SUBDIR}/${LX5000_SRCS} ${WRKSRC}/src
-# for LEX7000 driver
- ${ECHO_MSG} ">>> extracting ${LEX7000_SRCS} ..."
- ${MKDIR} ${WRKSRC}/${LEX7000}
- ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${LEX7000_SRCS} | \
- ${PATCH} -d ${WRKSRC}/${LEX7000} -f -s -N -E -p1 \
- 2>/dev/null || ${TRUE}
+ @${ECHO_MSG} ${MSG_PAPERSIZE}
post-patch:
${REINPLACE_CMD} -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
@@ -339,312 +299,45 @@ post-patch:
${WRKSRC}/src/unixinst.mak
${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' \
${WRKSRC}/lib/gs_res.ps
-# for DMPRT driver
- ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g ; \
- s|%%PORTVERSION%%|${PORTVERSION}|g' \
- ${WRKSRC}/src/dmp_site.ps
-
-# here we apply the modifications necessary to build the 3rd party drivers
-# advantage: you see unmodified makefiles after a pure make extract
-pre-configure:
- ${ECHO_MSG} ">>> in pre-configure ..."
-# for HP8XX driver
- ${ECHO_MSG} ">>> adding ${HP8XX} driver to contrib.mak ..."
- ${CAT} ${FILESDIR}/cdj850.contrib.mak \
- >> ${WRKSRC}/src/contrib.mak
-# for PCL3 driver
- ${ECHO_MSG} ">>> adding ${PCL3} driver to contrib.mak ..."
- ${CAT} ${WRKSRC}/${PCL3_NAME}/src/contrib.mak-7.00.add \
- >> ${WRKSRC}/src/contrib.mak
-# for Gimp-Print driver
- ${ECHO_MSG} ">>> adding ${GPRINT} driver to contrib.mak ..."
- ${CAT} ${FILESDIR}/stp.contrib.mak \
- >> ${WRKSRC}/src/contrib.mak
-# for MD2K driver
- ${ECHO_MSG} ">>> adding ${MD2K} driver to contrib.mak ..."
- ${CAT} ${WRKSRC}/${MD2K_NAME}/gdevmd2k.mak-5.50 \
- >> ${WRKSRC}/src/contrib.mak
-# for ALPS driver
- ${ECHO_MSG} ">>> adding ${ALPS} driver to contrib.mak ..."
- ${CAT} ${WRKSRC}/${ALPS_NAME}/gdevalps.mak-5.50 \
- >> ${WRKSRC}/src/contrib.mak
-# for BJ10V driver
- ${ECHO_MSG} ">>> adding ${BJ10V} driver to contrib.mak ..."
- ${CAT} ${WRKSRC}/${BJ10V_NAME}/gdev10v.mak \
- >> ${WRKSRC}/src/contrib.mak
-# for BJC250 driver
- ${ECHO_MSG} ">>> adding ${BJC250} driver to contrib.mak ..."
- ${CAT} ${FILESDIR}/bjc250.contrib.mak \
- >> ${WRKSRC}/src/contrib.mak
-# for CPCA driver
- ${ECHO_MSG} ">>> adding ${CPCA} driver to contrib.mak ..."
- ${CAT} ${WRKSRC}/src/cpca_gdev.mak \
- >> ${WRKSRC}/src/contrib.mak
-# for LIPS driver
- ${ECHO_MSG} ">>> adding ${LIPS} driver to contrib.mak ..."
- ${CAT} ${WRKSRC}/${LIPS_NAME}/gdevlips.mak \
- >> ${WRKSRC}/src/contrib.mak
-# for DMPRT driver
- ${ECHO_MSG} ">>> adding ${DMPRT} driver to contrib.mak ..."
- ${CAT} ${WRKSRC}/src/gdevdmpr.mak \
- >> ${WRKSRC}/src/contrib.mak
-# for EPAG driver
- ${ECHO_MSG} ">>> adding ${EPAG} driver to contrib.mak ..."
- ${CAT} ${FILESDIR}/epag.contrib.mak \
- >> ${WRKSRC}/src/contrib.mak
-# for EPLASER driver
- ${ECHO_MSG} ">>> adding ${EPLASER} driver to contrib.mak ..."
- ${CAT} ${WRKSRC}/${EPLASER_NAME}/gdevescv7.mak \
- >> ${WRKSRC}/src/contrib.mak
- ${CAT} ${WRKSRC}/${EPLASER_NAME}/gdevesmv7.mak \
- >> ${WRKSRC}/src/contrib.mak
-# for MJC driver
- ${ECHO_MSG} ">>> adding ${MJC} driver to contrib.mak ..."
- ${CAT} ${WRKSRC}/${MJC_NAME}/gdevmjc.mak \
- >> ${WRKSRC}/src/contrib.mak
-# for GDI driver
- ${ECHO_MSG} ">>> adding ${GDI} driver to contrib.mak ..."
- ${CAT} ${WRKSRC}/src/smartgdi-contrib.mak \
- >> ${WRKSRC}/src/contrib.mak
-# for LXM3200 driver
- ${ECHO_MSG} ">>> adding ${LXM3200} driver to contrib.mak ..."
- ${CAT} ${FILESDIR}/lxm3200.contrib.mak \
- >> ${WRKSRC}/src/contrib.mak
-# for LX5000 driver
- ${ECHO_MSG} ">>> adding ${LX5000} driver to contrib.mak ..."
- ${CAT} ${FILESDIR}/lx5000.contrib.mak \
- >> ${WRKSRC}/src/contrib.mak
-# for LEX7000 driver
- ${ECHO_MSG} ">>> adding ${LEX7000} driver to contrib.mak ..."
- ${CAT} ${FILESDIR}/lex7000.contrib.mak \
- >> ${WRKSRC}/src/contrib.mak
-
-post-configure:
- ${ECHO_MSG} ">>> in post-configure ..."
-# for Gimp-Print driver
- ${ECHO_MSG} ">>> running configure script for ${GPRINT} library ..."
- cd ${WRKSRC}/${GPRINT_NAME} ; \
- ${SETENV} ${MAKE_ENV} ${SH} ./configure \
- --without-translated-ppds --with-ghost \
- --without-gimp --without-samples \
- --without-cups --without-ijs \
- --without-user-guide --disable-escputil \
- --disable-nls --disable-shared \
- --prefix=${PREFIX}
-
-pre-build:
- ${ECHO_MSG} ">>> in pre-build ..."
- ${ECHO_MSG} ">>> creating directories for compilation ..."
- ${MKDIR} ${WRKSRC}/obj
- ${MKDIR} ${WRKSRC}/bin
-# for Gimp-Print driver
- ${ECHO_MSG} ">>> building ${GPRINT} library ..."
- cd ${WRKSRC}/${GPRINT_NAME} ; \
- ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile
- ${ECHO_MSG} ">>> creating symlinks for ${GPRINT} ..."
- ${LN} -sf ${WRKSRC}/${GPRINT_NAME}/src/ghost/*.[ch] \
- ${WRKSRC}/src
- ${MKDIR} ${WRKSRC}/${GPRINT}
- ${LN} -sf ${WRKSRC}/${GPRINT_NAME}/include/gimp-print \
- ${WRKSRC}/${GPRINT}/gimp-print
- ${LN} -sf ${WRKSRC}/${GPRINT_NAME}/src/main/.libs/libgimpprint.a \
- ${WRKSRC}/${GPRINT}/libgimpprint.a
-# for MD2K driver
- ${ECHO_MSG} ">>> creating symlinks for ${MD2K} ..."
-.for i in gdevmd2k.c
- ${LN} -sf ${WRKSRC}/${MD2K_NAME}/${i} ${WRKSRC}/src
-.endfor
-# for ALPS driver
- ${ECHO_MSG} ">>> creating symlinks for ${ALPS} ..."
-.for i in gdevalps.c
- ${LN} -sf ${WRKSRC}/${ALPS_NAME}/${i} ${WRKSRC}/src
-.endfor
-# for BJ10V driver
- ${ECHO_MSG} ">>> creating symlinks for ${BJ10V} ..."
-.for i in gdev10v.c
- ${LN} -sf ${WRKSRC}/${BJ10V_NAME}/${i} ${WRKSRC}/src
-.endfor
-# for BJC250 driver
- ${ECHO_MSG} ">>> creating symlinks for ${BJC250} ..."
-.for i in gdevbjc_.[ch] gdevbjca.c
- ${LN} -sf ${WRKSRC}/${BJC250_NAME}/src/${i} ${WRKSRC}/src
-.endfor
-# for LIPS driver
- ${ECHO_MSG} ">>> creating symlinks for ${LIPS} ..."
-.for i in gdevlips.[ch] gdevlprn.[ch] gdevl4r.c gdevl4v.c gdevespg.c \
- gdevnpdl.c gdevrpdl.c
- ${LN} -sf ${WRKSRC}/${LIPS_NAME}/${i} ${WRKSRC}/src
-.endfor
-# for EPAG driver
- ${ECHO_MSG} ">>> building ${EPAG} utility ..."
- cd ${WRKSRC}/${EPAG_NAME} ; \
- ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile
- ${ECHO_MSG} ">>> creating symlinks for ${EPAG} ..."
-.for i in gdevepag.c
- ${LN} -sf ${WRKSRC}/${EPAG_NAME}/${i} ${WRKSRC}/src
-.endfor
-# for EPLASER driver
- ${ECHO_MSG} ">>> creating symlinks for ${EPLASER} ..."
-.for i in gdevescv.[ch] gdevesmv.c
- ${LN} -sf ${WRKSRC}/${EPLASER_NAME}/${i} ${WRKSRC}/src
-.endfor
-# for MJC driver
- ${ECHO_MSG} ">>> creating symlinks for ${MJC} ..."
-.for i in gdevmjc.c mjbarrie.c mjbksep.c mjespdtc.c mjespdtm.c mjespdty.c \
- mjgrnsp.c mjgrnsp2.c mjhtocmy.c mjmtx2.c mjvtbl.c
- ${LN} -sf ${WRKSRC}/${MJC_NAME}/${i} ${WRKSRC}/src
-.endfor
-# for LXM3200 driver
- ${ECHO_MSG} ">>> creating symlinks for ${LXM3200} ..."
-.for i in gdevlx32.c
- ${LN} -sf ${WRKSRC}/${LXM3200_NAME}/${i} ${WRKSRC}/src
-.endfor
-# for LEX7000 driver
- ${ECHO_MSG} ">>> creating symlinks for ${LEX7000} ..."
-.for i in gdevlx7.c
- ${LN} -sf ${WRKSRC}/${LEX7000}/src/${i} ${WRKSRC}/src
+
+pre-build-drivers.mak:
+ @${ECHO_CMD} 'DEVICE_DEVS= \' > ${WRKSRC}/src/drivers.mak
+.for D in ${OPTIONS:MGS_*:S/^GS_//}
+.if defined(WITH_GS_${D})
+ @${ECHO_CMD} '$$(DD)${D}.dev \' >> ${WRKSRC}/src/drivers.mak
+.endif
.endfor
+pre-build-contrib_extra.mak:
+ ${CAT} /dev/null ${EXTRADEVMKFILE} > ${WRKSRC}/src/contrib_extra.mak
+
+pre-build-all:
+ ${MKDIR} ${WRKSRC}/obj ${WRKSRC}/bin
+
+pre-build: pre-build-all pre-build-drivers.mak pre-build-contrib_extra.mak
+
pre-su-install:
- ${ECHO_MSG} ">>> in pre-install ..."
- ${ECHO_MSG} ">>> creating ghostscript destdir ..."
${MKDIR} ${DATADIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
post-install:
- ${ECHO_MSG} ">>> in post-install ..."
- ${ECHO_MSG} ">>> stripping gs ..."
.if defined(WITH_SHLIB)
${STRIP_CMD} ${PREFIX}/bin/gsc ${PREFIX}/bin/gsx
- ${LN} -sf gsc ${PREFIX}/bin/gs
+ ${LN} -s -f gsc ${PREFIX}/bin/gs
.else
${STRIP_CMD} ${PREFIX}/bin/gs
.endif
-# for PCL3 driver
- ${ECHO_MSG} ">>> installing ${PCL3} utility in bindir ..."
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/pcl3opts ${PREFIX}/bin
- ${ECHO_MSG} ">>> installing ${PCL3} manpages ..."
-.for i in ${PCL3_MAN1}
- ${INSTALL_MAN} ${WRKSRC}/${PCL3_NAME}/doc/${i} ${MANPREFIX}/man/man1
-.endfor
-# other pcl3 stuff, which might be interesting for runtime
- ${ECHO_MSG} ">>> creating ${PCL3} destdir ..."
- ${MKDIR} ${DATADIR}/${PORTVERSION}/${PCL3}
- ${ECHO_MSG} ">>> installing files in ${PCL3} destdir ..."
-.for i in NEWS BUGS README 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
- ${INSTALL_DATA} ${WRKSRC}/${PCL3_NAME}/${i} \
- ${DATADIR}/${PORTVERSION}/${PCL3}
-.endfor
-# for DMPRT driver
- ${ECHO_MSG} ">>> installing ${DMPRT} resources ..."
-.for i in dmp_init.ps dmp_site.ps escp_24.src
- ${INSTALL_DATA} ${WRKSRC}/src/${i} \
- ${DATADIR}/${PORTVERSION}/lib
-.endfor
-# for EPAG driver
- ${ECHO_MSG} ">>> installing ${EPAG} utility in bindir ..."
- ${INSTALL_PROGRAM} ${WRKSRC}/${EPAG_NAME}/ert ${PREFIX}/bin
-# contributed UPP driver
- ${ECHO_MSG} ">>> installing contributed UPP profiles ..."
-.for i in ${CONTRIB_UPP}
- ${INSTALL_DATA} ${FILESDIR}/${i} \
- ${DATADIR}/${PORTVERSION}/lib
-.endfor
-#
-# now NOPORTDOCS dependend stuff
-#
-.if !defined(NOPORTDOCS)
- ${ECHO_MSG} ">>> installing PORTDOC stuff ..."
- ${MKDIR} ${DOCSDIR}/${PORTVERSION}
-# for PCL3 driver
- ${ECHO_MSG} ">>> installing ${PCL3} docs ..."
- ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${PCL3}
-.for i in NEWS doc/gs-pcl3.html doc/how-to-report.txt doc/pcl3opts.html
- ${INSTALL_DATA} ${WRKSRC}/${PCL3_NAME}/${i} \
- ${DOCSDIR}/${PORTVERSION}/${PCL3}
-.endfor
-# for MD2K driver
- ${ECHO_MSG} ">>> installing ${MD2K} docs ..."
- ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${MD2K}
-.for i in README.jis
- ${INSTALL_DATA} ${WRKSRC}/${MD2K_NAME}/${i} \
- ${DOCSDIR}/${PORTVERSION}/${MD2K}
-.endfor
-# for ALPS driver
- ${ECHO_MSG} ">>> installing ${ALPS} docs ..."
- ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${ALPS}
-.for i in README.gdevalps
- ${INSTALL_DATA} ${WRKSRC}/${ALPS_NAME}/${i} \
- ${DOCSDIR}/${PORTVERSION}/${ALPS}
-.endfor
-# for BJ10V driver
- ${ECHO_MSG} ">>> installing ${BJ10V} docs ..."
- ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${BJ10V}
-.for i in gdev10v.jis
- ${INSTALL_DATA} ${WRKSRC}/${BJ10V_NAME}/${i} \
- ${DOCSDIR}/${PORTVERSION}/${BJ10V}
-.endfor
-# for LIPS driver
- ${ECHO_MSG} ">>> installing ${LIPS} docs ..."
- ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${LIPS}
-.for i in Gdevlips.htm
- ${INSTALL_DATA} ${WRKSRC}/${LIPS_NAME}/${i} \
- ${DOCSDIR}/${PORTVERSION}/${LIPS}
-.endfor
-# for DMPRT driver
- ${ECHO_MSG} ">>> installing ${DMPRT} docs ..."
- ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${DMPRT}
-.for i in gdevdmpr.sj
- ${INSTALL_DATA} ${WRKSRC}/src/${i} \
- ${DOCSDIR}/${PORTVERSION}/${DMPRT}
-.endfor
-# for EPAG driver
- ${ECHO_MSG} ">>> installing ${EPAG} docs ..."
- ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${EPAG}
-.for i in ert.txt gdevepag.txt ChangeLog
- ${INSTALL_DATA} ${WRKSRC}/${EPAG_NAME}/${i} \
- ${DOCSDIR}/${PORTVERSION}/${EPAG}
-.endfor
-.for i in psprint gsepagif.sh
- ${INSTALL_SCRIPT} ${WRKSRC}/${EPAG_NAME}/${i} \
- ${DOCSDIR}/${PORTVERSION}/${EPAG}
-.endfor
-# for EPLASER driver
- ${ECHO_MSG} ">>> installing ${EPLASER} docs ..."
- ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${EPLASER}
-.for i in readme-eplaser-705.euc
- ${INSTALL_DATA} ${WRKSRC}/${EPLASER_NAME}/${i} \
- ${DOCSDIR}/${PORTVERSION}/${EPLASER}
-.endfor
-# for MJC driver
- ${ECHO_MSG} ">>> installing ${MJC} docs ..."
- ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${MJC}
-.for i in MJ700V2C.FAQ README.mjc README.mje README.noz cpem.doc
- ${INSTALL_DATA} ${WRKSRC}/${MJC_NAME}/${i} \
- ${DOCSDIR}/${PORTVERSION}/${MJC}
-.endfor
-# for GDI driver
- ${ECHO_MSG} ">>> installing ${GDI} docs ..."
- ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${GDI}
-.for i in README
- ${INSTALL_DATA} ${WRKSRC}/src/${i} \
- ${DOCSDIR}/${PORTVERSION}/${GDI}
-.endfor
-# for LXM3200 driver
- ${ECHO_MSG} ">>> installing ${LXM3200} docs ..."
- ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${LXM3200}
-.for i in README RELEASE_NOTES Z12-Z31-QuickSetup
- ${INSTALL_DATA} ${WRKSRC}/${LXM3200_NAME}/${i} \
- ${DOCSDIR}/${PORTVERSION}/${LXM3200}
-.endfor
-.endif
- ${ECHO_MSG} "> post-installation tasks completed."
+ cd ${FILESDIR} \
+ && ${INSTALL_DATA} ${CONTRIB_UPP} ${DATADIR}/${PORTVERSION}/lib
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
+post-install-docs:
+ ${MKDIR} ${DOCSDIR}
+
+.if !defined(NOPORTDOCS)
+post-install: post-install-docs
+.endif
+
.include <bsd.port.post.mk>
diff --git a/print/ghostscript7/Makefile.drivers b/print/ghostscript7/Makefile.drivers
new file mode 100644
index 000000000000..8ffc3b68ceff
--- /dev/null
+++ b/print/ghostscript7/Makefile.drivers
@@ -0,0 +1,296 @@
+# $FreeBSD$
+
+OPTIONS_GS_DEFAULT_ON= on
+OPTIONS_GS_DEFAULT_OFF= off
+
+.if !defined(WITHOUT_X11)
+OPTIONS_X11_DEFAULT= on
+.else
+OPTIONS_X11_DEFAULT= off
+.endif
+
+.if !defined(WITH_SVGALIB)
+OPTIONS_SVGALIB_DEFAULT= off
+.else
+OPTIONS_SVGALIB_DEFAULT= on
+.endif
+
+.if !defined(WITHOUT_ICONV)
+OPTIONS_ICONV_DEFAULT= on
+.else
+OPTIONS_ICONV_DEFAULT= off
+.endif
+
+.if make(makesum)
+OPTIONS_X11_DEFAULT= on
+OPTIONS_SVGALIB_DEFAULT=on
+OPTIONS_GS_DEFAULT_ON= on
+OPTIONS_GS_DEFAULT_OFF= on
+.endif
+
+OPTIONS_X11= \
+GS_x11 "D: X Window System version 11, release >=4" ${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+= ${OPTIONS_X11}
+OPTIONS+= ${OPTIONS_SVGALIB}
+
+OPTIONS+= \
+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_lbp1310 "D: Canon LBP-1310" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lbp1510 "D: Canon LBP-1510" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lbp1610 "D: Canon LBP-1610" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lbp1710 "D: Canon LBP-1710" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lbp1810 "D: Canon LBP-1810" ${OPTIONS_GS_DEFAULT_ON} \
+GS_lbp1910 "D: Canon LBP-1910" ${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_stp "D: Configurable Canon/Epson/Lexmark/HP driver" ${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_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_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_mjc180 "D: Epson MachJet series 180dpi, CMYK" ${OPTIONS_GS_DEFAULT_ON} \
+GS_mjc360 "D: Epson MachJet series 360dpi, CMYK" ${OPTIONS_GS_DEFAULT_ON} \
+GS_mjc720 "D: Epson MachJet series 720dpi, CMYK" ${OPTIONS_GS_DEFAULT_ON} \
+GS_mj500c "D: Epson MachJet MJ-500C 360dpi, CMY/mono" ${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_lp2563 "D: HP 2563B line printer" ${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_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_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_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_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_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_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_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_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_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_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_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_epswrite "D: Encapsulated PostScript" ${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_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_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_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}
diff --git a/print/ghostscript7/files/Makefile.alps b/print/ghostscript7/files/Makefile.alps
new file mode 100644
index 000000000000..8839a5f81e27
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.alps
@@ -0,0 +1,21 @@
+# $FreeBSD$
+# ALPS - additional driver for Alps MD-5000
+
+DISTFILES+= gdevalps-0.21.tar.gz:ports_jp_gs
+EXTRADEVMKFILE+= ${WRKSRC}/alps/gdevalps.mak-5.50
+PORTDOCS+= alps
+
+post-extract-alps:
+ ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/gdevalps-0.21.tar.gz
+ ${LN} -s -f gdevalps-0.2 ${WRKSRC}/alps
+
+pre-build-alps:
+ ${LN} -s -f ${WRKSRC}/alps/gdevalps.c ${WRKSRC}/src
+
+post-install-docs-alps:
+ ${MKDIR} ${DOCSDIR}/alps
+ ${INSTALL_DATA} ${WRKSRC}/alps/README.gdevalps ${DOCSDIR}/alps
+
+post-extract: post-extract-alps
+pre-build: pre-build-alps
+post-install-docs: post-install-docs-alps
diff --git a/print/ghostscript7/files/Makefile.bj10v b/print/ghostscript7/files/Makefile.bj10v
new file mode 100644
index 000000000000..0bcce3f78785
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.bj10v
@@ -0,0 +1,20 @@
+# $FreeBSD$
+# for Canon BJ-10V
+
+DISTFILES+= gdev10v.tar.gz:ports_jp_gs
+EXTRADEVMKFILE+= ${WRKSRC}/gdev10v/gdev10v.mak
+PORTDOCS+= bj10v
+
+post-extract-bj10v:
+ ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/gdev10v.tar.gz
+
+pre-build-bj10v:
+ ${LN} -s -f ${WRKSRC}/gdev10v/gdev10v.c ${WRKSRC}/src
+
+post-install-docs-bj10v:
+ ${MKDIR} ${DOCSDIR}/bj10v
+ ${INSTALL_DATA} ${WRKSRC}/gdev10v/gdev10v.jis ${DOCSDIR}/bj10v
+
+post-extract: post-extract-bj10v
+pre-build: pre-build-bj10v
+post-install-docs: post-install-docs-bj10v
diff --git a/print/ghostscript7/files/Makefile.bjc250 b/print/ghostscript7/files/Makefile.bjc250
new file mode 100644
index 000000000000..222c9e289c2e
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.bjc250
@@ -0,0 +1,23 @@
+# $FreeBSD$
+# BJC250 - additional driver for Canon BJC-210/240/250/265/1000
+# http://bjc250gs.sourceforge.net/
+
+MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:S/$/:bjc250/}
+MASTER_SITE_SUBDIR+= bjc250gs/:bjc250
+DISTFILES+= gs7.05-bjc250-v0.756.diff.gz:bjc250
+EXTRADEVMKFILE+= ${FILESDIR}/bjc250.contrib.mak
+
+post-extract-bjc250:
+ ${MKDIR} ${WRKSRC}/bjc250-v0.756/src
+ ${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/gs7.05-bjc250-v0.756.diff.gz | \
+ ${PATCH} -d ${WRKSRC}/bjc250-v0.756 -f -s -N -E -p1 \
+ 2>/dev/null || ${TRUE}
+ ${LN} -s -f ${WRKSRC}/bjc250-v0.756 ${WRKSRC}/bjc250
+
+pre-build-bjc250:
+ ${LN} -s -f ${WRKSRC}/bjc250-v0.756/src/gdevbjc_.[ch] \
+ ${WRKSRC}/bjc250-v0.756/src/gdevbjca.c \
+ ${WRKSRC}/src
+
+post-extract: post-extract-bjc250
+pre-build: pre-build-bjc250
diff --git a/print/ghostscript7/files/Makefile.cdj880 b/print/ghostscript7/files/Makefile.cdj880
new file mode 100644
index 000000000000..32f2df5409d7
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.cdj880
@@ -0,0 +1,12 @@
+# $FreeBSD$
+# for HP DeskJet 812C/815C/832C/880C/882C/895C
+# http://www.gelhaus.net/hp880c/
+
+MASTER_SITES+= http://www.gelhaus.net/hp880c/1.4beta/:cdj880
+DISTFILES+= gdevcd8.tar.gz:cdj880
+EXTRADEVMKFILE+= ${FILESDIR}/cdj850.contrib.mak
+
+post-extract-cdj880:
+ ${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${DIST_SUBDIR}/gdevcd8.tar.gz
+
+post-extract: post-extract-cdj880
diff --git a/print/ghostscript7/files/Makefile.cdj970 b/print/ghostscript7/files/Makefile.cdj970
new file mode 100644
index 000000000000..c15b6d7d5dcf
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.cdj970
@@ -0,0 +1,12 @@
+# $FreeBSD$
+# DJ970 - additional driver for HP DeskJet 970, supports duplex printing
+# http://www.harsch.net/Ghostscript/ghostscript.html
+
+MASTER_SITES+= http://www.harsch.net/Download/:cdj970
+DISTFILES+= gdevdj9.c.gz:cdj970
+
+post-extract-cdj970:
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/gdevdj9.c.gz ${WRKSRC}/src
+ ${GUNZIP_CMD} ${WRKSRC}/src/gdevdj9.c.gz
+
+post-extract: post-extract-cdj970
diff --git a/print/ghostscript7/files/Makefile.cpca b/print/ghostscript7/files/Makefile.cpca
new file mode 100644
index 000000000000..7167502c3c04
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.cpca
@@ -0,0 +1,12 @@
+# $FreeBSD$
+# CPCA - additional driver for Canon CPCA printers
+# http://cweb.canon.jp/open-mie/technical/index-j.html
+
+MASTER_SITES+= ftp://download.canon-sales.co.jp/pub/driver/lasershot/linux/:cpca
+DISTFILES+= canon-lips4-1.0.0-651.tgz:cpca
+EXTRADEVMKFILE+=${WRKSRC}/src/cpca_gdev.mak
+
+post-extract-cpca:
+ ${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${DIST_SUBDIR}/canon-lips4-1.0.0-651.tgz
+
+post-extract: post-extract-cpca
diff --git a/print/ghostscript7/files/Makefile.dmprt b/print/ghostscript7/files/Makefile.dmprt
new file mode 100644
index 000000000000..588a5dea6a68
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.dmprt
@@ -0,0 +1,28 @@
+# $FreeBSD$
+# DMPRT - additional driver for generic dot matrix printers
+
+DISTFILES+= dmprt-2.01.tar.gz:ports_jp_gs
+EXTRADEVMKFILE+= ${WRKSRC}/src/gdevdmpr.mak
+PORTDOCS+= dmprt
+
+post-extract-dmprt:
+ ${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${DIST_SUBDIR}/dmprt-2.01.tar.gz
+
+post-patch-dmprt:
+ ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' \
+ -e 's|%%PORTVERSION%%|${PORTVERSION}|g' \
+ ${WRKSRC}/src/dmp_site.ps
+
+post-install-dmprt:
+ cd ${WRKSRC}/src \
+ && ${INSTALL_DATA} dmp_init.ps dmp_site.ps escp_24.src \
+ ${DATADIR}/${PORTVERSION}/lib
+
+post-install-docs-dmprt:
+ ${MKDIR} ${DOCSDIR}/dmprt
+ ${INSTALL_DATA} ${WRKSRC}/src/gdevdmpr.sj ${DOCSDIR}/dmprt
+
+post-extract: post-extract-dmprt
+post-patch: post-patch-dmprt
+post-install: post-install-dmprt
+post-install-docs: post-install-docs-dmprt
diff --git a/print/ghostscript7/files/Makefile.epag b/print/ghostscript7/files/Makefile.epag
new file mode 100644
index 000000000000..6f3093de5872
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.epag
@@ -0,0 +1,33 @@
+# $FreeBSD$
+# EPAG - additional driver for Epson ESC/Page printers
+# http://www.humblesoft.com/gdevepag.html
+
+MASTER_SITES+= http://www.humblesoft.com/pub/:epag
+DISTFILES+= epag-3.09.tar.gz:epag
+EXTRADEVMKFILE+= ${FILESDIR}/epag.contrib.mak
+PORTDOCS+= epag
+
+post-extract-epag:
+ ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/epag-3.09.tar.gz
+
+pre-build-epag:
+ cd ${WRKSRC}/epag-3.09 && \
+ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile
+ ${LN} -s -f ${WRKSRC}/epag-3.09/gdevepag.c ${WRKSRC}/src
+
+post-install-epag:
+ ${INSTALL_PROGRAM} ${WRKSRC}/epag-3.09/ert ${PREFIX}/bin
+
+post-install-docs-epag:
+ ${MKDIR} ${DOCSDIR}/epag
+ cd ${WRKSRC}/epag-3.09 \
+ && ${INSTALL_DATA} ert.txt gdevepag.txt ChangeLog \
+ ${DOCSDIR}/epag
+ cd ${WRKSRC}/epag-3.09 \
+ && ${INSTALL_SCRIPT} psprint gsepagif.sh \
+ ${DOCSDIR}/epag
+
+post-extract: post-extract-epag
+pre-build: pre-build-epag
+post-install: post-install-epag
+post-install-docs: post-install-docs-epag
diff --git a/print/ghostscript7/files/Makefile.eplaser b/print/ghostscript7/files/Makefile.eplaser
new file mode 100644
index 000000000000..52255c4f260b
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.eplaser
@@ -0,0 +1,27 @@
+# $FreeBSD$
+# EPLASER - additional driver for ESC/Page printers, by EPSON AVASYS Corp.
+# http://www.avasys.jp/english/linux_e/index.html
+
+MASTER_SITES+= ${MASTER_SITE_LOCAL}:eplaser
+MASTER_SITE_SUBDIR+= arved/:eplaser
+DISTFILES+= eplaser-3.1.4-705.tgz:eplaser
+EXTRADEVMKFILE+= ${WRKSRC}/eplaser/gdevescv7.mak \
+ ${WRKSRC}/eplaser/gdevesmv7.mak
+PORTDOCS+= eplaser
+
+post-extract-eplaser:
+ ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/eplaser-3.1.4-705.tgz
+ ${LN} -s -f ${WRKSRC}/eplaser-3.1.4 ${WRKSRC}/eplaser
+
+pre-build-eplaser:
+ ${LN} -s -f ${WRKSRC}/eplaser/gdevescv.[ch] \
+ ${WRKSRC}/eplaser/gdevesmv.c ${WRKSRC}/src
+
+post-install-docs-eplaser:
+ ${MKDIR} ${DOCSDIR}/eplaser
+ ${INSTALL_DATA} ${WRKSRC}/eplaser/readme-eplaser-705.euc \
+ ${DOCSDIR}/eplaser
+
+post-extract: post-extract-eplaser
+pre-build: pre-build-eplaser
+post-install-docs: post-install-docs-eplaser
diff --git a/print/ghostscript7/files/Makefile.gdi b/print/ghostscript7/files/Makefile.gdi
new file mode 100644
index 000000000000..03d3ea789d85
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.gdi
@@ -0,0 +1,18 @@
+# $FreeBSD$
+# GDI - additional driver for Samsung SmartGDI laser printers
+
+MASTER_SITES+= http://www.linuxprinting.org/download/printing/samsung-gdi/:gdi
+DISTFILES+= Samsung-SmartGDI-all-GS.orig.tar.gz:gdi
+EXTRADEVMKFILE+= ${WRKSRC}/src/smartgdi-contrib.mak
+PORTDOCS+= gdi
+
+post-extract-gdi:
+ ${TAR} -C ${WRKSRC}/src -xzf \
+ ${DISTDIR}/${DIST_SUBDIR}/Samsung-SmartGDI-all-GS.orig.tar.gz
+
+post-install-docs-gdi:
+ ${MKDIR} ${DOCSDIR}/gdi
+ ${INSTALL_DATA} ${WRKSRC}/src/README ${DOCSDIR}/gdi
+
+post-extract: post-extract-gdi
+post-install-docs: post-install-docs-gdi
diff --git a/print/ghostscript7/files/Makefile.gprint b/print/ghostscript7/files/Makefile.gprint
new file mode 100644
index 000000000000..c063291791ab
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.gprint
@@ -0,0 +1,43 @@
+# $FreeBSD$
+# Gimp-Print - very high quality driver for Epson, HPs,...
+# http://gimp-print.sourceforge.net/
+#
+# NOTE:
+# Support of stp driver interface has already been discontinued, and using
+# ijs driver with ijsgimpprint (part of print/gimp-print port) is highly
+# recommended.
+#
+# For that reason, integration of stp driver is disabled by default.
+
+MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:S/$/:gprint/} \
+MASTER_SITE_SUBDIR= gimp-print/:gprint
+DISTFILES+= gimp-print-4.2.7.tar.gz:gprint
+EXTRADEVMKFILE+= ${FILESDIR}/stp.contrib.mak
+
+post-extract-gprint:
+ ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/gimp-print-4.2.7.tar.gz
+
+post-configure-gprint:
+ cd ${WRKSRC}/gimp-print-4.2.7 && \
+ ${SETENV} ${CONFIGURE_ENV} ${SH} ./configure \
+ --without-translated-ppds --with-ghost \
+ --without-gimp --without-samples \
+ --without-cups --without-ijs \
+ --without-user-guide --disable-escputil \
+ --disable-nls --disable-shared \
+ --prefix=${PREFIX}
+
+pre-build-gprint:
+ cd ${WRKSRC}/gimp-print-4.2.7 && \
+ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile
+ ${LN} -sf ${WRKSRC}/gimp-print-4.2.7/src/ghost/*.[ch] \
+ ${WRKSRC}/src
+ ${MKDIR} ${WRKSRC}/gimp-print
+ ${LN} -sf ${WRKSRC}/gimp-print-4.2.7/include/gimp-print \
+ ${WRKSRC}/gimp-print/gimp-print
+ ${LN} -sf ${WRKSRC}/gimp-print-4.2.7/src/main/.libs/libgimpprint.a \
+ ${WRKSRC}/gimp-print/libgimpprint.a
+
+post-extract: post-extract-gprint
+post-configure: post-configure-gprint
+pre-build: pre-build-gprint
diff --git a/print/ghostscript7/files/Makefile.lex7000 b/print/ghostscript7/files/Makefile.lex7000
new file mode 100644
index 000000000000..88c0e9822d54
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.lex7000
@@ -0,0 +1,19 @@
+# $FreeBSD$
+# LEX7000 - additional driver for Lexmark 2050/3200/5700/7000
+# http://bimbo.fjfi.cvut.cz/~paluch/l7kdriver/
+
+MASTER_SITES+= http://homepage.powerup.com.au/~pbwest/lexmark/:lex7000
+DISTFILES+= gs6.0.lexmark7000.patch:lex7000
+EXTRADEVMKFILE+= ${FILESDIR}/lex7000.contrib.mak
+
+post-extract-lex7000:
+ ${MKDIR} ${WRKSRC}/lex7000
+ ${CAT} ${DISTDIR}/${DIST_SUBDIR}/gs6.0.lexmark7000.patch | \
+ ${PATCH} -d ${WRKSRC}/lex7000 -f -s -N -E -p1 \
+ 2>/dev/null || ${TRUE}
+
+pre-build-lex7000:
+ ${LN} -s -f ${WRKSRC}/lex7000/src/gdevlx7.c ${WRKSRC}/src
+
+post-extract: post-extract-lex7000
+pre-build: pre-build-lex7000
diff --git a/print/ghostscript7/files/Makefile.lips b/print/ghostscript7/files/Makefile.lips
new file mode 100644
index 000000000000..5b52ba80a22d
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.lips
@@ -0,0 +1,28 @@
+# $FreeBSD$
+# LIPS - additional driver for Canon LIPS II+/III/IVc/IV printers
+# http://www.ucatv.ne.jp/~taeko/software/gs/
+
+MASTER_SITES+= http://www.ucatv.ne.jp/~taeko/software/gs/:lips
+DISTFILES+= gdevlips-2.4.0.tar.gz:lips
+EXTRADEVMKFILE+= ${WRKSRC}/gdevlips-2.4.0/gdevlips.mak
+PORTDOCS+= lips
+
+post-extract-lips:
+ ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/gdevlips-2.4.0.tar.gz
+ ${LN} -s -f ${WRKSRC}/gdevlips-2.4.0 ${WRKSRC}/lips
+
+pre-build-lips:
+ ${LN} -s -f ${WRKSRC}/lips/gdevlips.[ch] \
+ ${WRKSRC}/lips/gdevlprn.[ch] ${WRKSRC}/lips/gdevl4r.c \
+ ${WRKSRC}/lips/gdevl4v.c ${WRKSRC}/lips/gdevespg.c \
+ ${WRKSRC}/lips/gdevnpdl.c ${WRKSRC}/lips/gdevrpdl.c \
+ ${WRKSRC}/src
+
+post-install-docs-lips:
+ ${MKDIR} ${DOCSDIR}/lips
+ ${INSTALL_DATA} ${WRKSRC}/gdevlips-2.4.0/Gdevlips.htm \
+ ${DOCSDIR}/lips
+
+post-extract: post-extract-lips
+pre-build: pre-build-lips
+post-install-docs: post-install-docs-lips
diff --git a/print/ghostscript7/files/Makefile.lx5000 b/print/ghostscript7/files/Makefile.lx5000
new file mode 100644
index 000000000000..dfd6ab7db1a0
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.lx5000
@@ -0,0 +1,12 @@
+# $FreeBSD$
+# LX5000 - additional driver for Lexmark 5000/Z51/Z82
+# http://homepage.powerup.com.au/~pbwest/lexmark/lexmark.html
+
+MASTER_SITES+= http://homepage.powerup.com.au/~pbwest/lexmark/:lx5000
+DISTFILES+= gdevlx50.c:lx5000
+EXTRADEVMKFILE+= ${FILESDIR}/lx5000.contrib.mak
+
+post-extract-lx5000:
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/gdevlx50.c ${WRKSRC}/src
+
+post-extract: post-extract-lx5000
diff --git a/print/ghostscript7/files/Makefile.lxm3200 b/print/ghostscript7/files/Makefile.lxm3200
new file mode 100644
index 000000000000..0d8c2cefb97c
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.lxm3200
@@ -0,0 +1,23 @@
+# $FreeBSD$
+# LXM3200 - additional driver for Lexmark 3200/Z12/Z22/Z31/Z32
+MASTER_SITES+= http://www.linuxprinting.org/download/printing/:lxm3200
+DISTFILES+= lxm3200-tweaked-20030501.tar.gz:lxm3200
+EXTRADEVMKFILE+=${FILESDIR}/lxm3200.contrib.mak
+PORTDOCS+= lxm3200
+
+post-extract-lxm3200:
+ ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/lxm3200-tweaked-20030501.tar.gz
+ ${LN} -s -f ${WRKSRC}/lxm3200-tweaked-20030501 ${WRKSRC}/lxm3200
+
+pre-build-lxm3200:
+ ${LN} -s -f ${WRKSRC}/lxm3200/gdevlx32.c ${WRKSRC}/src
+
+post-install-docs-lxm3200:
+ ${MKDIR} ${DOCSDIR}/lxm3200
+ cd ${WRKSRC}/lxm3200-tweaked-20030501 \
+ && ${INSTALL_DATA} README RELEASE_NOTES Z12-Z31-QuickSetup \
+ ${DOCSDIR}/lxm3200
+
+post-extract: post-extract-lxm3200
+pre-build: pre-build-lxm3200
+post-install-docs: post-install-docs-lxm3200
diff --git a/print/ghostscript7/files/Makefile.md2k b/print/ghostscript7/files/Makefile.md2k
new file mode 100644
index 000000000000..8677416fa99b
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.md2k
@@ -0,0 +1,24 @@
+# $FreeBSD$
+# MD2K - additional driver for Alps MD-2000/2010/4000/1300/1500/5000
+# http://www33.ocn.ne.jp/~higamasa/gdevmd2k/
+
+MASTER_SITES+= http://www33.ocn.ne.jp/~higamasa/gdevmd2k/:md2k
+DISTFILES+= gdevmd2k-0.2a.tar.gz:md2k
+EXTRADEVMKFILE+= ${WRKSRC}/gdevmd2k-0.2a/gdevmd2k.mak-5.50
+PORTDOCS+= md2k
+
+post-extract-md2k:
+ ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/gdevmd2k-0.2a.tar.gz
+ ${LN} -s -f ${WRKSRC}/gdevmd2k-0.2a ${WRKSRC}/md2k
+
+pre-build-md2k:
+ ${LN} -s -f ${WRKSRC}/gdevmd2k-0.2a/gdevmd2k.c ${WRKSRC}/src
+
+post-install-docs-md2k:
+ ${MKDIR} ${DOCSDIR}/md2k
+ ${INSTALL_DATA} ${WRKSRC}/gdevmd2k-0.2a/README.jis \
+ ${DOCSDIR}/md2k
+
+post-extract: post-extract-md2k
+pre-build: pre-build-md2k
+post-install-docs: post-install-docs-md2k
diff --git a/print/ghostscript7/files/Makefile.mjc b/print/ghostscript7/files/Makefile.mjc
new file mode 100644
index 000000000000..c48491e89742
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.mjc
@@ -0,0 +1,27 @@
+# $FreeBSD$
+# MJC - additional driver for Epson MachJet series
+
+DISTFILES+= gdevmjc-0.8.tar.gz:ports_jp
+EXTRADEVMKFILE+= ${WRKSRC}/mjc/gdevmjc.mak
+PORTDOCS+= mjc
+
+post-extract-mjc:
+ ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/gdevmjc-0.8.tar.gz
+ ${LN} -s -f ${WRKSRC}/gdevmjc-0.8 ${WRKSRC}/mjc
+
+pre-build-mjc:
+ ${LN} -s -f ${WRKSRC}/mjc/gdevmjc.c ${WRKSRC}/mjc/mjbarrie.c \
+ ${WRKSRC}/mjc/mjbksep.c ${WRKSRC}/mjc/mjespdtc.c \
+ ${WRKSRC}/mjc/mjespdtm.c ${WRKSRC}/mjc/mjespdty.c \
+ ${WRKSRC}/mjc/mjgrnsp.c ${WRKSRC}/mjc/mjgrnsp2.c \
+ ${WRKSRC}/mjc/mjhtocmy.c ${WRKSRC}/mjc/mjmtx2.c \
+ ${WRKSRC}/mjc/mjvtbl.c ${WRKSRC}/src
+
+post-install-docs-mjc:
+ ${MKDIR} ${DOCSDIR}/mjc
+ cd ${WRKSRC}/mjc && ${INSTALL_DATA} MJ700V2C.FAQ README.mjc \
+ README.mje README.noz cpem.doc ${DOCSDIR}/mjc
+
+post-extract: post-extract-mjc
+pre-build: pre-build-mjc
+post-install-docs: post-install-docs-mjc
diff --git a/print/ghostscript7/files/Makefile.pcl3 b/print/ghostscript7/files/Makefile.pcl3
new file mode 100644
index 000000000000..682fc2b70d3e
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.pcl3
@@ -0,0 +1,37 @@
+# $FreeBSD$
+# additional driver for HP PCL3 printers, by Martin Lottermoser
+# http://home.vrweb.de/martin.lottermoser/pcl3.html
+
+MASTER_SITES+= http://home.vrweb.de/~martin.lottermoser/pcl3dist/:pcl3
+DISTFILES+= pcl3-3.3.tar.gz:pcl3
+EXTRADEVMKFILE+= ${WRKSRC}/pcl3/src/contrib.mak-7.00.add
+PORTDOCS+= pcl3
+MAN1+= gs-pcl3.1 pcl3opts.1
+
+post-extract-pcl3:
+ ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/pcl3-3.3.tar.gz
+ ${LN} -s -f ${WRKSRC}/pcl3-3.3 ${WRKSRC}/pcl3
+ ${TAR} -C ${WRKSRC}/pcl3 -xf ${WRKSRC}/pcl3/pcl3.tar
+
+post-install-pcl3:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/pcl3opts ${PREFIX}/bin
+ cd ${WRKSRC}/pcl3/doc \
+ && ${INSTALL_MAN} gs-pcl3.1 pcl3opts.1 ${MANPREFIX}/man/man1
+ ${MKDIR} ${DATADIR}/${PORTVERSION}/pcl3
+ cd ${WRKSRC}/pcl3 && ${INSTALL_DATA} NEWS BUGS README \
+ 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
+
+post-install-docs-pcl3:
+ ${MKDIR} ${DOCSDIR}/pcl3
+ cd ${WRKSRC}/pcl3 && ${INSTALL_DATA} NEWS doc/gs-pcl3.html \
+ doc/how-to-report.txt doc/pcl3opts.html \
+ ${DOCSDIR}/pcl3
+
+post-extract: post-extract-pcl3
+post-install: post-install-pcl3
+post-install-docs: post-install-docs-pcl3
diff --git a/print/ghostscript7/files/patch-src-Makefile.in b/print/ghostscript7/files/patch-src-Makefile.in
new file mode 100644
index 000000000000..8edcf0f5869e
--- /dev/null
+++ b/print/ghostscript7/files/patch-src-Makefile.in
@@ -0,0 +1,96 @@
+--- src/Makefile.in.orig 2003-04-30 03:33:31.000000000 +0900
++++ src/Makefile.in 2008-06-21 02:23:18.000000000 +0900
+@@ -50,8 +50,8 @@
+ # 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 = @prefix@
+ exec_prefix = @exec_prefix@
+@@ -142,7 +142,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,
+@@ -150,14 +150,14 @@
+ # You may need to change this if the libpng version changes.
+ # See libpng.mak for more information.
+
+-SHARE_LIBPNG=@SHARE_LIBPNG@
++SHARE_LIBPNG=1
+ PSRCDIR=@LIBPNGDIR@
+ LIBPNG_NAME=png
+
+ # 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
+@@ -197,12 +197,12 @@
+ CCLD=$(CC)
+
+ # Define the general cc flags, warnings and such.
+-GCFLAGS=@GCFLAGS@
++GCFLAGS=@CPPFLAGS@ @GCFLAGS@ @CFLAGS@
+
+ # Define the added flags for standard, debugging, profiling
+ # and shared object builds.
+
+-CFLAGS_STANDARD=@OPT_CFLAGS@
++CFLAGS_STANDARD?=@OPT_CFLAGS@
+ CFLAGS_DEBUG=-g -O
+ CFLAGS_PROFILE=-pg @OPT_CFLAGS@
+ CFLAGS_SO=-fPIC
+@@ -218,7 +218,7 @@
+ # 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=
++XCFLAGS?=
+
+ # defines from autoconf; note that we don't use these at present.
+ ACDEFS=@DEFS@
+@@ -232,9 +232,9 @@
+ # -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=
+
+-LDFLAGS=$(XLDFLAGS)
++LDFLAGS=@LDFLAGS@
++XLDFLAGS=$(LDFLAGS)
+
+ # Define any extra libraries to link into the executable.
+ # ISC Unix 2.2 wants -linet.
+@@ -302,10 +302,10 @@
+
+ # 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
+
+ # programs we use
+ RM=rm -f
+@@ -410,6 +410,7 @@
+
+ # ---------------- End of platform-specific section ---------------- #
+
++include $(GLSRCDIR)/drivers.mak
+ include $(GLSRCDIR)/unixhead.mak
+ include $(GLSRCDIR)/gs.mak
+ include $(GLSRCDIR)/lib.mak
diff --git a/print/ghostscript7/files/patch-src-contrib.mak b/print/ghostscript7/files/patch-src-contrib.mak
new file mode 100644
index 000000000000..95c9c32d747a
--- /dev/null
+++ b/print/ghostscript7/files/patch-src-contrib.mak
@@ -0,0 +1,7 @@
+--- src/contrib.mak.orig 2008-06-21 01:20:36.000000000 +0900
++++ src/contrib.mak 2008-06-21 01:21:28.000000000 +0900
+@@ -878,3 +878,4 @@
+ $(GLOBJ)gdevsunr.$(OBJ) : $(GLSRC)gdevsunr.c $(PDEVH)
+ $(GLCC) $(GLO_)gdevsunr.$(OBJ) $(C_) $(GLSRC)gdevsunr.c
+
++include $(GLSRCDIR)/contrib_extra.mak
diff --git a/print/ghostscript7/files/patch-src:dmp_site.ps b/print/ghostscript7/files/patch-src:dmp_site.ps
index ee1a5717d641..174bef13f80f 100644
--- a/print/ghostscript7/files/patch-src:dmp_site.ps
+++ b/print/ghostscript7/files/patch-src:dmp_site.ps
@@ -4,7 +4,7 @@
BeginConfig
%%%%%%%%%%%%%%%%%%%%%% Standard user cusomizations %%%%%%%%%%%%%%%%%%%%%
-/printer (epsimage.src)
-+/printer (%%DATADIR%%/%%GS_VERSION%%/lib/escp_24.src)
++/printer (%%DATADIR%%/%%PORTVERSION%%/lib/escp_24.src)
% horizontal / vertical
% /resolution [ 160.0 180.0 ]
% horizontal / vertical
diff --git a/print/ghostscript7/pkg-plist b/print/ghostscript7/pkg-plist
index 0f4f7afd190f..ed4f0b03fd7e 100644
--- a/print/ghostscript7/pkg-plist
+++ b/print/ghostscript7/pkg-plist
@@ -2,7 +2,7 @@
bin/bdftops
bin/dvipdf
bin/eps2eps
-bin/ert
+%%GS_dmprt%%bin/ert
bin/fixmswrd.pl
bin/font2c
bin/gs
@@ -15,7 +15,7 @@ bin/gslp
bin/gsnd
%%SHLIB%%bin/gsx
bin/lprsetup.sh
-bin/pcl3opts
+%%GS_pcl3%%bin/pcl3opts
bin/pdf2dsc
bin/pdf2ps
bin/pdfopt
@@ -37,345 +37,308 @@ bin/unix-lpr.sh
bin/wftopfa
%%SHLIB%%lib/libgs.so
%%SHLIB%%lib/libgs.so.%%SHLIB_VER%%
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/alps/README.gdevalps
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/bj10v/gdev10v.jis
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/dmprt/gdevdmpr.sj
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/epag/ChangeLog
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/epag/ert.txt
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/epag/gdevepag.txt
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/epag/gsepagif.sh
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/epag/psprint
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/eplaser/readme-eplaser-705.euc
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/gdi/README
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/lips/Gdevlips.htm
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/lxm3200/README
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/lxm3200/RELEASE_NOTES
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/lxm3200/Z12-Z31-QuickSetup
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/md2k/README.jis
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/MJ700V2C.FAQ
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/README.mjc
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/README.mje
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/README.noz
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/cpem.doc
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/pcl3/NEWS
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/pcl3/gs-pcl3.html
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/pcl3/how-to-report.txt
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/pcl3/pcl3opts.html
-share/ghostscript/%%GS_VERSION%%/doc/API.htm
-share/ghostscript/%%GS_VERSION%%/doc/C-style.htm
-share/ghostscript/%%GS_VERSION%%/doc/CJK.htm
-share/ghostscript/%%GS_VERSION%%/doc/CJKTTCID.htm
-share/ghostscript/%%GS_VERSION%%/doc/Changes.htm
-share/ghostscript/%%GS_VERSION%%/doc/Current.htm
-share/ghostscript/%%GS_VERSION%%/doc/DLL.htm
-share/ghostscript/%%GS_VERSION%%/doc/Develop.htm
-share/ghostscript/%%GS_VERSION%%/doc/Devices.htm
-share/ghostscript/%%GS_VERSION%%/doc/Drivers.htm
-share/ghostscript/%%GS_VERSION%%/doc/Fonts.htm
-share/ghostscript/%%GS_VERSION%%/doc/Helpers.htm
-share/ghostscript/%%GS_VERSION%%/doc/Hershey.htm
-share/ghostscript/%%GS_VERSION%%/doc/History1.htm
-share/ghostscript/%%GS_VERSION%%/doc/History2.htm
-share/ghostscript/%%GS_VERSION%%/doc/History3.htm
-share/ghostscript/%%GS_VERSION%%/doc/History4.htm
-share/ghostscript/%%GS_VERSION%%/doc/History5.htm
-share/ghostscript/%%GS_VERSION%%/doc/History6.htm
-share/ghostscript/%%GS_VERSION%%/doc/History7.htm
-share/ghostscript/%%GS_VERSION%%/doc/Htmstyle.htm
-share/ghostscript/%%GS_VERSION%%/doc/Humor.htm
-share/ghostscript/%%GS_VERSION%%/doc/Install.htm
-share/ghostscript/%%GS_VERSION%%/doc/Issues.htm
-share/ghostscript/%%GS_VERSION%%/doc/Language.htm
-share/ghostscript/%%GS_VERSION%%/doc/Lib.htm
-share/ghostscript/%%GS_VERSION%%/doc/Maintain.htm
-share/ghostscript/%%GS_VERSION%%/doc/Make.htm
-share/ghostscript/%%GS_VERSION%%/doc/New-user.htm
-share/ghostscript/%%GS_VERSION%%/doc/News.htm
-share/ghostscript/%%GS_VERSION%%/doc/Projects.htm
-share/ghostscript/%%GS_VERSION%%/doc/Ps-style.htm
-share/ghostscript/%%GS_VERSION%%/doc/Ps2epsi.htm
-share/ghostscript/%%GS_VERSION%%/doc/Ps2pdf.htm
-share/ghostscript/%%GS_VERSION%%/doc/Psfiles.htm
-share/ghostscript/%%GS_VERSION%%/doc/README
-share/ghostscript/%%GS_VERSION%%/doc/Readme.htm
-share/ghostscript/%%GS_VERSION%%/doc/Release.htm
-share/ghostscript/%%GS_VERSION%%/doc/Source.htm
-share/ghostscript/%%GS_VERSION%%/doc/Unix-lpr.htm
-share/ghostscript/%%GS_VERSION%%/doc/Use.htm
-share/ghostscript/%%GS_VERSION%%/doc/Xfonts.htm
-share/ghostscript/%%GS_VERSION%%/doc/gs.css
-share/ghostscript/%%GS_VERSION%%/doc/index.html
-share/ghostscript/%%GS_VERSION%%/examples/alphabet.ps
-share/ghostscript/%%GS_VERSION%%/examples/cjk/all_ac1.ps
-share/ghostscript/%%GS_VERSION%%/examples/cjk/all_ag1.ps
-share/ghostscript/%%GS_VERSION%%/examples/cjk/all_aj1.ps
-share/ghostscript/%%GS_VERSION%%/examples/cjk/all_aj2.ps
-share/ghostscript/%%GS_VERSION%%/examples/cjk/all_ak1.ps
-share/ghostscript/%%GS_VERSION%%/examples/cjk/gscjk_ac.ps
-share/ghostscript/%%GS_VERSION%%/examples/cjk/gscjk_ag.ps
-share/ghostscript/%%GS_VERSION%%/examples/cjk/gscjk_aj.ps
-share/ghostscript/%%GS_VERSION%%/examples/cjk/gscjk_ak.ps
-share/ghostscript/%%GS_VERSION%%/examples/cjk/iso2022.ps
-share/ghostscript/%%GS_VERSION%%/examples/colorcir.ps
-share/ghostscript/%%GS_VERSION%%/examples/doretree.ps
-share/ghostscript/%%GS_VERSION%%/examples/escher.ps
-share/ghostscript/%%GS_VERSION%%/examples/golfer.ps
-share/ghostscript/%%GS_VERSION%%/examples/grayalph.ps
-share/ghostscript/%%GS_VERSION%%/examples/ridt91.eps
-share/ghostscript/%%GS_VERSION%%/examples/snowflak.ps
-share/ghostscript/%%GS_VERSION%%/examples/tiger.ps
-share/ghostscript/%%GS_VERSION%%/examples/vasarely.ps
-share/ghostscript/%%GS_VERSION%%/examples/waterfal.ps
-share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
-share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.ARP
-share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.Bae
-share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.CJK
-share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.Koc
-share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.Ore
-share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.Sol
-share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.Win
-share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.b5
-share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.gb
-share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.ksx
-share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.sj
-share/ghostscript/%%GS_VERSION%%/lib/Fontmap
-share/ghostscript/%%GS_VERSION%%/lib/Fontmap.GS
-share/ghostscript/%%GS_VERSION%%/lib/acctest.ps
-share/ghostscript/%%GS_VERSION%%/lib/addxchar.ps
-share/ghostscript/%%GS_VERSION%%/lib/align.ps
-share/ghostscript/%%GS_VERSION%%/lib/bdftops.ps
-share/ghostscript/%%GS_VERSION%%/lib/bj8.rpd
-share/ghostscript/%%GS_VERSION%%/lib/bj8gc12f.upp
-share/ghostscript/%%GS_VERSION%%/lib/bj8hg12f.upp
-share/ghostscript/%%GS_VERSION%%/lib/bj8oh06n.upp
-share/ghostscript/%%GS_VERSION%%/lib/bj8pa06n.upp
-share/ghostscript/%%GS_VERSION%%/lib/bj8pp12f.upp
-share/ghostscript/%%GS_VERSION%%/lib/bj8ts06n.upp
-share/ghostscript/%%GS_VERSION%%/lib/bjc610a0.upp
-share/ghostscript/%%GS_VERSION%%/lib/bjc610a1.upp
-share/ghostscript/%%GS_VERSION%%/lib/bjc610a2.upp
-share/ghostscript/%%GS_VERSION%%/lib/bjc610a3.upp
-share/ghostscript/%%GS_VERSION%%/lib/bjc610a4.upp
-share/ghostscript/%%GS_VERSION%%/lib/bjc610a5.upp
-share/ghostscript/%%GS_VERSION%%/lib/bjc610a6.upp
-share/ghostscript/%%GS_VERSION%%/lib/bjc610a7.upp
-share/ghostscript/%%GS_VERSION%%/lib/bjc610a8.upp
-share/ghostscript/%%GS_VERSION%%/lib/bjc610b1.upp
-share/ghostscript/%%GS_VERSION%%/lib/bjc610b2.upp
-share/ghostscript/%%GS_VERSION%%/lib/bjc610b3.upp
-share/ghostscript/%%GS_VERSION%%/lib/bjc610b4.upp
-share/ghostscript/%%GS_VERSION%%/lib/bjc610b6.upp
-share/ghostscript/%%GS_VERSION%%/lib/bjc610b7.upp
-share/ghostscript/%%GS_VERSION%%/lib/bjc610b8.upp
-share/ghostscript/%%GS_VERSION%%/lib/caption.ps
-share/ghostscript/%%GS_VERSION%%/lib/cbjc600.ppd
-share/ghostscript/%%GS_VERSION%%/lib/cbjc800.ppd
-share/ghostscript/%%GS_VERSION%%/lib/cdj550.upp
-share/ghostscript/%%GS_VERSION%%/lib/cdj690.upp
-share/ghostscript/%%GS_VERSION%%/lib/cdj690ec.upp
-share/ghostscript/%%GS_VERSION%%/lib/cid2code.ps
-share/ghostscript/%%GS_VERSION%%/lib/decrypt.ps
-share/ghostscript/%%GS_VERSION%%/lib/dmp_init.ps
-share/ghostscript/%%GS_VERSION%%/lib/dmp_site.ps
-share/ghostscript/%%GS_VERSION%%/lib/dnj750c.upp
-share/ghostscript/%%GS_VERSION%%/lib/dnj750m.upp
-share/ghostscript/%%GS_VERSION%%/lib/docie.ps
-share/ghostscript/%%GS_VERSION%%/lib/escp_24.src
-share/ghostscript/%%GS_VERSION%%/lib/errpage.ps
-share/ghostscript/%%GS_VERSION%%/lib/font2c.ps
-share/ghostscript/%%GS_VERSION%%/lib/font2pcl.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_agl.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_btokn.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_ccfnt.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_ce_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_cff.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_cidcm.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_cidfn.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_cmap.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_cmdl.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_css_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_dbt_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_diskf.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_dpnxt.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_dps.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_dps1.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_dps2.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_dscp.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_epsf.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_fform.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_fonts.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_frsd.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_icc.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_il1_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_il2_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_init.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_kanji.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_ksb_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_l.xbm
-share/ghostscript/%%GS_VERSION%%/lib/gs_l.xpm
-share/ghostscript/%%GS_VERSION%%/lib/gs_l2img.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_l_m.xbm
-share/ghostscript/%%GS_VERSION%%/lib/gs_lev2.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_lgo_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_lgx_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_ll3.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_m.xbm
-share/ghostscript/%%GS_VERSION%%/lib/gs_m.xpm
-share/ghostscript/%%GS_VERSION%%/lib/gs_m_m.xbm
-share/ghostscript/%%GS_VERSION%%/lib/gs_mex_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_mgl_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_mro_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_pdf_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_pdfwr.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_pfile.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_rdlin.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_res.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_s.xbm
-share/ghostscript/%%GS_VERSION%%/lib/gs_s.xpm
-share/ghostscript/%%GS_VERSION%%/lib/gs_s_m.xbm
-share/ghostscript/%%GS_VERSION%%/lib/gs_setpd.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_statd.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_std_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_sym_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_t.xbm
-share/ghostscript/%%GS_VERSION%%/lib/gs_t.xpm
-share/ghostscript/%%GS_VERSION%%/lib/gs_t_m.xbm
-share/ghostscript/%%GS_VERSION%%/lib/gs_trap.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_ttf.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_typ32.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_typ42.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_type1.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_wan_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_wl1_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_wl2_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gs_wl5_e.ps
-share/ghostscript/%%GS_VERSION%%/lib/gslp.ps
-share/ghostscript/%%GS_VERSION%%/lib/gsnup.ps
-share/ghostscript/%%GS_VERSION%%/lib/ht_ccsto.ps
-share/ghostscript/%%GS_VERSION%%/lib/image-qa.ps
-share/ghostscript/%%GS_VERSION%%/lib/impath.ps
-share/ghostscript/%%GS_VERSION%%/lib/jispaper.ps
-share/ghostscript/%%GS_VERSION%%/lib/landscap.ps
-share/ghostscript/%%GS_VERSION%%/lib/level1.ps
-share/ghostscript/%%GS_VERSION%%/lib/lines.ps
-share/ghostscript/%%GS_VERSION%%/lib/lqx70ch.upp
-share/ghostscript/%%GS_VERSION%%/lib/lqx70cl.upp
-share/ghostscript/%%GS_VERSION%%/lib/lqx70cm.upp
-share/ghostscript/%%GS_VERSION%%/lib/markhint.ps
-share/ghostscript/%%GS_VERSION%%/lib/markpath.ps
-share/ghostscript/%%GS_VERSION%%/lib/necp2x.upp
-share/ghostscript/%%GS_VERSION%%/lib/necp2x6.upp
-share/ghostscript/%%GS_VERSION%%/lib/packfile.ps
-share/ghostscript/%%GS_VERSION%%/lib/pcharstr.ps
-share/ghostscript/%%GS_VERSION%%/lib/pdf2dsc.ps
-share/ghostscript/%%GS_VERSION%%/lib/pdf_base.ps
-share/ghostscript/%%GS_VERSION%%/lib/pdf_draw.ps
-share/ghostscript/%%GS_VERSION%%/lib/pdf_font.ps
-share/ghostscript/%%GS_VERSION%%/lib/pdf_main.ps
-share/ghostscript/%%GS_VERSION%%/lib/pdf_ops.ps
-share/ghostscript/%%GS_VERSION%%/lib/pdf_sec.ps
-share/ghostscript/%%GS_VERSION%%/lib/pdfopt.ps
-share/ghostscript/%%GS_VERSION%%/lib/pdfwrite.ps
-share/ghostscript/%%GS_VERSION%%/lib/pf2afm.ps
-share/ghostscript/%%GS_VERSION%%/lib/pfbtopfa.ps
-share/ghostscript/%%GS_VERSION%%/lib/ppath.ps
-share/ghostscript/%%GS_VERSION%%/lib/prfont.ps
-share/ghostscript/%%GS_VERSION%%/lib/printafm.ps
-share/ghostscript/%%GS_VERSION%%/lib/ps2ai.ps
-share/ghostscript/%%GS_VERSION%%/lib/ps2ascii.ps
-share/ghostscript/%%GS_VERSION%%/lib/ps2epsi.ps
-share/ghostscript/%%GS_VERSION%%/lib/quit.ps
-share/ghostscript/%%GS_VERSION%%/lib/ras1.upp
-share/ghostscript/%%GS_VERSION%%/lib/ras24.upp
-share/ghostscript/%%GS_VERSION%%/lib/ras3.upp
-share/ghostscript/%%GS_VERSION%%/lib/ras32.upp
-share/ghostscript/%%GS_VERSION%%/lib/ras4.upp
-share/ghostscript/%%GS_VERSION%%/lib/ras8m.upp
-share/ghostscript/%%GS_VERSION%%/lib/rollconv.ps
-share/ghostscript/%%GS_VERSION%%/lib/showchar.ps
-share/ghostscript/%%GS_VERSION%%/lib/showpage.ps
-share/ghostscript/%%GS_VERSION%%/lib/st640ih.upp
-share/ghostscript/%%GS_VERSION%%/lib/st640ihg.upp
-share/ghostscript/%%GS_VERSION%%/lib/st640p.upp
-share/ghostscript/%%GS_VERSION%%/lib/st640pg.upp
-share/ghostscript/%%GS_VERSION%%/lib/st640pl.upp
-share/ghostscript/%%GS_VERSION%%/lib/st640plg.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc1520h.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc2.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc200_h.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc2_h.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc2s_h.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc300.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc300bl.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc300bm.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc500p.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc500ph.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc600ih.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc600p.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc600pl.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc640p.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc740ih.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc740p.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc740pl.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc800ih.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc800p.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc800pl.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc_h.upp
-share/ghostscript/%%GS_VERSION%%/lib/stc_l.upp
-share/ghostscript/%%GS_VERSION%%/lib/stcany.upp
-share/ghostscript/%%GS_VERSION%%/lib/stcany_h.upp
-share/ghostscript/%%GS_VERSION%%/lib/stcinfo.ps
-share/ghostscript/%%GS_VERSION%%/lib/stcolor.ps
-share/ghostscript/%%GS_VERSION%%/lib/stocht.ps
-share/ghostscript/%%GS_VERSION%%/lib/traceimg.ps
-share/ghostscript/%%GS_VERSION%%/lib/traceop.ps
-share/ghostscript/%%GS_VERSION%%/lib/type1enc.ps
-share/ghostscript/%%GS_VERSION%%/lib/type1ops.ps
-share/ghostscript/%%GS_VERSION%%/lib/uninfo.ps
-share/ghostscript/%%GS_VERSION%%/lib/unprot.ps
-share/ghostscript/%%GS_VERSION%%/lib/viewcmyk.ps
-share/ghostscript/%%GS_VERSION%%/lib/viewgif.ps
-share/ghostscript/%%GS_VERSION%%/lib/viewjpeg.ps
-share/ghostscript/%%GS_VERSION%%/lib/viewmiff.ps
-share/ghostscript/%%GS_VERSION%%/lib/viewpbm.ps
-share/ghostscript/%%GS_VERSION%%/lib/viewpcx.ps
-share/ghostscript/%%GS_VERSION%%/lib/viewps2a.ps
-share/ghostscript/%%GS_VERSION%%/lib/wftopfa.ps
-share/ghostscript/%%GS_VERSION%%/lib/winmaps.ps
-share/ghostscript/%%GS_VERSION%%/lib/wrfont.ps
-share/ghostscript/%%GS_VERSION%%/lib/zeroline.ps
-share/ghostscript/%%GS_VERSION%%/pcl3/BUGS
-share/ghostscript/%%GS_VERSION%%/pcl3/NEWS
-share/ghostscript/%%GS_VERSION%%/pcl3/README
-share/ghostscript/%%GS_VERSION%%/pcl3/calign.ps
-share/ghostscript/%%GS_VERSION%%/pcl3/dumppdd.ps
-share/ghostscript/%%GS_VERSION%%/pcl3/example.mcf
-share/ghostscript/%%GS_VERSION%%/pcl3/if-pcl3
-share/ghostscript/%%GS_VERSION%%/pcl3/levels-test.ps
-share/ghostscript/%%GS_VERSION%%/pcl3/margins-A4.ps
-share/ghostscript/%%GS_VERSION%%/pcl3/margins-A4Rotated.ps
-share/ghostscript/%%GS_VERSION%%/pcl3/margins-Env10Rotated.ps
-share/ghostscript/%%GS_VERSION%%/pcl3/margins-EnvDLRotated.ps
-share/ghostscript/%%GS_VERSION%%/pcl3/margins-Letter.ps
-share/ghostscript/%%GS_VERSION%%/pcl3/margins-LetterRotated.ps
-@dirrm share/ghostscript/%%GS_VERSION%%/pcl3
-@dirrm share/ghostscript/%%GS_VERSION%%/lib
-@dirrm share/ghostscript/%%GS_VERSION%%/examples/cjk
-@dirrm share/ghostscript/%%GS_VERSION%%/examples
-@dirrm share/ghostscript/%%GS_VERSION%%/doc
-@dirrm share/ghostscript/%%GS_VERSION%%
-@dirrmtry share/ghostscript
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/pcl3
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/mjc
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/md2k
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/lxm3200
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/lips
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/gdi
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/eplaser
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/epag
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/dmprt
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/bj10v
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/alps
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%
-%%PORTDOCS%%@dirrm share/doc/ghostscript
+%%DATADIR%%/%%GS_VERSION%%/doc/API.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/C-style.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/CJK.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/CJKTTCID.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Changes.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Current.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/DLL.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/Htmstyle.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Humor.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/Maintain.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/Make.htm
+%%DATADIR%%/%%GS_VERSION%%/doc/New-user.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
+%%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/alphabet.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_ac1.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_ag1.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_aj1.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_aj2.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_ak1.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/gscjk_ac.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/gscjk_ag.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/gscjk_aj.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/gscjk_ak.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/cjk/iso2022.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/colorcir.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/doretree.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/escher.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/golfer.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/grayalph.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/ridt91.eps
+%%DATADIR%%/%%GS_VERSION%%/examples/snowflak.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/tiger.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/vasarely.ps
+%%DATADIR%%/%%GS_VERSION%%/examples/waterfal.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/CIDFnmap
+%%DATADIR%%/%%GS_VERSION%%/lib/CIDFnmap.ARP
+%%DATADIR%%/%%GS_VERSION%%/lib/CIDFnmap.Bae
+%%DATADIR%%/%%GS_VERSION%%/lib/CIDFnmap.CJK
+%%DATADIR%%/%%GS_VERSION%%/lib/CIDFnmap.Koc
+%%DATADIR%%/%%GS_VERSION%%/lib/CIDFnmap.Ore
+%%DATADIR%%/%%GS_VERSION%%/lib/CIDFnmap.Sol
+%%DATADIR%%/%%GS_VERSION%%/lib/CIDFnmap.Win
+%%DATADIR%%/%%GS_VERSION%%/lib/CIDFnmap.b5
+%%DATADIR%%/%%GS_VERSION%%/lib/CIDFnmap.gb
+%%DATADIR%%/%%GS_VERSION%%/lib/CIDFnmap.ksx
+%%DATADIR%%/%%GS_VERSION%%/lib/CIDFnmap.sj
+%%DATADIR%%/%%GS_VERSION%%/lib/Fontmap
+%%DATADIR%%/%%GS_VERSION%%/lib/Fontmap.GS
+%%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/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/caption.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/cbjc600.ppd
+%%DATADIR%%/%%GS_VERSION%%/lib/cbjc800.ppd
+%%DATADIR%%/%%GS_VERSION%%/lib/cdj550.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/cdj690.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/cdj690ec.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/cid2code.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/decrypt.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/dmp_init.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/dmp_site.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/dnj750c.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/dnj750m.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/docie.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/escp_24.src
+%%DATADIR%%/%%GS_VERSION%%/lib/errpage.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/font2c.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/font2pcl.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_agl.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_btokn.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_ccfnt.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_ce_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_cff.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_cidcm.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_cidfn.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_cmap.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_cmdl.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_css_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_dbt_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_diskf.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_dpnxt.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_dps.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_dps1.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_dps2.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_dscp.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_epsf.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_fform.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_fonts.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_frsd.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_icc.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_il1_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_il2_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_init.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_kanji.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_ksb_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_l.xbm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_l.xpm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_l2img.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_l_m.xbm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_lev2.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_lgo_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_lgx_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_ll3.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_m.xbm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_m.xpm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_m_m.xbm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_mex_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_mgl_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_mro_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_pdf_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_pdfwr.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_pfile.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_rdlin.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_res.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_s.xbm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_s.xpm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_s_m.xbm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_setpd.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_statd.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_std_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_sym_e.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_t.xbm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_t.xpm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_t_m.xbm
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_trap.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_ttf.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_typ32.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_typ42.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_type1.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gs_wan_e.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/gslp.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/gsnup.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/ht_ccsto.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
+%%GS_dmprt%%%%DATADIR%%/%%GS_VERSION%%/lib/lqx70ch.upp
+%%GS_dmprt%%%%DATADIR%%/%%GS_VERSION%%/lib/lqx70cl.upp
+%%GS_dmprt%%%%DATADIR%%/%%GS_VERSION%%/lib/lqx70cm.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/markhint.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/markpath.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/necp2x.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/necp2x6.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/packfile.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pcharstr.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pdf2dsc.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pdf_base.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pdf_draw.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pdf_font.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pdf_main.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pdf_ops.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pdf_sec.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pdfopt.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pdfwrite.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pf2afm.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/pfbtopfa.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/ppath.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/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/rollconv.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/showchar.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/showpage.ps
+%%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/stc740ih.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc740p.upp
+%%DATADIR%%/%%GS_VERSION%%/lib/stc740pl.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/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/viewpbm.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/viewpcx.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/viewps2a.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/wftopfa.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/winmaps.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/wrfont.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/zeroline.ps
+%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/BUGS
+%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/NEWS
+%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/README
+%%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
+%%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%%
+@dirrmtry %%DATADIR%%
diff --git a/print/ghostscript7/scripts/configure b/print/ghostscript7/scripts/configure
deleted file mode 100644
index d4bc264c202e..000000000000
--- a/print/ghostscript7/scripts/configure
+++ /dev/null
@@ -1,384 +0,0 @@
-#! /bin/sh
-
-# $FreeBSD$
-
-# configure - gs driver preconfiguration, manual driver selection
-# by Andreas Klemm <andreas@FreeBSD.org>
-
-tempfile=`mktemp -t checklist`
-
-if [ -z "${WITHOUT_X11}" ]; then
-x11devs="x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 \
- x11gray2 x11gray4 x11mono x11rg16x x11rg32x"
-fi
-
-if [ -n "${WITH_SVGALIB}" ]; then
-svgalibdevs="lvga256 vgalib"
-fi
-
-if [ ! -z "${GS_DRIVERS_LIST}" ]; then
- set ${GS_DRIVERS_LIST}
-else
- set \
- $x11devs \
- $svgalibdevs \
- md2k md5k \
- md50Mono md50Eco md1xMono \
- appledmp iwhi iwlo iwlq hl7x0 hl1240 hl1250 bj10e \
- bj10v bj10vh bj200 bjc600 bjc800 \
- bjccmyk bjccolor bjcgray bjcmono \
- lbp8 \
- lbp1310 lbp1510 lbp1610 lbp1710 lbp1810 lbp1910 \
- lips2p lips3 lips4 bjc880j lips4v \
- m8510 coslw2p coslwxl uniprint \
- dmprt \
- lj250 declj250 ap3250 epson eps9mid eps9high lp8000 \
- epag \
- escpage lp2000 \
- alc8600 alc8500 alc2000 alc4000 alc1900 alc4100 \
- lp9800c lp9000c lp9500c lp8800c lp8300c lp8500c lp3000c \
- lp8200c lp8000c \
- epl6100 epl5900 epl5800 \
- epl2050 epl2050p epl2120 epl2500 epl2750 \
- lp9000b lp2500 lp9100 lp7900 lp7500 lp2400 lp2200 lp9400 \
- lp8900 lp8700 lp8100 lp7700 lp8600f lp8400f lp8300f lp1900 \
- lp9600s lp9300 lp9600 lp8600 lp1800 \
- lq850 epsonc \
- mjc180 mjc360 mjc720 mj500c \
- st800 stcolor photoex lp2563 dnj650c deskjet djet500 cdeskjet \
- djet500c cdjcolor cdjmono cdj500 cdj550 \
- cdj670 cdj850 cdj880 cdj890 cdj1600 cdj970 \
- laserjet ljetplus ljet2p ljet3 ljet3d ljet4 ljet4d lj4dith \
- cljet5 cljet5c cljet5pr lj5mono lj5gray \
- pj pjetxl pjxl paintjet \
- pjxl300 pxlmono pxlcolor \
- pcl3 \
- ijs ibmpro jetp3852 imagen fs600 lxm5700m \
- lxm3200 lx5000 lex2050 lex3200 lex5700 lex7000 \
- cp50 necp6 \
- npdl \
- oce9050 oki182 okiibm atx23 atx24 atx38 r4081 \
- rpdl \
- gdi \
- sj48 t4693d2 t4693d4 t4693d8 tek4696 \
- bmpmono bmpgray bmp16 bmp256 bmp16m bmp32b bmpsep1 bmpsep8 \
- ccr \
- cgmmono cgm8 cgm24 \
- cif \
- dfaxhigh dfaxlow \
- faxg3 faxg32d faxg4 \
- miff24 inferno jpeg jpeggray \
- mgrmono mgrgray2 mgrgray4 mgrgray8 mgr4 mgr8 \
- pcxmono pcxgray pcx16 pcx256 pcx24b pcxcmyk pdfwrite \
- bit bitrgb bitcmyk plan9bm pam pbm pbmraw \
- pgm pgmraw pgnm pgnmraw pnm pnmraw ppm ppmraw \
- pkm pkmraw pksm pksmraw \
- pngmono pnggray png16 png256 png16m pngalpha \
- psmono psgray psrgb \
- pswrite epswrite sgirgb sunhmono \
- tiffcrle tiffg3 tiffg32d tiffg4 \
- tiff12nc tiff24nc tifflzw tiffpack \
- bbox
-fi
-
-for i; do
- eval status_$i=ON
-done
-
-if [ -z "${BATCH}" ]; then
- /usr/bin/dialog --title "GNU Ghostscript driver configuration" --clear \
- --checklist "\n\
-This new ghostscript driver configuration dialog allows you to choose \n\
-only those gs drivers, you really need. Don't think too economical, since \n\
-other programs in the ports collection might need some of the default gs \n\
-file format drivers. The gs5 default drivers are preselected. \n\
-Have fun with this new configuration style ! -andreas \n\n\
- Please choose options by pressing SPACE to TOGGLE an option ON/OFF ?" -1 -1 9 \
- "x11" "X Window System version 11, release >=4" "$status_x11" \
- "x11alpha" "X Window System masquer. as device with alpha capability" "$status_x11alpha" \
- "x11cmyk" "X Window System masquer. as 1-bit-per-plane CMYK device" "$status_x11cmyk" \
- "x11cmyk2" "X Window System as a 2-bit-per-plane CMYK device" "$status_x11cmyk2" \
- "x11cmyk4" "X Window System as a 4-bit-per-plane CMYK device" "$status_x11cmyk4" \
- "x11cmyk8" "X Window System as an 8-bit-per-plane CMYK device" "$status_x11cmyk8" \
- "x11gray2" "X Window System as a 2-bit gray-scale device" "$status_x11gray2" \
- "x11gray4" "X Window System as a 4-bit gray-scale device" "$status_x11gray4" \
- "x11mono" "X Window System masquer. as black-and-white device" "$status_x11mono" \
- "x11rg16x" "X Window System with G5/B5/R6 pixel layout for testing" "$status_x11rg16x" \
- "x11rg32x" "X Window System with G11/B10/R11 pixel layout for testing" "$status_x11rg32x" \
- "lvga256" "SVGAlib, 256-color VGA modes" "$status_lvga256" \
- "vgalib" "SVGAlib, 16-color VGA modes" "$status_vgalib" \
- "md2k" "ALPS MD-2000/2010/4000/1300/1500/5000 [MD2K]" "$status_md2k" \
- "md5k" "ALPS MD-5000 Eco Mode [MD2K]" "$status_md5k" \
- "md50Mono" "ALPS MD-5000 Monochrome [ALPS]" "$status_md50Mono" \
- "md50Eco" "ALPS MD-5000 Eco Mode [ALPS]" "$status_md50Eco" \
- "md1xMono" "ALPS MD-1x00 Monochrome [ALPS]" "$status_md1xMono" \
- "appledmp" "Apple Dot Matrix Printer / Imagewriter" "$status_appledmp" \
- "iwhi" "Apple Imagewriter, high-resolution mode" "$status_iwhi" \
- "iwlo" "Apple Imagewriter, low-resolution mode" "$status_iwlo" \
- "iwlq" "Apple Imagewriter LQ in 320 x 216 dpi mode" "$status_iwlq" \
- "hl7x0" "Brother HL720 and HL730 (HL760=PCL), MFC6550MC Fax Machine" "$status_hl7x0" \
- "hl1240" "Brother HL1030/1240" "$status_hl1240" \
- "hl1250" "Brother HLHL1050/1070/1250/1270N" "$status_hl1250" \
- "bj10e" "Canon BubbleJet BJ-10e" "$status_bj10e" \
- "bj10v" "Canon BubbleJet BJ-10v [BJ10V]" "$status_bj10v" \
- "bj10vh" "Canon BubbleJet BJ-10v, high-mergin [BJ10V]" "$status_bj10vh" \
- "bj200" "Canon BubbleJet BJ-200 and BJC-240(b&w)" "$status_bj200" \
- "bjc600" "Canon Color BJC-600/4xxx/70 + Apple StyleWriter 2x00" "$status_bjc600" \
- "bjc800" "Canon Color BubbleJet BJC-240/800" "$status_bjc800" \
- "bjccmyk" "Canon Color BubbleJet BJC-210/240/250/265/1000 [BJC250]" "$status_bjccmyk" \
- "bjccolor" "Canon Color BubbleJet BJC-210 ... 1000 truecolor [BJC250]" "$status_bjccolor" \
- "bjcgray" "Canon Color BubbleJet BJC-210 ... 1000 grayscale [BJC250]" "$status_bjcgray" \
- "bjcmono" "Canon Color BubbleJet BJC-210 ... 1000 monochrome [BJC250]" "$status_bjcmono" \
- "lbp8" "Canon LBP-8II laser printer" "$status_lbp8" \
- "lbp1310" "Canon LBP-1310 laser printer [CPCA]" "$status_lbp1310" \
- "lbp1510" "Canon LBP-1510 laser printer [CPCA]" "$status_lbp1510" \
- "lbp1610" "Canon LBP-1610 laser printer [CPCA]" "$status_lbp1610" \
- "lbp1710" "Canon LBP-1710 laser printer [CPCA]" "$status_lbp1710" \
- "lbp1810" "Canon LBP-1810 laser printer [CPCA]" "$status_lbp1810" \
- "lbp1910" "Canon LBP-1910 laser printer [CPCA]" "$status_lbp1910" \
- "lips2p" "Canon LIPS II+ [LIPS]" "$status_lips2p" \
- "lips3" "Canon LIPS III [LIPS]" "$status_lips3" \
- "lips4" "Canon LIPS IV [LIPS]" "$status_lips4" \
- "bjc880j" "Canon LIPS IVc (BJC-680J/880J) [LIPS]" "$status_bjc880j" \
- "lips4v" "Canon LIPS IV, vector output mode [LIPS]" "$status_lips4v" \
- "m8510" "C.Itoh M8510 printer" "$status_m8510" \
- "coslw2p" "CoStar LabelWriter II II/Plus" "$status_coslw2p" \
- "coslwxl" "CoStar LabelWriter XL" "$status_coslwxl" \
- "stp" "Configurable Canon/Epson/Lexmark/HP driver [Gimp-Print]" "$status_stp" \
- "uniprint" "Configurable ESC/P,ESC/P2,HP-RTL/PCL,P2X mono/color driver" "$status_uniprint" \
- "dmprt" "Configurable dot matrix printer driver [DMPRT]" "$status_dmprt" \
- "lj250" "DEC LJ250 Companion color printer" "$status_lj250" \
- "declj250" "DEC LJ250 driver (alternate)" "$status_declj250" \
- "ap3250" "Epson ActionPrinter 3250" "$status_ap3250" \
- "epson" "Epson-compatible dot matrix, 9/24-pin" "$status_epson" \
- "eps9mid" "Epson-compatible 9-pin, interleaved lines, medium resol" "$status_eps9mid" \
- "eps9high" "Epson-compatible 9-pin, interleaved lines, triple resol" "$status_eps9high" \
- "lp8000" "Epson LP-8000 line printer" "$status_lp8000" \
- "epag" "Epson ESC/Page laser printer (generic) [EPAG]" "$status_epag" \
- "escpage" "Epson ESC/Page laser printer (generic) [LIPS]" "$status_escpage" \
- "lp2000" "Epson LP-2000/3000/7000/7000G laser printer [LIPS]" "$status_lp2000" \
- "alc8600" "Epson AL-C8600 color laser printer [EPLASER]" "$status_alc8600" \
- "alc8500" "Epson AL-C8500 color laser printer [EPLASER]" "$status_alc8500" \
- "alc2000" "Epson AL-C2000 color laser printer [EPLASER]" "$status_alc2000" \
- "alc4000" "Epson AL-C4000 color laser printer [EPLASER]" "$status_alc4000" \
- "alc1900" "Epson AL-C1900 color laser printer [EPLASER]" "$status_alc1900" \
- "alc4100" "Epson AL-C4100 color laser printer [EPLASER]" "$status_alc4100" \
- "lp9800c" "Epson LP-9800C color laser printer [EPLASER]" "$status_lp9800c" \
- "lp9000c" "Epson LP-9000C color laser printer [EPLASER]" "$status_lp9000c" \
- "lp9500c" "Epson LP-9500C color laser printer [EPLASER]" "$status_lp9500c" \
- "lp8800c" "Epson LP-8800C color laser printer [EPLASER]" "$status_lp8800c" \
- "lp8300c" "Epson LP-8300C color laser printer [EPLASER]" "$status_lp8300c" \
- "lp8500c" "Epson LP-8500C color laser printer [EPLASER]" "$status_lp8500c" \
- "lp3000c" "Epson LP-3000C color laser printer [EPLASER]" "$status_lp3000c" \
- "lp8200c" "Epson LP-8200C color laser printer [EPLASER]" "$status_lp8200c" \
- "lp8000c" "Epson LP-8000C color laser printer [EPLASER]" "$status_lp8000c" \
- "epl6100" "Epson EPL-6100 laser printer [EPLASER]" "$status_epl6100" \
- "epl5900" "Epson EPL-5900 laser printer [EPLASER]" "$status_epl5900" \
- "epl5800" "Epson EPL-5800 laser printer [EPLASER]" "$status_epl5800" \
- "epl2050" "Epson EPL-N2050 laser printer [EPLASER]" "$status_epl2050" \
- "epl2050p" "Epson EPL-N2050+ laser printer [EPLASER]" "$status_epl2050p" \
- "epl2120" "Epson EPL-N2120 laser printer [EPLASER]" "$status_epl2120" \
- "epl2500" "Epson EPL-N2500 laser printer [EPLASER]" "$status_epl2500" \
- "epl2750" "Epson EPL-N2750 laser printer [EPLASER]" "$status_epl2750" \
- "lp9000b" "Epson LP-9000B laser printer [EPLASER]" "$status_lp9000b" \
- "lp2500" "Epson LP-2500 laser printer [EPLASER]" "$status_lp2500" \
- "lp9100" "Epson LP-9100(R) laser printer [EPLASER]" "$status_lp9100" \
- "lp7900" "Epson LP-7900(R) laser printer [EPLASER]" "$status_lp7900" \
- "lp7500" "Epson LP-7500(R) laser printer [EPLASER]" "$status_lp7500" \
- "lp2400" "Epson LP-2400 laser printer [EPLASER]" "$status_lp2400" \
- "lp2200" "Epson LP-2200 laser printer [EPLASER]" "$status_lp2200" \
- "lp9400" "Epson LP-9400(R) laser printer [EPLASER]" "$status_lp9400" \
- "lp8900" "Epson LP-8900(R) laser printer [EPLASER]" "$status_lp8900" \
- "lp8700" "Epson LP-8700(R) laser printer [EPLASER]" "$status_lp8700" \
- "lp8100" "Epson LP-8100(R) laser printer [EPLASER]" "$status_lp8100" \
- "lp7700" "Epson LP-7700(R) laser printer [EPLASER]" "$status_lp7700" \
- "lp8600f" "Epson LP-8600FX(N) laser printer [EPLASER]" "$status_lp8600f" \
- "lp8400f" "Epson LP-8400FX(N) laser printer [EPLASER]" "$status_lp8400f" \
- "lp8300f" "Epson LP-8300F laser printer [EPLASER]" "$status_lp8300f" \
- "lp1900" "Epson LP-1900(N) laser printer [EPLASER]" "$status_lp1900" \
- "lp9600s" "Epson LP-9600S laser printer [EPLASER]" "$status_lp9600s" \
- "lp9300" "Epson LP-9300 laser printer [EPLASER]" "$status_lp9300" \
- "lp9600" "Epson LP-9600 laser printer [EPLASER]" "$status_lp9600" \
- "lp8600" "Epson LP-8600FX(N) laser printer [EPLASER]" "$status_lp8600" \
- "lp1800" "Epson LP-1800 laser printer [EPLASER]" "$status_lp1800" \
- "lq850" "Epson LQ-850 (360x360), ok for Canon BJ300 in LQ850 emul" "$status_lq850" \
- "epsonc" "Epson LQ-2550 and Fujitsu 3400/2400/1200 color" "$status_epsonc" \
- "mjc180" "Epson MachJet series 180dpi, CMYK [MJC]" "$status_mjc180" \
- "mjc360" "Epson MachJet series 360dpi, CMYK [MJC]" "$status_mjc360" \
- "mjc720" "Epson MachJet series 720dpi, CMYK [MJC]" "$status_mjc720" \
- "mj500c" "Epson MachJet MJ-500C 360dpi, CMY or mono [MJC]" "$status_mj500c" \
- "st800" "Epson Stylus 800 printer" "$status_st800" \
- "stcolor" "Epson Stylus Color and II/IIs/1500 (see driver docu)" "$status_stcolor" \
- "photoex" "Epson Stylus Color Photo, Photo EX, Photo 700" "$status_photoex" \
- "lp2563" "HP 2563B line printer" "$status_lp2563" \
- "dnj650c" "HP DesignJet 650C" "$status_dnj650c" \
- "deskjet" "HP DeskJet and DeskJet Plus" "$status_deskjet" \
- "djet500" "HP DeskJet 500 (for DeskJet 600 use -r600)" "$status_djet500" \
- "cdeskjet" "HP DeskJet 500C, 1 bit/pixel color" "$status_cdeskjet" \
- "djet500c" "HP DeskJet 500C alternate driver, not for 550/560C" "$status_djet500c" \
- "cdjcolor" "HP DeskJet 500C/540C, 24bit/pxl+FS dith, Citizen Projet IIc" "$status_cdjcolor" \
- "cdjmono" "HP DeskJet 500/510/520/540C b/w printing" "$status_cdjmono" \
- "cdj500" "HP DeskJet 500/540C (same as cdjcolor)" "$status_cdj500" \
- "cdj550" "HP DeskJet 550C/560C/660C/660Cse" "$status_cdj550" \
- "cdj670" "HP DeskJet 670/690 [HP8XX]" "$status_cdj670" \
- "cdj850" "HP DeskJet 850/855/870/1100 [HP8XX]" "$status_cdj850" \
- "cdj880" "HP DeskJet 880 [HP8XX]" "$status_cdj880" \
- "cdj890" "HP DeskJet 890 [HP8XX]" "$status_cdj890" \
- "cdj1600" "HP DeskJet 1600 [HP8XX]" "$status_cdj1600" \
- "cdj970" "HP DeskJet 970CXi [DJ970]" "$status_cdj970" \
- "laserjet" "HP LaserJet" "$status_laserjet" \
- "ljetplus" "HP LaserJet Plus" "$status_ljetplus" \
- "ljet2p" "HP LaserJet IId/IIp/III* with TIFF compression" "$status_ljet2p" \
- "ljet3" "HP LaserJet III* with Delta Row compression" "$status_ljet3" \
- "ljet3d" "HP LaserJet IIID with duplex capability" "$status_ljet3d" \
- "ljet4" "HP LaserJet 4 and 5L/5P (not real LJ5), defaults to 600 dpi" "$status_ljet4" \
- "ljet4d" "HP LaserJet 4 (defaults to 600 dpi) with duplex" "$status_ljet4d" \
- "lj4dith" "HP LaserJet 4 with Floyd-Steinberg dithering" "$status_lj4dith" \
- "cljet5" "HP LaserJet 5/5M Color (new driver, old=cljet5pr)" "$status_cljet5" \
- "cljet5c" "HP LaserJet 5/5M Color Simple" "$status_cljet5c" \
- "cljet5pr" "HP LaserJet 5/5M Color (old drv. with rotation hacks/flaws)" "$status_cljet5pr" \
- "lj5mono" "HP LaserJet 5 and 6 family (PCL5 / PCL XL), bitmap" "$status_lj5mono" \
- "lj5gray" "HP LaserJet 5 and 6 family, gray-scale bitmap" "$status_lj5gray" \
- "pj" "HP PaintJet XL driver " "$status_pj" \
- "pjetxl" "HP PaintJet XL driver (alternate)" "$status_pjetxl" \
- "pjxl" "HP PaintJet XL color printer" "$status_pjxl" \
- "paintjet" "HP PaintJet color printer (alternate)" "$status_paintjet" \
- "pjxl300" "HP PaintJet XL300, DeskJet 1200C color printer, HP CopyJet" "$status_pjxl300" \
- "pxlmono" "HP PCL XL black-and-white printers (LaserJet 5 and 6 family)" "$status_pxlmono" \
- "pxlcolor" "HP PCL XL color printers (Color LaserJet 4500/5000)" "$status_pxlcolor" \
- "pcl3" "HP PCL 3+ (generic) [PCL3]" "$status_pcl3" \
- "ijs" "HP Inkjet and other raster devices" "$status_ijs" \
- "ibmpro" "IBM 9-pin Proprinter" "$status_ibmpro" \
- "jetp3852" "IBM Jetprinter ink-jet color (Model #3852)" "$status_jetp3852" \
- "imagen" "Imagen ImPress printers" "$status_imagen" \
- "fs600" "Kyocera FS-600 (600 dpi)" "$status_fs600" \
- "lxm5700m" "Lexmark 5700 monotone" "$status_lxm5700m" \
- "lxm3200" "Lexmark 3200/Z12/Z22/Z31/Z32 [LXM3200]" "$status_lxm3200" \
- "lx5000" "Lexmark 5000/Z51/Z82 [LX5000]" "$status_lx5000" \
- "lex2050" "Lexmark 2050 [LEX7000]" "$status_lex2050" \
- "lex3200" "Lexmark 3200 [LEX7000]" "$status_lex3200" \
- "lex5700" "Lexmark 5700 [LEX7000]" "$status_lex5700" \
- "lex7000" "Lexmark 7000 [LEX7000]" "$status_lex7000" \
- "cp50" "Mitsubishi CP50 color" "$status_cp50" \
- "necp6" "NEC PinWriter P6/P6+/P60, 360x360 DPI resol" "$status_necp6" \
- "npdl" "NEC Printer Description Language [LIPS]" "$status_npdl" \
- "oce9050" "OCE 9050 printer" "$status_oce9050" \
- "oki182" "Okidata MicroLine 182" "$status_oki182" \
- "okiibm" "Okidata MicroLine IBM-compatible printers" "$status_okiibm" \
- "atx23" "Practical Automation ATX-23 label printer" "$status_atx23" \
- "atx24" "Practical Automation ATX-24 label printer" "$status_atx24" \
- "atx38" "Practical Automation ATX-38 label printer" "$status_atx38" \
- "r4081" "Ricoh 4081 laser printer" "$status_r4081" \
- "rpdl" "Ricoh Printer Description Language [LIPS]" "$status_rpdl" \
- "gdi" "Samsung SmartGDI laser printer [GDI]" "$status_gdi" \
- "sj48" "StarJet 48 inkjet printer" "$status_sj48" \
- "t4693d2" "Tektronix 4693d color, 2 bits per R/G/B component" "$status_t4693d2" \
- "t4693d4" "Tektronix 4693d color, 4 bits per R/G/B component" "$status_t4693d4" \
- "t4693d8" "Tektronix 4693d color, 8 bits per R/G/B component" "$status_t4693d8" \
- "tek4696" "Tektronix 4695/4696 inkjet plotter" "$status_tek4696" \
- "bmpmono" "BMP Monochrome" "$status_bmpmono" \
- "bmpgray" "BMP 8-bit gray" "$status_bmpgray" \
- "bmp16" "BMP 4-bit EGA/VGA" "$status_bmp16" \
- "bmp256" "BMP 8-bit 256-color" "$status_bmp256" \
- "bmp16m" "BMP 24-bit" "$status_bmp16m" \
- "bmp32b" "BMP 32-bit pseudo-.BMP" "$status_bmp32b" \
- "bmpsep1" "BMP Separated 1-bit CMYK" "$status_bmpsep1" \
- "bmpsep8" "BMP Separated 8-bit CMYK" "$status_bmpsep8" \
- "ccr" "CalComp Raster format" "$status_ccr" \
- "cgmmono" "CGM Monochrome -- LOW LEVEL OUTPUT ONLY" "$status_cgmmono" \
- "cgm8" "CGM 8-bit 256-color -- DITTO" "$status_cgm8" \
- "cgm24" "CGM 24-bit color -- DITTO" "$status_cgm24" \
- "cif" "CIF file format for VLSI" "$status_cif" \
- "dfaxhigh" "DigiBoard, DigiFAX software format (high resol)" "$status_dfaxhigh" \
- "dfaxlow" "DigiFAX low (normal) resol" "$status_dfaxlow" \
- "faxg3" "Group 3 fax, with EOLs but no header or EOD" "$status_faxg3" \
- "faxg32d" "Group 3 2-D fax, with EOLs but no header or EOD" "$status_faxg32d" \
- "faxg4" "Group 4 fax, with EOLs but no header or EOD" "$status_faxg4" \
- "miff24" "ImageMagick MIFF, 24-bit direct color, RLE compressed" "$status_miff24" \
- "inferno" "Inferno bitmaps" "$status_inferno" \
- "jpeg" "JPEG format, RGB output" "$status_jpeg" \
- "jpeggray" "JPEG format, gray output" "$status_jpeggray" \
- "mgrmono" "MGR devices 1-bit monochrome" "$status_mgrmono" \
- "mgrgray2" "MGR devices 2-bit gray scale" "$status_mgrgray2" \
- "mgrgray4" "MGR devices 4-bit gray scale" "$status_mgrgray4" \
- "mgrgray8" "MGR devices 8-bit gray scale" "$status_mgrgray8" \
- "mgr4" "MGR devices 4-bit (VGA) color" "$status_mgr4" \
- "mgr8" "MGR devices 8-bit color" "$status_mgr8" \
- "pcxmono" "PCX file format, monochrome 1-bit b/w" "$status_pcxmono" \
- "pcxgray" "PCX file format, 8-bit gray scale" "$status_pcxgray" \
- "pcx16" "PCX file format, 4-bit planar EGA/VGA color" "$status_pcx16" \
- "pcx256" "PCX file format, 8-bit chunky color" "$status_pcx256" \
- "pcx24b" "PCX file format, 24-bit color 3x8-bit planes" "$status_pcx24b" \
- "pcxcmyk" "PCX file format, 4-bit chunky CMYK color" "$status_pcxcmyk" \
- "pdfwrite" "PDF output (like Adobe Acrobat Distiller)" "$status_pdfwrite" \
- "bit" "Plain bits, monochrome" "$status_bit" \
- "bitrgb" "Plain bits, RGB" "$status_bitrgb" \
- "bitcmyk" "Plain bits, CMYK" "$status_bitcmyk" \
- "plan9bm" "Plan 9 bitmap format" "$status_plan9bm" \
- "pam" "Portable Arbitrary Map file format" "$status_pam" \
- "pbm" "Portable Bitmap, plain format" "$status_pbm" \
- "pbmraw" "Portable Bitmap, raw format" "$status_pbmraw" \
- "pgm" "Portable Graymap, plain format" "$status_pgm" \
- "pgmraw" "Portable Graymap, raw format" "$status_pgmraw" \
- "pgnm" "Portable Graymap, plain format, optim. to PBM" "$status_pgnm" \
- "pgnmraw" "Portable Graymap, raw format, optim. to PBM" "$status_pgmraw" \
- "pnm" "Portable Pixmap, plain format RGB, optim. to PGM/PBM" "$status_pnm" \
- "pnmraw" "Portable Pixmap, raw format RGB, optim. to PGM/PBM" "$status_pnmraw" \
- "ppm" "Portable Pixmap, plain format RGB" "$status_ppm" \
- "ppmraw" "Portable Pixmap, raw format RGB" "$status_ppmraw" \
- "pkm" "Portable inKmap (plain format) (4-bit CMYK => RGB)" "$status_pkm" \
- "pkmraw" "Portable inKmap (raw format) (4-bit CMYK => RGB)" "$status_pkmraw" \
- "pksm" "Portable Separated map (plain) (4-bit CMYK => 4 pages)" "$status_pksm" \
- "pksmraw" "Portable Separated map (raw) (4-bit CMYK => 4 pages)" "$status_pksmraw" \
- "pngmono" "PNG Monochrome Portable Network Graphics" "$status_pngmono" \
- "pnggray" "PNG 8-bit gray Portable Network Graphics" "$status_pnggray" \
- "png16" "PNG 4-bit color Portable Network Graphics" "$status_png16" \
- "png256" "PNG 8-bit color Portable Network Graphics" "$status_png256" \
- "png16m" "PNG 24-bit color Portable Network Graphics" "$status_png16m" \
- "pngalpha" "PNG 32-bit RGBA color Portable Network Graphics" "$status_pngalpha" \
- "psmono" "PostScript (Level 1) monochrome image" "$status_psmono" \
- "psgray" "PostScript (Level 1) 8-bit gray image" "$status_psgray" \
- "psrgb" "PostScript (Level 2) 24-bit color image" "$status_psrgb" \
- "pswrite" "PostScript output (like PostScript Distillery)" "$status_pswrite" \
- "epswrite" "EPS output (like PostScript Distillery)" "$status_epswrite" \
- "sgirgb" "SGI RGB pixmap format" "$status_sgirgb" \
- "sunhmono" "Harlequin variant of 1-bit Sun raster file" "$status_sunhmono" \
- "tiffcrle" "TIFF CCITT RLE 1 dim = Group 3 fax with no EOLs" "$status_tiffcrle" \
- "tiffg3" "TIFF Group 3 fax with EOLs" "$status_tiffg3" \
- "tiffg32d" "TIFF Group 3 2-D fax" "$status_tiffg32d" \
- "tiffg4" "TIFF Group 4 fax" "$status_tiffg4" \
- "tiff12nc" "TIFF 12-bit RGB, no compression" "$status_tiff12nc" \
- "tiff24nc" "TIFF 24-bit RGB, no compression, NeXT std. format" "$status_tiff24nc" \
- "tifflzw" "TIFF LZW, tag = 5, mono" "$status_tifflzw" \
- "tiffpack" "TIFF PackBits, tag = 32773, mono" "$status_tiffpack" \
- "bbox" "Bounding box output" "$status_bbox" \
-2> $tempfile
-
- retval=$?
-
- if [ -s $tempfile ]; then
- set `sed 's/"//g' $tempfile`
- fi
- rm -f $tempfile
-
- case $retval in
- 0) if [ -z "$*" ]; then
- echo "Nothing selected"
- fi
- ;;
- 1) echo "Cancel pressed."
- exit 1
- ;;
- esac
-fi
-
-exec > ${WRKSRC}/Makefile
-
-echo "DEVICE_DEVS= \\"
-
-for i; do
- echo " \$(DD)$i.dev \\"
-done
-
-echo ""
-cat "${WRKSRC}/src/unix-gcc.mak"