summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraugustss <augustss>1997-11-22 22:55:04 +0000
committeraugustss <augustss>1997-11-22 22:55:04 +0000
commitd33843bb0c2e3c6152b785e9576bd4e06f2919ef (patch)
tree3eb9fdab64ea178bea0f750a2dab77475eacd3d6
parent8f3f2820380afc0bc11ddffeddfd0c97ea2b3ad3 (diff)
downloadpkgsrc-d33843bb0c2e3c6152b785e9576bd4e06f2919ef.tar.gz
Import ghostscript 5.03 from FreeBSD.
-rw-r--r--print/ghostscript5/Makefile82
-rw-r--r--print/ghostscript5/files/md55
-rw-r--r--print/ghostscript5/patches/patch-aa142
-rw-r--r--print/ghostscript5/patches/patch-ab10
-rw-r--r--print/ghostscript5/patches/patch-ad4
-rw-r--r--print/ghostscript5/patches/patch-ae16
-rw-r--r--print/ghostscript5/pkg/COMMENT1
-rw-r--r--print/ghostscript5/pkg/DESCR20
-rw-r--r--print/ghostscript5/pkg/PLIST362
-rw-r--r--print/ghostscript5/scripts/configure183
-rw-r--r--print/ghostscript5/scripts/configure.batch12
11 files changed, 837 insertions, 0 deletions
diff --git a/print/ghostscript5/Makefile b/print/ghostscript5/Makefile
new file mode 100644
index 00000000000..eef1f9745ea
--- /dev/null
+++ b/print/ghostscript5/Makefile
@@ -0,0 +1,82 @@
+# New ports collection makefile for: ghostscript
+# Version required: 5.0
+# Date created: Tue Jun 10 21:58:54 CEST 1997
+# Whom: Andreas Klemm <andreas@klemm.gtn.com>
+#
+# $Id: Makefile,v 1.1.1.1 1997/11/22 22:55:04 augustss Exp $
+#
+
+DISTNAME= ghostscript-5.03
+CATEGORIES= print
+MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/gs503/ \
+ ftp://bonk.ethz.ch/gs-driver-distrib/
+DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
+ ${HP850_DRV}
+
+MAINTAINER= andreas@FreeBSD.ORG
+
+BUILD_DEPENDS= /nonexistent:${PORTSDIR}/graphics/jpeg:extract \
+ /nonexistent:${PORTSDIR}/graphics/png:extract \
+ unzip:${PORTSDIR}/archivers/unzip
+
+MAKE_ENV= PORTSDIR=${PORTSDIR}
+EXTRACT_ONLY= ${GS_SOURCES}
+WRKSRC= ${WRKDIR}/gs5.03
+MAKEFILE= unix-gcc.mak
+MAKE_FLAGS= prefix=${PREFIX} zlibc_=-lz CFLAGS="${CFLAGS}" -f
+MAN1= gs.1 pdf2dsc.1 pdf2ps.1 ps2ascii.1 ps2epsi.1 ps2pdf.1
+
+GS_SOURCES= ghostscript-5.03.tar.gz
+GS_SOURCES+= ghostscript-5.03gnu.tar.gz
+# Note: the following two are real files that have symlinks with
+# later version numbers pointing to them. To avoid unnecessarily
+# downloading distfiles, do not change these when upgrading the port
+# unless the files really change.
+GS_FONTS_STD= ghostscript-fonts-std-4.0.tar.gz
+GS_FONTS_OTHER= ghostscript-fonts-other-5.03.tar.gz
+
+# Additional driver HP 850, see http://bonk.ethz.ch/hp850/hp850.html
+HP850_DRV= hp850.zip
+
+.if defined(A4)
+CFLAGS+= -DA4
+.endif
+
+pre-fetch:
+.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:
+ ${TOUCH} ${WRKSRC}/adler32.c
+ ${TOUCH} ${WRKSRC}/deflate.c
+ ${TOUCH} ${WRKSRC}/trees.c
+ ${TOUCH} ${WRKSRC}/adler32.o
+ ${TOUCH} ${WRKSRC}/deflate.o
+ ${TOUCH} ${WRKSRC}/trees.o
+ ln -s ${PORTSDIR}/graphics/jpeg/work/jpeg-6a ${WRKSRC}/jpeg-6a
+ ln -s ${PORTSDIR}/graphics/png/work/libpng-0.96 ${WRKSRC}/libpng
+ cd ${WRKSRC} && unzip -La ${DISTDIR}/${HP850_DRV}
+
+do-configure:
+.if defined(BATCH)
+ @${SETENV} PORTSDIR=${PORTSDIR} WRKSRC=${WRKSRC} \
+ ${SH} ${SCRIPTDIR}/configure.batch
+.else
+ @${SETENV} PORTSDIR=${PORTSDIR} WRKSRC=${WRKSRC} \
+ ${SH} ${SCRIPTDIR}/configure
+.endif
+
+pre-install:
+ @${MKDIR} ${PREFIX}/share/ghostscript ${PREFIX}/bin ${PREFIX}/man/man1
+ (cd ${PREFIX}/share/ghostscript ; \
+ tar -xzf ${DISTDIR}/${GS_FONTS_STD})
+ (cd ${PREFIX}/share/ghostscript/fonts ; \
+ tar -xzf ${DISTDIR}/${GS_FONTS_OTHER})
+
+post-install:
+ strip ${PREFIX}/bin/gs
+
+.include <bsd.port.mk>
diff --git a/print/ghostscript5/files/md5 b/print/ghostscript5/files/md5
new file mode 100644
index 00000000000..11e7a700d8e
--- /dev/null
+++ b/print/ghostscript5/files/md5
@@ -0,0 +1,5 @@
+MD5 (ghostscript-5.03.tar.gz) = 43aadf534775dc47f3ca2c235023f909
+MD5 (ghostscript-5.03gnu.tar.gz) = f33fa05bec91d96fef34fe902629f974
+MD5 (ghostscript-fonts-std-4.0.tar.gz) = 1e0fe2149affd80deaaae144227049b9
+MD5 (ghostscript-fonts-other-5.03.tar.gz) = 703bcc5592f4b4644cda454bcc45c7d6
+MD5 (hp850.zip) = 9d8d59eb8da9ec394d7aeb1560ca8d40
diff --git a/print/ghostscript5/patches/patch-aa b/print/ghostscript5/patches/patch-aa
new file mode 100644
index 00000000000..9a32f8c0ed1
--- /dev/null
+++ b/print/ghostscript5/patches/patch-aa
@@ -0,0 +1,142 @@
+--- unix-gcc.mak.orig Sat Aug 9 20:27:58 1997
++++ unix-gcc.mak Sun Aug 24 15:44:56 1997
+@@ -1,3 +1,4 @@
++DEVICE_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11gray2.dev x11mono.dev sxlcrt.dev ap3250.dev appledmp.dev bj10e.dev bj200.dev bjc600.dev bjc800.dev ccr.dev cdeskjet.dev cdjcolor.dev cdjmono.dev cdj500.dev cdj550.dev cdj850.dev cp50.dev declj250.dev deskjet.dev djet500.dev djet500c.dev dnj650c.dev epson.dev eps9mid.dev eps9high.dev epsonc.dev ibmpro.dev imagen.dev iwhi.dev iwlo.dev iwlq.dev jetp3852.dev laserjet.dev la50.dev la70.dev la75.dev la75plus.dev lbp8.dev lips3.dev ln03.dev lj250.dev ljet2p.dev ljet3.dev ljet3d.dev ljet4.dev lj4dith.dev ljetplus.dev lj5mono.dev lj5gray.dev lp2563.dev lp8000.dev m8510.dev necp6.dev oce9050.dev oki182.dev okiibm.dev paintjet.dev pj.dev pjetxl.dev pjxl.dev pjxl300.dev pxlmono.dev pxlcolor.dev r4081.dev sj48.dev st800.dev stcolor.dev t4693d2.dev t4693d4.dev t4693d8.dev tek4696.dev uniprint.dev xes.dev dfaxhigh.dev dfaxlow.dev faxg3.dev faxg32d.dev faxg4.dev tiffcrle.dev tiffg3.dev tiffg32d.dev tiffg4.dev epswrite.dev pdfwrite.dev pswrite.dev pxlmono.dev pxlcolor.dev bit.dev bitrgb.dev bitcmyk.dev bmpmono.dev bmp16.dev bmp256.dev bmp16m.dev cgmmono.dev cgm8.dev cgm24.dev cif.dev jpeg.dev jpeggray.dev miff24.dev mgrmono.dev mgrgray2.dev mgrgray4.dev mgrgray8.dev mgr4.dev mgr8.dev pdfwrite.dev pcxmono.dev pcxgray.dev pcx16.dev pcx256.dev pcx24b.dev pcxcmyk.dev pbm.dev pbmraw.dev pgm.dev pgmraw.dev pgnm.dev pgnmraw.dev pnm.dev pnmraw.dev ppm.dev ppmraw.dev pkm.dev pkmraw.dev pngmono.dev pnggray.dev png16.dev png256.dev png16m.dev psmono.dev psgray.dev sgirgb.dev tiff12nc.dev tiff24nc.dev tifflzw.dev tiffpack.dev
+ # Copyright (C) 1997 Aladdin Enterprises. All rights reserved.
+ #
+ # This file is part of Aladdin Ghostscript.
+@@ -150,7 +151,7 @@
+ # Define the directory where the zlib sources are stored.
+ # See zlib.mak for more information.
+
+-ZSRCDIR=zlib
++ZSRCDIR=.
+
+ # Choose whether to use a shared version of the zlib library, and if so,
+ # what its name is (usually libz, but sometimes libgz).
+@@ -175,7 +176,7 @@
+
+ # Define the name of the C compiler.
+
+-CC=gcc
++CC=cc
+
+ # Define the name of the linker for the final link step.
+ # Normally this is the same as the C compiler.
+@@ -217,7 +218,7 @@
+ # SVR4 may need -lnsl.
+ # (Libraries required by individual drivers are handled automatically.)
+
+-EXTRALIBS=
++EXTRALIBS=-lz
+
+ # Define the include switch(es) for the X11 header files.
+ # This can be null if handled in some other way (e.g., the files are
+@@ -227,7 +228,7 @@
+ # Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
+ # not in $(XINCLUDE).
+
+-XINCLUDE=-I/usr/local/X/include
++XINCLUDE=-I/usr/X11R6/include
+
+ # Define the directory/ies and library names for the X11 library files.
+ # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
+@@ -242,7 +243,7 @@
+ #XLIBS=Xt SM ICE Xext X11
+
+ #XLIBDIRS=-L/usr/local/X/lib
+-XLIBDIRS=-L/usr/X11/lib
++XLIBDIRS=-L/usr/X11R6/lib
+ XLIBDIR=
+ XLIBS=Xt Xext X11
+
+@@ -286,22 +287,22 @@
+
+ # Choose the device(s) to include. See devs.mak for details.
+
+-DEVICE_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11gray2.dev x11mono.dev
+-DEVICE_DEVS1=
+-DEVICE_DEVS2=
+-DEVICE_DEVS3=deskjet.dev djet500.dev laserjet.dev ljetplus.dev ljet2p.dev ljet3.dev ljet4.dev
+-DEVICE_DEVS4=cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev pjxl.dev pjxl300.dev
+-DEVICE_DEVS5=uniprint.dev
+-DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev
+-DEVICE_DEVS7=faxg3.dev faxg32d.dev faxg4.dev
+-DEVICE_DEVS8=pcxmono.dev pcxgray.dev pcx16.dev pcx256.dev pcx24b.dev pcxcmyk.dev
+-DEVICE_DEVS9=pbm.dev pbmraw.dev pgm.dev pgmraw.dev pgnm.dev pgnmraw.dev pnm.dev pnmraw.dev ppm.dev ppmraw.dev
+-DEVICE_DEVS10=tiffcrle.dev tiffg3.dev tiffg32d.dev tiffg4.dev tifflzw.dev tiffpack.dev
+-DEVICE_DEVS11=tiff12nc.dev tiff24nc.dev
+-DEVICE_DEVS12=psmono.dev psgray.dev bit.dev bitrgb.dev bitcmyk.dev
+-DEVICE_DEVS13=pngmono.dev pnggray.dev png16.dev png256.dev png16m.dev
+-DEVICE_DEVS14=jpeg.dev jpeggray.dev
+-DEVICE_DEVS15=pdfwrite.dev pswrite.dev epswrite.dev pxlmono.dev pxlcolor.dev
++#DEVICE_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11gray2.dev x11mono.dev
++#DEVICE_DEVS1=
++#DEVICE_DEVS2=
++#DEVICE_DEVS3=deskjet.dev djet500.dev laserjet.dev ljetplus.dev ljet2p.dev ljet3.dev ljet4.dev
++#DEVICE_DEVS4=cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev pjxl.dev pjxl300.dev
++#DEVICE_DEVS5=uniprint.dev
++#DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev
++#DEVICE_DEVS7=faxg3.dev faxg32d.dev faxg4.dev
++#DEVICE_DEVS8=pcxmono.dev pcxgray.dev pcx16.dev pcx256.dev pcx24b.dev pcxcmyk.dev
++#DEVICE_DEVS9=pbm.dev pbmraw.dev pgm.dev pgmraw.dev pgnm.dev pgnmraw.dev pnm.dev pnmraw.dev ppm.dev ppmraw.dev
++#DEVICE_DEVS10=tiffcrle.dev tiffg3.dev tiffg32d.dev tiffg4.dev tifflzw.dev tiffpack.dev
++#DEVICE_DEVS11=tiff12nc.dev tiff24nc.dev
++#DEVICE_DEVS12=psmono.dev psgray.dev bit.dev bitrgb.dev bitcmyk.dev
++#DEVICE_DEVS13=pngmono.dev pnggray.dev png16.dev png256.dev png16m.dev
++#DEVICE_DEVS14=jpeg.dev jpeggray.dev
++#DEVICE_DEVS15=pdfwrite.dev pswrite.dev epswrite.dev pxlmono.dev pxlcolor.dev
+
+ # ---------------------------- End of options --------------------------- #
+
+@@ -3629,8 +3630,8 @@
+ libpng95.dev: $(LIBPNG_MAK) $(ECHOGS_XE) pngwio.$(OBJ) crc32.dev
+ $(SETMOD) libpng95 pngwio.$(OBJ) -include crc32
+
+-libpng96.dev: $(LIBPNG_MAK) $(ECHOGS_XE) pngwio.$(OBJ) crc32.dev
+- $(SETMOD) libpng96 pngwio.$(OBJ) -include crc32
++libpng96.dev: $(LIBPNG_MAK) $(ECHOGS_XE) pngwio.$(OBJ)
++ $(SETMOD) libpng96 pngwio.$(OBJ)
+ # Copyright (C) 1995, 1996, 1997 Aladdin Enterprises. All rights reserved.
+ #
+ # This file is part of Aladdin Ghostscript.
+@@ -3711,7 +3712,7 @@
+ zlibe_1.dev: $(MAKEFILE) $(ZLIB_MAK) $(ECHOGS_XE)
+ $(SETMOD) zlibe_1 -lib $(ZLIB_NAME)
+
+-zlibe_=adler32.$(OBJ) deflate.$(OBJ) trees.$(OBJ)
++zlibe_=
+ zlibe_0.dev: $(ZLIB_MAK) $(ECHOGS_XE) zlibc.dev $(zlibe_)
+ $(SETMOD) zlibe_0 $(zlibe_)
+ $(ADDMOD) zlibe_0 -include zlibc
+@@ -3758,11 +3759,11 @@
+
+ zlibd1_=infblock.$(OBJ) infcodes.$(OBJ) inffast.$(OBJ)
+ zlibd2_=inflate.$(OBJ) inftrees.$(OBJ) infutil.$(OBJ)
+-zlibd_ = $(zlibd1_) $(zlibd2_)
+-zlibd_0.dev: $(ZLIB_MAK) $(ECHOGS_XE) zlibc.dev $(zlibd_)
+- $(SETMOD) zlibd_0 $(zlibd1_)
+- $(ADDMOD) zlibd_0 -obj $(zlibd2_)
+- $(ADDMOD) zlibd_0 -include zlibc
++zlibd_ =
++zlibd_0.dev: $(ZLIB_MAK) $(ECHOGS_XE) zlibc.dev
++ $(SETMOD) zlibd_0
++ $(ADDMOD) zlibd_0
++ $(ADDMOD) zlibd_0
+
+ infblock.$(OBJ): $(ZSRC)infblock.c $(ZDEP) zutil.h
+ $(CP_) $(ZSRC)infblock.c .
+@@ -4537,8 +4538,13 @@
+
+ cdeskjet_=gdevcdj.$(OBJ) $(HPPCL)
+
++cdeskjet8_=gdevcd8.$(OBJ) $(HPPCL)
++
+ cdeskjet.dev: $(cdeskjet_) page.dev
+ $(SETPDEV) cdeskjet $(cdeskjet_)
++
++cdj850.dev: $(cdeskjet8_) page.dev
++ $(SETPDEV) cdj850 $(cdeskjet8_)
+
+ cdjcolor.dev: $(cdeskjet_) page.dev
+ $(SETPDEV) cdjcolor $(cdeskjet_)
diff --git a/print/ghostscript5/patches/patch-ab b/print/ghostscript5/patches/patch-ab
new file mode 100644
index 00000000000..aee04b39d51
--- /dev/null
+++ b/print/ghostscript5/patches/patch-ab
@@ -0,0 +1,10 @@
+--- gs_init.ps.orig Thu Jan 2 19:23:13 1997
++++ gs_init.ps Thu Jan 2 19:24:46 1997
+@@ -1363,3 +1363,7 @@
+ (END GC) VMDEBUG
+
+ % The interpreter will run the initial procedure (start).
++
++% unofficial patch:
++% make it possible to print from within acroread pdf viewer
++/Default currenthalftone /Halftone defineresource pop
diff --git a/print/ghostscript5/patches/patch-ad b/print/ghostscript5/patches/patch-ad
new file mode 100644
index 00000000000..c3af6e8bb55
--- /dev/null
+++ b/print/ghostscript5/patches/patch-ad
@@ -0,0 +1,4 @@
+--- /dev/null Sun May 18 19:02:12 1997
++++ cdj850.dev Sun May 18 19:14:48 1997
+@@ -0,0 +1 @@
++-dev cdj850 -include page -obj gdevcd8.o gdevpcl.o
diff --git a/print/ghostscript5/patches/patch-ae b/print/ghostscript5/patches/patch-ae
new file mode 100644
index 00000000000..66422ae5475
--- /dev/null
+++ b/print/ghostscript5/patches/patch-ae
@@ -0,0 +1,16 @@
+--- devs.mak.org Sun May 18 19:17:33 1997
++++ devs.mak Sun May 18 19:19:06 1997
+@@ -676,8 +676,13 @@
+
+ cdeskjet_=gdevcdj.$(OBJ) $(HPPCL)
+
++cdeskjet8_=gdevcd8.$(OBJ) $(HPPCL)
++
+ cdeskjet.dev: $(cdeskjet_) page.dev
+ $(SETPDEV) cdeskjet $(cdeskjet_)
++
++cdj850.dev: $(cdeskjet8_) page.dev
++ $(SETPDEV) cdj850 $(cdeskjet8_)
+
+ cdjcolor.dev: $(cdeskjet_) page.dev
+ $(SETPDEV) cdjcolor $(cdeskjet_)
diff --git a/print/ghostscript5/pkg/COMMENT b/print/ghostscript5/pkg/COMMENT
new file mode 100644
index 00000000000..7c33868368f
--- /dev/null
+++ b/print/ghostscript5/pkg/COMMENT
@@ -0,0 +1 @@
+Aladdin Postscript interpreter.
diff --git a/print/ghostscript5/pkg/DESCR b/print/ghostscript5/pkg/DESCR
new file mode 100644
index 00000000000..fbed1aed748
--- /dev/null
+++ b/print/ghostscript5/pkg/DESCR
@@ -0,0 +1,20 @@
+This is Aladdin Ghostscript 5.03, the non-GPL version that comes
+with a licence different from the GPL. Read the file PUBLIC in the
+work/gs5.03 directory or in /usr/local/share/ghostscript/5.03/doc/PUBLIC
+after installation for details !
+
+Ghostscript is the well-known PostScript interpreter which is
+available for all common and most esoteric platforms and supports
+many different printers and some displays.
+
+The official ghostscript Web page:
+ http://www.cs.wisc.edu/~ghost/index.html
+
+Thomas Merz has written a Ghostscript manual which is available in
+PDF from this site (456k) and also from Thomas Merz's site in Germany.
+
+ http://www.cs.wisc.edu/~ghost/merz.html
+
+On the german site the manual is also available in German language.
+
+ http://www.muc.de/~tm/free/free.html
diff --git a/print/ghostscript5/pkg/PLIST b/print/ghostscript5/pkg/PLIST
new file mode 100644
index 00000000000..ae0ad8aff4b
--- /dev/null
+++ b/print/ghostscript5/pkg/PLIST
@@ -0,0 +1,362 @@
+bin/bdftops
+bin/font2c
+bin/gs
+bin/gsbj
+bin/gsdj
+bin/gsdj500
+bin/gslj
+bin/gslp
+bin/gsnd
+bin/pdf2dsc
+bin/pdf2ps
+bin/printafm
+bin/ps2ascii
+bin/ps2epsi
+bin/ps2pdf
+bin/wftopfa
+man/man1/gs.1.gz
+man/man1/pdf2dsc.1.gz
+man/man1/pdf2ps.1.gz
+man/man1/ps2ascii.1.gz
+man/man1/ps2epsi.1.gz
+man/man1/ps2pdf.1.gz
+share/ghostscript/5.03/Fontmap
+share/ghostscript/5.03/acctest.ps
+share/ghostscript/5.03/align.ps
+share/ghostscript/5.03/bdftops.ps
+share/ghostscript/5.03/bjc610a0.upp
+share/ghostscript/5.03/bjc610a1.upp
+share/ghostscript/5.03/bjc610a2.upp
+share/ghostscript/5.03/bjc610a3.upp
+share/ghostscript/5.03/bjc610a4.upp
+share/ghostscript/5.03/bjc610a5.upp
+share/ghostscript/5.03/bjc610a6.upp
+share/ghostscript/5.03/bjc610a7.upp
+share/ghostscript/5.03/bjc610a8.upp
+share/ghostscript/5.03/bjc610b1.upp
+share/ghostscript/5.03/bjc610b2.upp
+share/ghostscript/5.03/bjc610b3.upp
+share/ghostscript/5.03/bjc610b4.upp
+share/ghostscript/5.03/bjc610b6.upp
+share/ghostscript/5.03/bjc610b7.upp
+share/ghostscript/5.03/bjc610b8.upp
+share/ghostscript/5.03/caption.ps
+share/ghostscript/5.03/cbjc600.ppd
+share/ghostscript/5.03/cbjc800.ppd
+share/ghostscript/5.03/cdj550.upp
+share/ghostscript/5.03/decrypt.ps
+share/ghostscript/5.03/doc/COPYING
+share/ghostscript/5.03/doc/NEWS
+share/ghostscript/5.03/doc/PUBLIC
+share/ghostscript/5.03/doc/README
+share/ghostscript/5.03/doc/bug-form.txt
+share/ghostscript/5.03/doc/c-style.txt
+share/ghostscript/5.03/doc/current.txt
+share/ghostscript/5.03/doc/devices.txt
+share/ghostscript/5.03/doc/drivers.txt
+share/ghostscript/5.03/doc/fonts.txt
+share/ghostscript/5.03/doc/helpers.txt
+share/ghostscript/5.03/doc/hershey.txt
+share/ghostscript/5.03/doc/history1.txt
+share/ghostscript/5.03/doc/history2.txt
+share/ghostscript/5.03/doc/history3.txt
+share/ghostscript/5.03/doc/humor.txt
+share/ghostscript/5.03/doc/install.txt
+share/ghostscript/5.03/doc/language.txt
+share/ghostscript/5.03/doc/lib.txt
+share/ghostscript/5.03/doc/make.txt
+share/ghostscript/5.03/doc/new-user.txt
+share/ghostscript/5.03/doc/ps2epsi.txt
+share/ghostscript/5.03/doc/ps2pdf.txt
+share/ghostscript/5.03/doc/psfiles.txt
+share/ghostscript/5.03/doc/public.txt
+share/ghostscript/5.03/doc/unix-lpr.txt
+share/ghostscript/5.03/doc/use.txt
+share/ghostscript/5.03/doc/xfonts.txt
+share/ghostscript/5.03/docie.ps
+share/ghostscript/5.03/examples/alphabet.ps
+share/ghostscript/5.03/examples/cheq.ps
+share/ghostscript/5.03/examples/chess.ps
+share/ghostscript/5.03/examples/colorcir.ps
+share/ghostscript/5.03/examples/escher.ps
+share/ghostscript/5.03/examples/golfer.ps
+share/ghostscript/5.03/examples/grayalph.ps
+share/ghostscript/5.03/examples/ridt91.eps
+share/ghostscript/5.03/examples/snowflak.ps
+share/ghostscript/5.03/examples/tiger.ps
+share/ghostscript/5.03/examples/waterfal.ps
+share/ghostscript/5.03/font2c.ps
+share/ghostscript/5.03/gs_btokn.ps
+share/ghostscript/5.03/gs_ccfnt.ps
+share/ghostscript/5.03/gs_cff.ps
+share/ghostscript/5.03/gs_cidfn.ps
+share/ghostscript/5.03/gs_cmap.ps
+share/ghostscript/5.03/gs_dbt_e.ps
+share/ghostscript/5.03/gs_diskf.ps
+share/ghostscript/5.03/gs_dpnxt.ps
+share/ghostscript/5.03/gs_dps.ps
+share/ghostscript/5.03/gs_dps1.ps
+share/ghostscript/5.03/gs_dps2.ps
+share/ghostscript/5.03/gs_epsf.ps
+share/ghostscript/5.03/gs_fonts.ps
+share/ghostscript/5.03/gs_init.ps
+share/ghostscript/5.03/gs_iso_e.ps
+share/ghostscript/5.03/gs_kanji.ps
+share/ghostscript/5.03/gs_ksb_e.ps
+share/ghostscript/5.03/gs_l2img.ps
+share/ghostscript/5.03/gs_lev2.ps
+share/ghostscript/5.03/gs_mex_e.ps
+share/ghostscript/5.03/gs_mro_e.ps
+share/ghostscript/5.03/gs_pdf.ps
+share/ghostscript/5.03/gs_pdf_e.ps
+share/ghostscript/5.03/gs_pdfwr.ps
+share/ghostscript/5.03/gs_pfile.ps
+share/ghostscript/5.03/gs_res.ps
+share/ghostscript/5.03/gs_setpd.ps
+share/ghostscript/5.03/gs_statd.ps
+share/ghostscript/5.03/gs_std_e.ps
+share/ghostscript/5.03/gs_sym_e.ps
+share/ghostscript/5.03/gs_ttf.ps
+share/ghostscript/5.03/gs_typ42.ps
+share/ghostscript/5.03/gs_type1.ps
+share/ghostscript/5.03/gs_wan_e.ps
+share/ghostscript/5.03/gslp.ps
+share/ghostscript/5.03/impath.ps
+share/ghostscript/5.03/landscap.ps
+share/ghostscript/5.03/level1.ps
+share/ghostscript/5.03/lines.ps
+share/ghostscript/5.03/markhint.ps
+share/ghostscript/5.03/markpath.ps
+share/ghostscript/5.03/necp2x.upp
+share/ghostscript/5.03/necp2x6.upp
+share/ghostscript/5.03/packfile.ps
+share/ghostscript/5.03/pcharstr.ps
+share/ghostscript/5.03/pdf2dsc.ps
+share/ghostscript/5.03/pdf_2ps.ps
+share/ghostscript/5.03/pdf_base.ps
+share/ghostscript/5.03/pdf_draw.ps
+share/ghostscript/5.03/pdf_font.ps
+share/ghostscript/5.03/pdf_main.ps
+share/ghostscript/5.03/pdf_sec.ps
+share/ghostscript/5.03/pfbtogs.ps
+share/ghostscript/5.03/ppath.ps
+share/ghostscript/5.03/prfont.ps
+share/ghostscript/5.03/printafm.ps
+share/ghostscript/5.03/ps2ai.ps
+share/ghostscript/5.03/ps2ascii.ps
+share/ghostscript/5.03/ps2epsi.ps
+share/ghostscript/5.03/ps2image.ps
+share/ghostscript/5.03/quit.ps
+share/ghostscript/5.03/ras1.upp
+share/ghostscript/5.03/ras24.upp
+share/ghostscript/5.03/ras3.upp
+share/ghostscript/5.03/ras32.upp
+share/ghostscript/5.03/ras4.upp
+share/ghostscript/5.03/ras8m.upp
+share/ghostscript/5.03/showchar.ps
+share/ghostscript/5.03/showpage.ps
+share/ghostscript/5.03/stc.upp
+share/ghostscript/5.03/stc1520h.upp
+share/ghostscript/5.03/stc2.upp
+share/ghostscript/5.03/stc2_h.upp
+share/ghostscript/5.03/stc2s_h.upp
+share/ghostscript/5.03/stc500p.upp
+share/ghostscript/5.03/stc500ph.upp
+share/ghostscript/5.03/stc600ih.upp
+share/ghostscript/5.03/stc600p.upp
+share/ghostscript/5.03/stc600pl.upp
+share/ghostscript/5.03/stc800ih.upp
+share/ghostscript/5.03/stc800p.upp
+share/ghostscript/5.03/stc800pl.upp
+share/ghostscript/5.03/stc_h.upp
+share/ghostscript/5.03/stc_l.upp
+share/ghostscript/5.03/stcany.upp
+share/ghostscript/5.03/stcinfo.ps
+share/ghostscript/5.03/stcolor.ps
+share/ghostscript/5.03/traceimg.ps
+share/ghostscript/5.03/traceop.ps
+share/ghostscript/5.03/type1enc.ps
+share/ghostscript/5.03/type1ops.ps
+share/ghostscript/5.03/uninfo.ps
+share/ghostscript/5.03/unprot.ps
+share/ghostscript/5.03/viewcmyk.ps
+share/ghostscript/5.03/viewgif.ps
+share/ghostscript/5.03/viewjpeg.ps
+share/ghostscript/5.03/viewpbm.ps
+share/ghostscript/5.03/viewpcx.ps
+share/ghostscript/5.03/viewps2a.ps
+share/ghostscript/5.03/wftopfa.ps
+share/ghostscript/5.03/winmaps.ps
+share/ghostscript/5.03/wrfont.ps
+share/ghostscript/5.03/zeroline.ps
+share/ghostscript/fonts/a010013l.afm
+share/ghostscript/fonts/a010013l.pfb
+share/ghostscript/fonts/a010013l.pfm
+share/ghostscript/fonts/a010015l.afm
+share/ghostscript/fonts/a010015l.pfb
+share/ghostscript/fonts/a010015l.pfm
+share/ghostscript/fonts/a010033l.afm
+share/ghostscript/fonts/a010033l.pfb
+share/ghostscript/fonts/a010033l.pfm
+share/ghostscript/fonts/a010035l.afm
+share/ghostscript/fonts/a010035l.pfb
+share/ghostscript/fonts/a010035l.pfm
+share/ghostscript/fonts/b018012l.afm
+share/ghostscript/fonts/b018012l.pfb
+share/ghostscript/fonts/b018012l.pfm
+share/ghostscript/fonts/b018015l.afm
+share/ghostscript/fonts/b018015l.pfb
+share/ghostscript/fonts/b018015l.pfm
+share/ghostscript/fonts/b018032l.afm
+share/ghostscript/fonts/b018032l.pfb
+share/ghostscript/fonts/b018032l.pfm
+share/ghostscript/fonts/b018035l.afm
+share/ghostscript/fonts/b018035l.pfb
+share/ghostscript/fonts/b018035l.pfm
+share/ghostscript/fonts/bchb.afm
+share/ghostscript/fonts/bchb.pfa
+share/ghostscript/fonts/bchbi.afm
+share/ghostscript/fonts/bchbi.pfa
+share/ghostscript/fonts/bchr.afm
+share/ghostscript/fonts/bchr.pfa
+share/ghostscript/fonts/bchri.afm
+share/ghostscript/fonts/bchri.pfa
+share/ghostscript/fonts/c059013l.afm
+share/ghostscript/fonts/c059013l.pfb
+share/ghostscript/fonts/c059013l.pfm
+share/ghostscript/fonts/c059016l.afm
+share/ghostscript/fonts/c059016l.pfb
+share/ghostscript/fonts/c059016l.pfm
+share/ghostscript/fonts/c059033l.afm
+share/ghostscript/fonts/c059033l.pfb
+share/ghostscript/fonts/c059033l.pfm
+share/ghostscript/fonts/c059036l.afm
+share/ghostscript/fonts/c059036l.pfb
+share/ghostscript/fonts/c059036l.pfm
+share/ghostscript/fonts/d050000l.afm
+share/ghostscript/fonts/d050000l.pfb
+share/ghostscript/fonts/d050000l.pfm
+share/ghostscript/fonts/fcyr.afm
+share/ghostscript/fonts/fcyr.gsf
+share/ghostscript/fonts/fcyri.afm
+share/ghostscript/fonts/fcyri.gsf
+share/ghostscript/fonts/fhirw.gsf
+share/ghostscript/fonts/fhirw.pfm
+share/ghostscript/fonts/fkarw.gsf
+share/ghostscript/fonts/fkarw.pfm
+share/ghostscript/fonts/hrger.pfa
+share/ghostscript/fonts/hrgerb.gsf
+share/ghostscript/fonts/hrgerd.gsf
+share/ghostscript/fonts/hrgero.gsf
+share/ghostscript/fonts/hrgkc.gsf
+share/ghostscript/fonts/hrgks.gsf
+share/ghostscript/fonts/hrgrr.pfa
+share/ghostscript/fonts/hrgrrb.gsf
+share/ghostscript/fonts/hrgrro.gsf
+share/ghostscript/fonts/hritr.pfa
+share/ghostscript/fonts/hritrb.gsf
+share/ghostscript/fonts/hritro.gsf
+share/ghostscript/fonts/hrpld.pfa
+share/ghostscript/fonts/hrpldb.gsf
+share/ghostscript/fonts/hrpldbi.gsf
+share/ghostscript/fonts/hrpldi.pfa
+share/ghostscript/fonts/hrplr.gsf
+share/ghostscript/fonts/hrplrb.gsf
+share/ghostscript/fonts/hrplrbo.gsf
+share/ghostscript/fonts/hrplro.gsf
+share/ghostscript/fonts/hrpls.gsf
+share/ghostscript/fonts/hrplsb.gsf
+share/ghostscript/fonts/hrplsbo.gsf
+share/ghostscript/fonts/hrplso.gsf
+share/ghostscript/fonts/hrplt.pfa
+share/ghostscript/fonts/hrpltb.gsf
+share/ghostscript/fonts/hrpltbi.gsf
+share/ghostscript/fonts/hrplti.pfa
+share/ghostscript/fonts/hrscc.pfa
+share/ghostscript/fonts/hrsccb.gsf
+share/ghostscript/fonts/hrscco.gsf
+share/ghostscript/fonts/hrscs.pfa
+share/ghostscript/fonts/hrscsb.gsf
+share/ghostscript/fonts/hrscso.gsf
+share/ghostscript/fonts/hrsyr.gsf
+share/ghostscript/fonts/n019003l.afm
+share/ghostscript/fonts/n019003l.pfb
+share/ghostscript/fonts/n019003l.pfm
+share/ghostscript/fonts/n019004l.afm
+share/ghostscript/fonts/n019004l.pfb
+share/ghostscript/fonts/n019004l.pfm
+share/ghostscript/fonts/n019023l.afm
+share/ghostscript/fonts/n019023l.pfb
+share/ghostscript/fonts/n019023l.pfm
+share/ghostscript/fonts/n019024l.afm
+share/ghostscript/fonts/n019024l.pfb
+share/ghostscript/fonts/n019024l.pfm
+share/ghostscript/fonts/n019043l.afm
+share/ghostscript/fonts/n019043l.pfb
+share/ghostscript/fonts/n019043l.pfm
+share/ghostscript/fonts/n019044l.afm
+share/ghostscript/fonts/n019044l.pfb
+share/ghostscript/fonts/n019044l.pfm
+share/ghostscript/fonts/n019063l.afm
+share/ghostscript/fonts/n019063l.pfb
+share/ghostscript/fonts/n019063l.pfm
+share/ghostscript/fonts/n019064l.afm
+share/ghostscript/fonts/n019064l.pfb
+share/ghostscript/fonts/n019064l.pfm
+share/ghostscript/fonts/n021003l.afm
+share/ghostscript/fonts/n021003l.pfb
+share/ghostscript/fonts/n021003l.pfm
+share/ghostscript/fonts/n021004l.afm
+share/ghostscript/fonts/n021004l.pfb
+share/ghostscript/fonts/n021004l.pfm
+share/ghostscript/fonts/n021023l.afm
+share/ghostscript/fonts/n021023l.pfb
+share/ghostscript/fonts/n021023l.pfm
+share/ghostscript/fonts/n021024l.afm
+share/ghostscript/fonts/n021024l.pfb
+share/ghostscript/fonts/n021024l.pfm
+share/ghostscript/fonts/n022003l.afm
+share/ghostscript/fonts/n022003l.pfb
+share/ghostscript/fonts/n022003l.pfm
+share/ghostscript/fonts/n022004l.afm
+share/ghostscript/fonts/n022004l.pfb
+share/ghostscript/fonts/n022004l.pfm
+share/ghostscript/fonts/n022023l.afm
+share/ghostscript/fonts/n022023l.pfb
+share/ghostscript/fonts/n022023l.pfm
+share/ghostscript/fonts/n022024l.afm
+share/ghostscript/fonts/n022024l.pfb
+share/ghostscript/fonts/n022024l.pfm
+share/ghostscript/fonts/p052003l.afm
+share/ghostscript/fonts/p052003l.pfb
+share/ghostscript/fonts/p052003l.pfm
+share/ghostscript/fonts/p052004l.afm
+share/ghostscript/fonts/p052004l.pfb
+share/ghostscript/fonts/p052004l.pfm
+share/ghostscript/fonts/p052023l.afm
+share/ghostscript/fonts/p052023l.pfb
+share/ghostscript/fonts/p052023l.pfm
+share/ghostscript/fonts/p052024l.afm
+share/ghostscript/fonts/p052024l.pfb
+share/ghostscript/fonts/p052024l.pfm
+share/ghostscript/fonts/putb.pfa
+share/ghostscript/fonts/putbi.pfa
+share/ghostscript/fonts/putr.pfa
+share/ghostscript/fonts/putri.pfa
+share/ghostscript/fonts/s050000l.afm
+share/ghostscript/fonts/s050000l.pfb
+share/ghostscript/fonts/s050000l.pfm
+share/ghostscript/fonts/u003043t.afm
+share/ghostscript/fonts/u003043t.gsf
+share/ghostscript/fonts/u003043t.pfm
+share/ghostscript/fonts/u004006t.afm
+share/ghostscript/fonts/u004006t.gsf
+share/ghostscript/fonts/u004006t.pfm
+share/ghostscript/fonts/z003034l.afm
+share/ghostscript/fonts/z003034l.pfb
+share/ghostscript/fonts/z003034l.pfm
+@dirrm share/ghostscript/fonts
+@dirrm share/ghostscript/5.03/doc
+@dirrm share/ghostscript/5.03/examples
+@dirrm share/ghostscript/5.03
+@dirrm share/ghostscript
diff --git a/print/ghostscript5/scripts/configure b/print/ghostscript5/scripts/configure
new file mode 100644
index 00000000000..054d58e4726
--- /dev/null
+++ b/print/ghostscript5/scripts/configure
@@ -0,0 +1,183 @@
+#! /bin/sh
+
+# without that no way :)
+touch ${WRKSRC}/makefile
+
+# driverselection
+/usr/bin/dialog --title "Ghostscript 4 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 gs4 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/ON ?" -1 -1 9\
+ "x11" "X Windows version 11, release >=4" ON \
+ "x11alpha" "X Windows masquer. as device with alpha capability" ON \
+ "x11cmyk" "X Windows masquer. as 1-bit-per-plane CMYK device" ON \
+ "x11gray2" "X Windows as a 2-bit gray-scale device" ON \
+ "x11mono" "X Windows masquer. as black-and-white device" ON \
+ "sxlcrt" "CRT sixels, e.g. for VT240-like terminals" ON \
+ "ap3250" "Epson AP3250" ON \
+ "appledmp" "Apple Dot Matrix Printer / Imagewriter" ON \
+ "bj10e" "Canon BubbleJet BJ10e" ON \
+ "bj200" "Canon BubbleJet BJ200" ON \
+ "bjc600" "Canon Color BubbleJet BJC-600/4000/70+Apple StyleWriter 2x00" ON \
+ "bjc800" "Canon Color BubbleJet BJC-800" ON \
+ "ccr" "CalComp Raster format" ON \
+ "cdeskjet" "HP DeskJet 500C, 1 bit/pixel color" ON \
+ "cdjcolor" "HP DeskJet 500C/540C, 24 bit/pixel color + FS dithering" ON \
+ "cdjmono" "HP DeskJet 500/510/520/540C b/w printing" ON \
+ "cdj500" "HP DeskJet 500C (same as cdjcolor)" ON \
+ "cdj550" "HP DeskJet 550C/560C" ON \
+ "cdj850" "HP DeskJet 850/855/870/890" ON \
+ "cp50" "Mitsubishi CP50 color" ON \
+ "declj250" "alternate DEC LJ250 driver" ON \
+ "deskjet" "HP DeskJet and DeskJet Plus" ON \
+ "djet500" "HP DeskJet 500" ON \
+ "djet500c" "HP DeskJet 500C alternate driver, not for 550/560C" ON \
+ "dnj650c" "HP DesignJet 650C" ON \
+ "epson" "Epson-compatible dot matrix, 9/24-pin" ON \
+ "eps9mid" "Epson-compatible 9-pin, medium resol" ON \
+ "eps9high" "Epson-compatible 9-pin, high resol" ON \
+ "epsonc" "Epson LQ-2550 and Fujitsu 3400/2400/1200 color" ON \
+ "ibmpro" "IBM 9-pin Proprinter" ON \
+ "imagen" "Imagen ImPress printers" ON \
+ "iwhi" "Apple Imagewriter, high-resolution mode" ON \
+ "iwlo" "Apple Imagewriter, low-resolution mode" ON \
+ "iwlq" "Apple Imagewriter LQ in 320 x 216 dpi mode" ON \
+ "jetp3852" "IBM Jetprinter ink-jet color (Model #3852)" ON \
+ "laserjet" "HP LaserJet" ON \
+ "la50" "DEC LA50 printer" ON \
+ "la70" "DEC LA70 printer" ON \
+ "la70t" "DEC LA70 printer with low resol. text enhancement" ON \
+ "la75" "DEC LA75 printer" ON \
+ "la75plus" "DEC LA75plus printer" ON \
+ "lbp8" "Canon LBP-8II laser printer" ON \
+ "lips3" "Canon LIPS III laser printer in English/CaPSL mode" ON \
+ "ln03" "DEC LN03 printer" ON \
+ "lj250" "DEC LJ250 Companion color printer" ON \
+ "ljet2p" "HP LaserJet IId/IIp/III* with TIFF compression" ON \
+ "ljet3" "HP LaserJet III* with Delta Row compression" ON \
+ "ljet3d" "HP LaserJet IIID with duplex capability" ON \
+ "ljet4" "HP LaserJet 4 (defaults to 600 dpi)" ON \
+ "lj4dith" "HP LaserJet 4 with Floyd-Steinberg dithering" ON \
+ "ljetplus" "HP LaserJet Plus" ON \
+ "lj5mono" "HP LaserJet 5 and 6 family (PCL5 / PCL XL), bitmap" ON \
+ "lj5gray" "HP LaserJet 5 and 6 family, gray-scale bitmap" ON \
+ "lp2563" "HP 2563B line printer" ON \
+ "lp8000" "EPSON LP-8000 line printer" ON \
+ "lq850" "EPSON LQ-850 (360x360), ok for Canon BJ300 in LQ850 emul" ON \
+ "m8510" "C.Itoh M8510 printer" ON \
+ "necp6" "NEC P6/P6+/P60, 360x360 DPI resol" ON \
+ "oce9050" "OCE 9050 printer" ON \
+ "oki182" "Okidata MicroLine 182" ON \
+ "okiibm" "Okidata MicroLine IBM-compatible printers" ON \
+ "paintjet" "alternate HP PaintJet color printer" ON \
+ "pj" "HP PaintJet XL driver " ON \
+ "pjetxl" "alternate HP PaintJet XL driver" ON \
+ "pjxl" "HP PaintJet XL color printer" ON \
+ "pjxl300" "HP PaintJet XL300 color printer (also for 1200C)" ON \
+ "pxlmono" "HP black-and-white PCL XL printers (LaserJet 5 and 6 family)" ON \
+ "pxlcolor" "HP color PCL XL printers (none available yet)" ON \
+ "r4081" "Ricoh 4081 laser printer" ON \
+ "sj48" "StarJet 48 inkjet printer" ON \
+ "st800" "Epson Stylus 800 printer" ON \
+ "stcolor" "Epson Stylus Color" ON \
+ "t4693d2" "Tektronix 4693d color, 2 bits per R/G/B component" ON \
+ "t4693d4" "Tektronix 4693d color, 4 bits per R/G/B component" ON \
+ "t4693d8" "Tektronix 4693d color, 8 bits per R/G/B component" ON \
+ "tek4696" "Tektronix 4695/4696 inkjet plotter" ON \
+ "uniprint" "Configurable Color ESC/P,ESC/P2,HP-RTL/PCL mono/color driver" ON \
+ "xes" "Xerox XES printers (2700, 3700, 4045, etc.)" ON \
+ "dfaxhigh" "DigiBoard, DigiFAX software format (high resol)" ON \
+ "dfaxlow" "DigiFAX low (normal) resol" ON \
+ "faxg3" "Group 3 fax, with EOLs but no header or EOD" ON \
+ "faxg32d" "Group 3 2-D fax, with EOLs but no header or EOD" ON \
+ "faxg4" "Group 4 fax, with EOLs but no header or EOD" ON \
+ "tiffcrle" "TIFF CCITT RLE 1 dim = Group 3 fax with no EOLs" ON \
+ "tiffg3" "TIFF Group 3 fax with EOLs" ON \
+ "tiffg32d" "TIFF Group 3 2-D fax" ON \
+ "tiffg4" "TIFF Group 4 fax" ON \
+ "epswrite" "EPS output (like PostScript Distillery)" ON \
+ "pdfwrite" "PDF output (like Adobe Acrobat Distiller)" ON \
+ "pswrite" "PostScript output (like PostScript Distillery)" ON \
+ "pxlmono" "Black-and-white PCL XL" ON \
+ "pxlcolor" "Color PCL XL" ON \
+ "bit" "Plain bits, monochrome" ON \
+ "bitrgb" "Plain bits, RGB" ON \
+ "bitcmyk" "Plain bits, CMYK" ON \
+ "bmpmono" "Monochrome MS Windows .BMP file format" ON \
+ "bmp16" "4-bit EGA/VGA .BMP file format" ON \
+ "bmp256" "8-bit 256-color .BMP file format" ON \
+ "bmp16m" "24-bit .BMP file format" ON \
+ "cgmmono" "Monochrome CGM -- LOW LEVEL OUTPUT ONLY" ON \
+ "cgm8" "8-bit 256-color CGM -- DITTO" ON \
+ "cgm24" "24-bit color CGM -- DITTO" ON \
+ "cif" "CIF file format for VLSI" ON \
+ "jpeg" "JPEG format, RGB output" ON \
+ "jpeggray" "JPEG format, gray output" ON \
+ "miff24" "ImageMagick MIFF, 24-bit direct color, RLE compressed" ON \
+ "mgrmono" "1-bit monochrome MGR devices" ON \
+ "mgrgray2" "2-bit gray scale MGR devices" ON \
+ "mgrgray4" "4-bit gray scale MGR devices" ON \
+ "mgrgray8" "8-bit gray scale MGR devices" ON \
+ "mgr4" "4-bit (VGA) color MGR devices" ON \
+ "mgr8" "8-bit color MGR devices" ON \
+ "pcxmono" "PCX file format, monochrome 1-bit b/w" ON \
+ "pcxgray" "PCX file format, 8-bit gray scale" ON \
+ "pcx16" "PCX file format, 4-bit planar EGA/VGA color" ON \
+ "pcx256" "PCX file format, 8-bit chunky color" ON \
+ "pcx24b" "PCX file format, 24-bit color 3x8-bit planes" ON \
+ "pcxcmyk" "PCX file format, 4-bit chunky CMYK color" ON \
+ "pbm" "Portable Bitmap, plain format" ON \
+ "pbmraw" "Portable Bitmap, raw format" ON \
+ "pgm" "Portable Graymap, plain format" ON \
+ "pgmraw" "Portable Graymap, raw format" ON \
+ "pgnm" "Portable Graymap, plain format, optim. to PBM" ON \
+ "pgnmraw" "Portable Graymap, raw format, optim. to PBM" ON \
+ "pnm" "Portable Pixmap, plain format RGB, optim. to PGM/PBM" ON \
+ "pnmraw" "Portable Pixmap, raw format RGB, optim. to PGM/PBM" ON \
+ "ppm" "Portable Pixmap, plain format RGB" ON \
+ "ppmraw" "Portable Pixmap, raw format RGB" ON \
+ "pkm" "Portable inKmap (plain format) (4-bit CMYK => RGB)" ON \
+ "pkmraw" "Portable inKmap (raw format) (4-bit CMYK => RGB)" ON \
+ "pngmono" "Monochrome Portable Network Graphics, PNG" ON \
+ "pnggray" "8-bit gray Portable Network Graphics, PNG" ON \
+ "png16" "4-bit color Portable Network Graphics, PNG" ON \
+ "png256" "8-bit color Portable Network Graphics, PNG" ON \
+ "png16m" "24-bit color Portable Network Graphics, PNG" ON \
+ "psmono" "PostScript, Level 1, monochrome image" ON \
+ "psgray" "PostScript (Level 1) 8-bit gray image" ON \
+ "sgirgb" "SGI RGB pixmap format" ON \
+ "tiff12nc" "TIFF 12-bit RGB, no compression" ON \
+ "tiff24nc" "TIFF 24-bit RGB, no compression, NeXT std. format)" ON \
+ "tifflzw" "TIFF LZW, tag = 5, mono" ON \
+ "tiffpack" "TIFF PackBits, tag = 32773, mono" ON 2> /tmp/checklist.tmp.$$
+
+retval=$?
+
+choice=`cat /tmp/checklist.tmp.$$`
+rm -f /tmp/checklist.tmp.$$
+
+case $retval in
+ 0) if [ -z choice ]; then
+ echo "Nothing selected"
+ exit 1;
+ fi
+ ;;
+ 1) echo "Cancel pressed."
+ exit 1
+ ;;
+esac
+
+# bring it into the right format with '.dev' appended to each driver name
+echo "DEVICE_DEVS=$choice" \
+ | sed -e "s/\"//g" \
+ | sed -e "s/ /.dev /g" \
+ | sed -e "s/$/.dev/g" \
+ > ${WRKSRC}/unix-gcc.mak.new
+
+# create one new Makefile, where DEVICE_DEVS contains all wanted devices
+cat ${WRKSRC}/unix-gcc.mak >> ${WRKSRC}/unix-gcc.mak.new
+mv ${WRKSRC}/unix-gcc.mak.new ${WRKSRC}/unix-gcc.mak
diff --git a/print/ghostscript5/scripts/configure.batch b/print/ghostscript5/scripts/configure.batch
new file mode 100644
index 00000000000..469cba521c9
--- /dev/null
+++ b/print/ghostscript5/scripts/configure.batch
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+# without that no way :)
+touch ${WRKSRC}/makefile
+
+cat - > ${WRKSRC}/unix-gcc.mak.new << !EOT
+DEVICE_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11gray2.dev x11mono.dev sxlcrt.dev ap3250.dev appledmp.dev bj10e.dev bj200.dev bjc600.dev bjc800.dev ccr.dev cdeskjet.dev cdjcolor.dev cdjmono.dev cdj500.dev cdj550.dev cdj850.dev cp50.dev declj250.dev deskjet.dev djet500.dev djet500c.dev dnj650c.dev epson.dev eps9mid.dev eps9high.dev epsonc.dev ibmpro.dev imagen.dev iwhi.dev iwlo.dev iwlq.dev jetp3852.dev laserjet.dev la50.dev la70.dev la70t.dev la75.dev la75plus.dev lbp8.dev lips3.dev ln03.dev lj250.dev ljet2p.dev ljet3.dev ljet3d.dev ljet4.dev lj4dith.dev ljetplus.dev lj5mono.dev lj5gray.dev lp2563.dev lp8000.dev lq850.dev m8510.dev necp6.dev oce9050.dev oki182.dev okiibm.dev paintjet.dev pj.dev pjetxl.dev pjxl.dev pjxl300.dev pxlmono.dev pxlcolor.dev r4081.dev sj48.dev st800.dev stcolor.dev t4693d2.dev t4693d4.dev t4693d8.dev tek4696.dev uniprint.dev xes.dev dfaxhigh.dev dfaxlow.dev faxg3.dev faxg32d.dev faxg4.dev tiffcrle.dev tiffg3.dev tiffg32d.dev tiffg4.dev epswrite.dev pdfwrite.dev pswrite.dev pxlmono.dev pxlcolor.dev bit.dev bitrgb.dev bitcmyk.dev bmpmono.dev bmp16.dev bmp256.dev bmp16m.dev cgmmono.dev cgm8.dev cgm24.dev cif.dev jpeg.dev jpeggray.dev miff24.dev mgrmono.dev mgrgray2.dev mgrgray4.dev mgrgray8.dev mgr4.dev mgr8.dev pcxmono.dev pcxgray.dev pcx16.dev pcx256.dev pcx24b.dev pcxcmyk.dev pbm.dev pbmraw.dev pgm.dev pgmraw.dev pgnm.dev pgnmraw.dev pnm.dev pnmraw.dev ppm.dev ppmraw.dev pkm.dev pkmraw.dev pngmono.dev pnggray.dev png16.dev png256.dev png16m.dev psmono.dev psgray.dev sgirgb.dev tiff12nc.dev tiff24nc.dev tifflzw.dev tiffpack.dev
+!EOT
+
+# create one new Makefile, where DEVICE_DEVS contains all wanted devices
+cat ${WRKSRC}/unix-gcc.mak >> ${WRKSRC}/unix-gcc.mak.new
+mv ${WRKSRC}/unix-gcc.mak.new ${WRKSRC}/unix-gcc.mak