summaryrefslogtreecommitdiff
path: root/print/ghostscript-gpl
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript-gpl')
-rw-r--r--print/ghostscript-gpl/Makefile609
-rw-r--r--print/ghostscript-gpl/distinfo18
-rw-r--r--print/ghostscript-gpl/files/cdj850.contrib.mak21
-rw-r--r--print/ghostscript-gpl/files/dj970.contrib.mak9
-rw-r--r--print/ghostscript-gpl/files/gdi.contrib.mak12
-rw-r--r--print/ghostscript-gpl/files/lqx70ch.upp26
-rw-r--r--print/ghostscript-gpl/files/lqx70cl.upp26
-rw-r--r--print/ghostscript-gpl/files/lqx70cm.upp25
-rw-r--r--print/ghostscript-gpl/files/patch-alps:gdevalps.mak25
-rw-r--r--print/ghostscript-gpl/files/patch-eplaser:gdevescv.c53
-rw-r--r--print/ghostscript-gpl/files/patch-eplaser:gdevesmv.c53
-rw-r--r--print/ghostscript-gpl/files/patch-gdev10v:gdev10v.mak22
-rw-r--r--print/ghostscript-gpl/files/patch-lib:gs_init.ps19
-rw-r--r--print/ghostscript-gpl/files/patch-lib:gs_res.ps13
-rw-r--r--print/ghostscript-gpl/files/patch-lib:ps2epsi27
-rw-r--r--print/ghostscript-gpl/files/patch-lib:ps2epsi.ps203
-rw-r--r--print/ghostscript-gpl/files/patch-lips:gdevlips.mak18
-rw-r--r--print/ghostscript-gpl/files/patch-md2k:gdevmd2k.mak19
-rw-r--r--print/ghostscript-gpl/files/patch-mjc:gdevmjc.c335
-rw-r--r--print/ghostscript-gpl/files/patch-mjc:gdevmjc.mak43
-rw-r--r--print/ghostscript-gpl/files/patch-src:contrib.mak-5.94.add14
-rw-r--r--print/ghostscript-gpl/files/patch-src:dmp_site.ps10
-rw-r--r--print/ghostscript-gpl/files/patch-src:dviprlib.c13
-rw-r--r--print/ghostscript-gpl/files/patch-src:gdevdmpr.c11
-rw-r--r--print/ghostscript-gpl/files/patch-src:gdevdmpr.mak21
-rw-r--r--print/ghostscript-gpl/files/patch-src:gdevgdi.c19
-rw-r--r--print/ghostscript-gpl/files/patch-src:gdevlbp8.c70
-rw-r--r--print/ghostscript-gpl/files/patch-src:genarch.c34
-rw-r--r--print/ghostscript-gpl/files/patch-src:unix-dll.mak59
-rw-r--r--print/ghostscript-gpl/files/patch-src:unix-gcc.mak141
-rw-r--r--print/ghostscript-gpl/files/patch-src:zmedia2.c25
-rw-r--r--print/ghostscript-gpl/files/stc740ih.upp60
-rw-r--r--print/ghostscript-gpl/files/stc740p.upp36
-rw-r--r--print/ghostscript-gpl/files/stc740pl.upp32
-rw-r--r--print/ghostscript-gpl/files/stp.contrib.mak14
-rw-r--r--print/ghostscript-gpl/pkg-comment1
-rw-r--r--print/ghostscript-gpl/pkg-descr27
-rw-r--r--print/ghostscript-gpl/pkg-plist539
-rw-r--r--print/ghostscript-gpl/scripts/configure261
-rw-r--r--print/ghostscript-gpl/scripts/configure.batch19
40 files changed, 0 insertions, 2982 deletions
diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile
deleted file mode 100644
index 5515938a93d2..000000000000
--- a/print/ghostscript-gpl/Makefile
+++ /dev/null
@@ -1,609 +0,0 @@
-# New ports collection makefile for: ghostscript
-# Date created: Tue Jun 10 21:58:54 CEST 1997
-# Whom: Andreas Klemm <andreas@klemm.gtn.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= ghostscript
-PORTVERSION= 7.04
-PORTREVISION= 5
-CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:DEFAULT,fonts,gprint/} \
- http://www.gelhaus.net/hp880c/1.4beta/:hp8xx \
- http://home.t-online.de/home/Martin.Lottermoser/pcl3dist/:hpdj_pcl3 \
- http://www.harsch.net/Download/:dj970 \
- http://plaza26.mbn.or.jp/~higamasa/gdevmd2k/:md2k \
- ${MASTER_SITE_PORTS_JP:S/$/:ports_jp/} \
- http://www.humblesoft.com/pub/:epag \
- http://www.epkowa.on.arena.ne.jp/pips/data/gs65_301/:eplaser \
- http://www.ceres.dti.ne.jp/~owatanab/gdevnpdl/:npdl \
- http://www.linuxprinting.org/download/printing/samsung-gdi/:gdi \
- ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/fonts/:fonts \
- ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs704/
-MASTER_SITE_SUBDIR= ghostscript/:DEFAULT,fonts,ports_jp \
- gimp-print/:gprint
-PKGNAMESUFFIX= -afpl
-DISTFILES= ${GS_SRCS}:DEFAULT \
- ${GS_FONTS_STD}:fonts \
- ${GS_FONTS_OTHER}:fonts \
- ${HP8XX_SRCS}:hp8xx \
- ${HPDJ_SRCS}:hpdj_pcl3 \
- ${PCL3_SRCS}:hpdj_pcl3 \
- ${DJ970_SRCS}:dj970 \
- ${GPRINT_SRCS}:gprint \
- ${MD2K_SRCS}:md2k \
- ${ALPS_SRCS}:ports_jp \
- ${BJ10V_SRCS}:ports_jp \
- ${LIPS_SRCS}:ports_jp \
- ${DMPRT_SRCS}:ports_jp \
- ${EPAG_SRCS}:epag \
- ${EPLASER_SRCS}:eplaser \
- ${MJC_SRCS}:ports_jp \
- ${NPDL_SRCS}:npdl \
- ${GDI_SRCS}:gdi
-DIST_SUBDIR= ghostscript
-EXTRACT_ONLY= ${GS_SRCS}
-
-MAINTAINER= ports@FreeBSD.org
-
-BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/graphics/jpeg:extract
-LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
-
-NO_CDROM= "Can only be distributed for free"
-
-WRKSRC= ${WRKDIR}/gs${PORTVERSION}
-
-USE_BZIP2= yes
-USE_GMAKE= yes
-MAKE_ENV= CC="${CC}" CXX="${CXX}" CFLAGS_STANDARD="${CFLAGS}" \
- XCFLAGS="${XCFLAGS}"
-PLIST_SUB= GS_VERSION=${PORTVERSION}
-
-MAN1= ansi2knr.1 dvipdf.1 font2c.1 gs-hpdj.1 gs-pcl3.1 \
- gs.1 gslp.1 gsnd.1 pcl3opts.1 pdf2dsc.1 pdf2ps.1 pdfopt.1 \
- pf2afm.1 pfbtopfa.1 printafm.1 ps2ascii.1 ps2epsi.1 ps2pdf.1 \
- ps2pdfwr.1 ps2ps.1 wftopfa.1
-MLINKS= gslp.1 gsbj.1 \
- gslp.1 gsdj.1 \
- gslp.1 gsdj500.1 \
- gslp.1 gslj.1 \
- ps2pdf.1 ps2pdf12.1 \
- ps2pdf.1 ps2pdf13.1 \
- ps2ps.1 eps2eps.1
-
-XCFLAGS= -DUPD_SIGNAL=0
-
-.if defined(A4)
-XCFLAGS+= -DA4
-.endif
-
-.if !defined(WITHOUT_X11)
-USE_XLIB= yes
-.else
-PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nox11
-MAKE_ENV+= WITHOUT_X11="${WITHOUT_X11}"
-.endif
-
-.if defined(WITH_SHLIB)
-.undef WITHOUT_X11
-USE_GTK= yes
-MAKE_ENV+= GS_SHLIB_VER="${SHLIB_VER}"
-ALL_TARGET= so pcl3opts
-INSTALL_TARGET= soinstall
-INSTALLS_SHLIB= yes
-SHLIB_VER= 1
-PLIST_SUB+= SHLIB="" SHLIB_VER="${SHLIB_VER}"
-.else
-ALL_TARGET= all pcl3opts
-PLIST_SUB+= SHLIB="@comment "
-.endif
-
-GS_SRCS= ${DISTNAME}${EXTRACT_SUFX}
-# 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-6.0.tar.gz
-GS_FONTS_OTHER= ghostscript-fonts-other-6.0.tar.gz
-
-# 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
-
-# HPDJ - additional driver for HP PCL3 printers, by Martin Lottermoser
-# still present, just for the case pcl3 is missing some hpdj feature
-# http://home.t-online.de/home/Martin.Lottermoser/pcl3.html
-HPDJ= hpdj
-HPDJ_VERS= 2.6
-HPDJ_NAME= ${HPDJ}-${HPDJ_VERS}
-HPDJ_SRCS= ${HPDJ_NAME}.tar.gz
-HPDJ_MAN1= gs-hpdj.1
-
-# PCL3 (hpdj successor now in RELEASE quality)
-# additional driver for HP PCL3 printers, by Martin Lottermoser
-# http://home.t-online.de/home/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
-
-# 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/
-GPRINT= gimp-print
-GPRINT_VERS= 4.2.1
-GPRINT_NAME= ${GPRINT}-${GPRINT_VERS}
-GPRINT_SRCS= ${GPRINT_NAME}.tar.gz
-
-# MD2K - additional driver for Alps MD-2000/2010/4000/1300/1500/5000
-# http://plaza26.mbn.or.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
-
-# LIPS - additional driver for Canon LIPS II+/III/IVc/IV printers
-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/
-EPAG= epag
-EPAG_VERS= 3.09
-EPAG_NAME= ${EPAG}-${EPAG_VERS}
-EPAG_SRCS= ${EPAG_NAME}.tar.gz
-
-# EPLASER - additional driver for ESC/Page printers (Epson Kowa developed)
-# http://www.epkowa.co.jp/linux/lpd.html
-EPLASER= eplaser
-EPLASER_VERS= 3.0.1
-EPLASER_NAME= ${EPLASER}-${EPLASER_VERS}
-EPLASER_SRCS= ${EPLASER_NAME}-651.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
-
-# NPDL - additional driver for NEC Printer Description Language printers
-NPDL= npdl
-NPDL_VERS= 1.6.3
-NPDL_NAME= gdevnpdl-${NPDL_VERS}
-NPDL_SRCS= ${NPDL_NAME}.tar.gz
-
-# GDI - additional driver for Samsung SmartGDI laser printers
-GDI= gdi
-GDI_NAME= samsung-gdi-driver-gs5.50
-GDI_SRCS= ${GDI_NAME}.tar.gz
-
-# contributed uniprint profiles
-CONTRIB_UPP= lqx70ch.upp lqx70cl.upp lqx70cm.upp \
- stc740ih.upp stc740p.upp stc740pl.upp
-
-.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 ..."
- ${LN} -sf `cd ${PORTSDIR}/graphics/jpeg && ${MAKE} -V WRKSRC` \
- ${WRKSRC}/jpeg
-# ** 3rd party driver **
-# Note: don't forget to add those devices in scripts/configure and
-# configure.batch, 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 HPDJ driver
- ${ECHO_MSG} ">>> extracting ${HPDJ_SRCS} ..."
- ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${HPDJ_SRCS}
- ${TAR} -C ${WRKSRC}/src -xf ${WRKSRC}/${HPDJ_NAME}/${HPDJ}.tar
-# 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 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 NPDL driver
- ${ECHO_MSG} ">>> extracting ${NPDL_SRCS} ..."
- ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${NPDL_SRCS}
-# for GDI driver
- ${ECHO_MSG} ">>> extracting ${GDI_SRCS} ..."
- ${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${DIST_SUBDIR}/${GDI_SRCS}
-
-post-patch:
- ${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
- ${WRKSRC}/src/unix-gcc.mak
- ${PERL} -pi -e 's|\. de|\.|g' \
- ${WRKSRC}/src/unixinst.mak
- ${PERL} -pi -e 's|%%DATADIR%%|${DATADIR}|g' \
- ${WRKSRC}/lib/gs_res.ps
-# for DMPRT driver
- ${PERL} -pi -e 's|%%DATADIR%%|${DATADIR}|g ; \
- s|%%GS_VERSION%%|${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 HPDJ driver
- ${ECHO_MSG} ">>> adding ${HPDJ} driver to contrib.mak ..."
- ${CAT} ${WRKSRC}/src/contrib.mak-5.94.add \
- >> ${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 DJ970 driver
- ${ECHO_MSG} ">>> adding ${DJ970} driver to contrib.mak ..."
- ${CAT} ${FILESDIR}/dj970.contrib.mak \
- >> ${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 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 ..."
- ${SED} -e 's:npdl:epag:g' ${WRKSRC}/${NPDL_NAME}/gdevnpdl.mak \
- >> ${WRKSRC}/src/contrib.mak
-# for EPLASER driver
- ${ECHO_MSG} ">>> adding ${EPLASER} driver to contrib.mak ..."
- ${CAT} ${WRKSRC}/${EPLASER_NAME}/gdevescv6.mak \
- >> ${WRKSRC}/src/contrib.mak
- ${CAT} ${WRKSRC}/${EPLASER_NAME}/gdevesmv6.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 NPDL driver
- ${ECHO_MSG} ">>> adding ${NPDL} driver to contrib.mak ..."
- ${CAT} ${WRKSRC}/${NPDL_NAME}/gdevnpdl.mak \
- >> ${WRKSRC}/src/contrib.mak
-# for GDI driver
- ${ECHO_MSG} ">>> adding ${GDI} driver to contrib.mak ..."
- ${CAT} ${FILESDIR}/gdi.contrib.mak \
- >> ${WRKSRC}/src/contrib.mak
-
-do-configure:
- ${ECHO_MSG} ">>> in do-configure ..."
-.if defined(BATCH) || defined(PACKAGE_BUILDING)
- ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.batch
-.else
- ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure
-.endif
-
-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-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
- ${LN} -sf ${WRKSRC}/src/unix-gcc.mak ${WRKSRC}/Makefile
-# 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 LIPS driver
- ${ECHO_MSG} ">>> creating symlinks for ${LIPS} ..."
-.for i in gdevlips.[ch] gdevlprn.[ch] gdevl4r.c gdevl4v.c gdevespg.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 NPDL driver
- ${ECHO_MSG} ">>> creating symlinks for ${NPDL} ..."
-.for i in gdevnpdl.c
- ${LN} -sf ${WRKSRC}/${NPDL_NAME}/${i} ${WRKSRC}/src
-.endfor
-
-pre-install:
- ${ECHO_MSG} ">>> in pre-install ..."
- ${ECHO_MSG} ">>> creating ghostscript destdir ..."
- ${MKDIR} ${DATADIR}
- ${ECHO_MSG} ">>> extracting ghostscript fonts ..."
- ${TAR} -C ${DATADIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GS_FONTS_STD}
- ${TAR} -C ${DATADIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GS_FONTS_OTHER}
-
-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
-.else
- ${STRIP_CMD} ${PREFIX}/bin/gs
-.endif
-# for HPDJ driver
- ${ECHO_MSG} ">>> installing ${HPDJ} manpages ..."
-.for i in ${HPDJ_MAN1}
- ${INSTALL_MAN} ${WRKSRC}/src/${i} ${MANPREFIX}/man/man1
-.endfor
- ${ECHO_MSG} ">>> creating ${HPDJ} destdir ..."
- ${MKDIR} ${DATADIR}/${PORTVERSION}/${HPDJ}
- ${ECHO_MSG} ">>> installing files in ${HPDJ} destdir ..."
-.for i in README.hpdj example.mdf margins-A4.ps margins-A4Rotated.ps \
- margins-Letter.ps margins-LetterRotated.ps
- ${INSTALL_DATA} ${WRKSRC}/src/${i} \
- ${DATADIR}/${PORTVERSION}/${HPDJ}
-.endfor
-# 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 HPDJ driver
- ${ECHO_MSG} ">>> installing ${HPDJ} docs ..."
- ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${HPDJ}
-.for i in NEWS hpdj.html
- ${INSTALL_DATA} ${WRKSRC}/src/${i} \
- ${DOCSDIR}/${PORTVERSION}/${HPDJ}
-.endfor
-# 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 Gimp-Print driver
- ${ECHO_MSG} ">>> installing ${GPRINT} docs ..."
- ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${GPRINT}
-.for i in README
- ${INSTALL_DATA} ${WRKSRC}/${GPRINT_NAME}/src/ghost/${i} \
- ${DOCSDIR}/${PORTVERSION}/${GPRINT}
-.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-651.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 NPDL driver
- ${ECHO_MSG} ">>> installing ${NPDL} docs ..."
- ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${NPDL}
-.for i in gdevnpdl.jis
- ${INSTALL_DATA} ${WRKSRC}/${NPDL_NAME}/${i} \
- ${DOCSDIR}/${PORTVERSION}/${NPDL}
-.endfor
-.endif
- ${ECHO_MSG} "> post-installation tasks completed."
-
-.include <bsd.port.mk>
diff --git a/print/ghostscript-gpl/distinfo b/print/ghostscript-gpl/distinfo
deleted file mode 100644
index 96f35da1a645..000000000000
--- a/print/ghostscript-gpl/distinfo
+++ /dev/null
@@ -1,18 +0,0 @@
-MD5 (ghostscript/ghostscript-7.04.tar.bz2) = 4fffc7520a510dac7b1cfb98fca8e724
-MD5 (ghostscript/ghostscript-fonts-std-6.0.tar.gz) = 8250132d6fcc6eb1419f505f06c7690b
-MD5 (ghostscript/ghostscript-fonts-other-6.0.tar.gz) = 1a643ae62ef166562e4d422b1a601272
-MD5 (ghostscript/gdevcd8.tar.gz) = 5ce48bff6082a023199c8ede4aae63a0
-MD5 (ghostscript/hpdj-2.6.tar.gz) = dcc402281f36afd2041144e0e97917be
-MD5 (ghostscript/pcl3-3.3.tar.gz) = 34e664c2a98b847598f8441f8cac7ab6
-MD5 (ghostscript/gdevdj9.c.gz) = 3a9c20c34b79ffab434abfbcc31d1c27
-MD5 (ghostscript/gimp-print-4.2.1.tar.gz) = 62f59f0bf0b4d2843cc9953f3b4f894f
-MD5 (ghostscript/gdevmd2k-0.2a.tar.gz) = 5ed2b4218b8f77cb411f3d2e4509ed24
-MD5 (ghostscript/gdevalps-0.21.tar.gz) = 553bee251b96105eb7d1d7f4027ac0e9
-MD5 (ghostscript/gdev10v.tar.gz) = 1486bb54c214ce215044a6c606280d73
-MD5 (ghostscript/gdevlips-2.4.0.tar.gz) = 89327cac37665f3fdbae0da5f2c8a89f
-MD5 (ghostscript/dmprt-2.01.tar.gz) = c7a9fb127fde5d888a798bf5e1822b88
-MD5 (ghostscript/epag-3.09.tar.gz) = 63304a6afe44842124d2d880bf24dbe3
-MD5 (ghostscript/eplaser-3.0.1-651.tgz) = 3baf7b0ba2fea5ea354906ab43caf254
-MD5 (ghostscript/gdevmjc-0.8.tar.gz) = 228f41c3cccce22c8f477c7a9407527c
-MD5 (ghostscript/gdevnpdl-1.6.3.tar.gz) = 6c8dad13d07bbaf6e951d6d2d6b8a9f2
-MD5 (ghostscript/samsung-gdi-driver-gs5.50.tar.gz) = d85da4a9e26f2d751a22b6f1e19fc6d1
diff --git a/print/ghostscript-gpl/files/cdj850.contrib.mak b/print/ghostscript-gpl/files/cdj850.contrib.mak
deleted file mode 100644
index 8faefec5fe4e..000000000000
--- a/print/ghostscript-gpl/files/cdj850.contrib.mak
+++ /dev/null
@@ -1,21 +0,0 @@
-###- cdj850 - HP 850 Driver under development -------- ###
-cdeskjet8_=$(GLOBJ)gdevcd8.$(OBJ) $(HPPCL)
-
-$(DD)cdj670.dev : $(cdeskjet8_) $(DD)page.dev
- $(SETPDEV2) $(DD)cdj670 $(cdeskjet8_)
-
-$(DD)cdj850.dev : $(cdeskjet8_) $(DD)page.dev
- $(SETPDEV2) $(DD)cdj850 $(cdeskjet8_)
-
-$(DD)cdj880.dev : $(cdeskjet8_) $(DD)page.dev
- $(SETPDEV2) $(DD)cdj880 $(cdeskjet8_)
-
-$(DD)cdj890.dev : $(cdeskjet8_) $(DD)page.dev
- $(SETPDEV2) $(DD)cdj890 $(cdeskjet8_)
-
-$(DD)cdj1600.dev : $(cdeskjet8_) $(DD)page.dev
- $(SETPDEV2) $(DD)cdj1600 $(cdeskjet8_)
-
-$(GLOBJ)gdevcd8.$(OBJ) : $(GLSRC)gdevcd8.c $(PDEVH) $(math__h)\
- $(gsparam_h) $(gxlum_h) $(gdevpcl_h)
- $(GLCC) $(GLO_)gdevcd8.$(OBJ) $(C_) $(GLSRC)gdevcd8.c
diff --git a/print/ghostscript-gpl/files/dj970.contrib.mak b/print/ghostscript-gpl/files/dj970.contrib.mak
deleted file mode 100644
index 8227012da41a..000000000000
--- a/print/ghostscript-gpl/files/dj970.contrib.mak
+++ /dev/null
@@ -1,9 +0,0 @@
-###- cdj970 - HP 970Cxi Driver under development -------- ###
-cdeskjet9_=$(GLOBJ)gdevdj9.$(OBJ) $(HPPCL)
-
-$(DD)cdj970.dev : $(cdeskjet9_) $(DD)page.dev
- $(SETPDEV2) $(DD)cdj970 $(cdeskjet9_)
-
-$(GLOBJ)gdevdj9.$(OBJ) : $(GLSRC)gdevdj9.c $(PDEVH) $(math__h) \
- $(gsparam_h) $(gxlum_h) $(gdevpcl_h)
- $(GLCC) $(GLO_)gdevdj9.$(OBJ) $(C_) $(GLSRC)gdevdj9.c
diff --git a/print/ghostscript-gpl/files/gdi.contrib.mak b/print/ghostscript-gpl/files/gdi.contrib.mak
deleted file mode 100644
index 808b7fb71935..000000000000
--- a/print/ghostscript-gpl/files/gdi.contrib.mak
+++ /dev/null
@@ -1,12 +0,0 @@
-### ---------------- The Samsung SmartGDI laser printer devices --------- ###
-### Note : this driver is used by Samsung SmartGDI compatible printers. ###
-###
-
-GDIMONO=$(GLOBJ)gdevgdi.$(OBJ) $(HPPCL)
-
-$(GLOBJ)gdevgdi.$(OBJ): $(GLSRC)gdevgdi.c $(PDEVH) $(gsparam_h)
- $(GLCC) $(GLO_)gdevgdi.$(OBJ) $(C_) $(GLSRC)gdevgdi.c
-
-$(DD)gdi.dev: $(GDIMONO) $(DD)page.dev
- $(SETPDEV) $(DD)gdi $(GDIMONO)
-
diff --git a/print/ghostscript-gpl/files/lqx70ch.upp b/print/ghostscript-gpl/files/lqx70ch.upp
deleted file mode 100644
index b5d3cd49e912..000000000000
--- a/print/ghostscript-gpl/files/lqx70ch.upp
+++ /dev/null
@@ -1,26 +0,0 @@
-# $ApsCVS: src/apsfilter/uniprint/lqx70ch.upp,v 1.2 2000/04/21 18:48:00 andreas Exp $
-#
--supModel="Epson LQ-1170 ESC/P2 Dot Matrix, 360x360DpI, Plain Paper"
--sDEVICE=uniprint
--dNOPAUSE
--dSAFER
--dupColorModel=/DeviceCMYKgenerate
--dupRendering=/ErrorDiffusion
--dupOutputFormat=/EscP2
--r360x360
--dupMargins="{ 9.0 0.0 9.0 24.0}"
--dupOutputPins=24
--dupBeginPageCommand="<
- 1b40 1b40
- 1b2847 0100 01
- 1b2869 0100 01
- 1b2855 0100 0A
- 1b5501
- 1b2865 0200 0002
- 1b2843 0200 0000
- 1b2863 0400 0000 0000
->"
--dupAdjustPageLengthCommand
--dupEndPageCommand="(\014)"
--dupAbortCommand="(\033@\15\12\12\12\12 Printout-Aborted\15\014)"
-
diff --git a/print/ghostscript-gpl/files/lqx70cl.upp b/print/ghostscript-gpl/files/lqx70cl.upp
deleted file mode 100644
index 91fb1aa89906..000000000000
--- a/print/ghostscript-gpl/files/lqx70cl.upp
+++ /dev/null
@@ -1,26 +0,0 @@
-# $ApsCVS: src/apsfilter/uniprint/lqx70cl.upp,v 1.2 2000/04/21 18:48:00 andreas Exp $
-#
--supModel="Epson LQ-1170 ESC/P2 Dot Matrix, 180x180DpI, Plain Paper"
--sDEVICE=uniprint
--dNOPAUSE
--dSAFER
--dupColorModel=/DeviceCMYKgenerate
--dupRendering=/ErrorDiffusion
--dupOutputFormat=/EscP2
--r180x180
--dupMargins="{ 9.0 0.0 9.0 24.0}"
--dupOutputPins=24
--dupBeginPageCommand="<
- 1b40 1b40
- 1b2847 0100 01
- 1b2869 0100 01
- 1b2855 0100 14
- 1b5500
- 1b2865 0200 0002
- 1b2843 0200 0000
- 1b2863 0400 0000 0000
->"
--dupAdjustPageLengthCommand
--dupEndPageCommand="(\014)"
--dupAbortCommand="(\033@\15\12\12\12\12 Printout-Aborted\15\014)"
-
diff --git a/print/ghostscript-gpl/files/lqx70cm.upp b/print/ghostscript-gpl/files/lqx70cm.upp
deleted file mode 100644
index 895af73aa8d8..000000000000
--- a/print/ghostscript-gpl/files/lqx70cm.upp
+++ /dev/null
@@ -1,25 +0,0 @@
-# $ApsCVS: src/apsfilter/uniprint/lqx70cm.upp,v 1.2 2000/04/21 18:48:00 andreas Exp $
-#
--supModel="Epson LQ-1170 ESC/P2 Dot Matrix, 360x180DpI, Plain Paper"
--sDEVICE=uniprint
--dNOPAUSE
--dSAFER
--dupColorModel=/DeviceCMYKgenerate
--dupRendering=/ErrorDiffusion
--dupOutputFormat=/EscP2
--r360x180
--dupMargins="{ 9.0 24.0 9.0 24.0}"
--dupOutputPins=24
--dupBeginPageCommand="<
- 1b40 1b40
- 1b2847 0100 01
- 1b2869 0100 01
- 1b2855 0100 14
- 1b5501
- 1b2843 0200 0000
- 1b2863 0400 0000 0000
->"
--dupAdjustPageLengthCommand
--dupEndPageCommand="(\014)"
--dupAbortCommand="(\033@\15\12\12\12\12 Printout-Aborted\15\014)"
-
diff --git a/print/ghostscript-gpl/files/patch-alps:gdevalps.mak b/print/ghostscript-gpl/files/patch-alps:gdevalps.mak
deleted file mode 100644
index 45144eaadcfd..000000000000
--- a/print/ghostscript-gpl/files/patch-alps:gdevalps.mak
+++ /dev/null
@@ -1,25 +0,0 @@
---- alps/gdevalps.mak-5.50.orig Sat Jan 12 13:21:12 2002
-+++ alps/gdevalps.mak-5.50 Sat Jan 12 13:23:45 2002
-@@ -2,15 +2,15 @@
-
- alps_=$(GLOBJ)gdevalps.$(OBJ)
-
--md50Mono.dev: $(alps_) page.dev
-- $(SETPDEV) md50Mono $(alps_)
-+$(DD)md50Mono.dev: $(alps_) $(DD)page.dev
-+ $(SETPDEV) $(DD)md50Mono $(alps_)
-
--md50Eco.dev: $(alps_) page.dev
-- $(SETPDEV) md50Eco $(alps_)
-+$(DD)md50Eco.dev: $(alps_) $(DD)page.dev
-+ $(SETPDEV) $(DD)md50Eco $(alps_)
-
--md1xMono.dev: $(alps_) page.dev
-- $(SETPDEV) md1xMono $(alps_)
-+$(DD)md1xMono.dev: $(alps_) $(DD)page.dev
-+ $(SETPDEV) $(DD)md1xMono $(alps_)
-
--$(GLOBJ)gdevalps.$(OBJ): $(GLSRC)gdevalps.c $(PDEVH)
-+$(GLOBJ)gdevalps.$(OBJ): $(GLSRC)gdevalps.c $(gdevprn_h) $(PDEVH)
- $(GLCC) $(GLO_)gdevalps.$(OBJ) $(C_) $(GLSRC)gdevalps.c
-
diff --git a/print/ghostscript-gpl/files/patch-eplaser:gdevescv.c b/print/ghostscript-gpl/files/patch-eplaser:gdevescv.c
deleted file mode 100644
index dbc3f4a109a9..000000000000
--- a/print/ghostscript-gpl/files/patch-eplaser:gdevescv.c
+++ /dev/null
@@ -1,53 +0,0 @@
---- eplaser/gdevescv.c.orig Fri Dec 21 15:50:22 2001
-+++ eplaser/gdevescv.c Sat Apr 27 13:45:53 2002
-@@ -37,8 +37,7 @@
-
- */
-
--#include <stdlib.h>
--#include <unistd.h>
-+#include <string.h>
-
- #include "math_.h"
- #include "gx.h"
-@@ -1760,13 +1759,13 @@
-
- /* Process the next piece of an image. */
- private int
--#if GS_VERSION_MAJOR == 6
-+#if GS_VERSION_MAJOR >= 6
- escv_image_plane_data(gx_image_enum_common_t *info, const gx_image_plane_t *planes, int height, int *rows_used)
- #else
- escv_image_plane_data(gx_device *dev, gx_image_enum_common_t *info, const gx_image_plane_t *planes, int height)
- #endif
- {
--#if GS_VERSION_MAJOR == 6
-+#if GS_VERSION_MAJOR >= 6
- gx_device *dev = info->dev;
- #endif
- gx_device_vector *const vdev = (gx_device_vector *) dev;
-@@ -1784,7 +1783,7 @@
-
- {
-
--#if GS_VERSION_MAJOR == 6
-+#if GS_VERSION_MAJOR >= 6
- if (height == 260)
- height = 1;
- #endif
-@@ -1922,13 +1921,13 @@
-
-
- private int
--#if GS_VERSION_MAJOR == 6
-+#if GS_VERSION_MAJOR >= 6
- escv_image_end_image(gx_image_enum_common_t * info, bool draw_last)
- #else
- escv_image_end_image(gx_device *dev, gx_image_enum_common_t * info, bool draw_last)
- #endif
- {
--#if GS_VERSION_MAJOR == 6
-+#if GS_VERSION_MAJOR >= 6
- gx_device *dev = info->dev;
- #endif
- gx_device_vector *const vdev = (gx_device_vector *) dev;
diff --git a/print/ghostscript-gpl/files/patch-eplaser:gdevesmv.c b/print/ghostscript-gpl/files/patch-eplaser:gdevesmv.c
deleted file mode 100644
index bce92ff8358c..000000000000
--- a/print/ghostscript-gpl/files/patch-eplaser:gdevesmv.c
+++ /dev/null
@@ -1,53 +0,0 @@
---- eplaser/gdevesmv.c.orig Fri Dec 14 10:50:14 2001
-+++ eplaser/gdevesmv.c Sat Apr 27 13:46:31 2002
-@@ -34,8 +34,7 @@
-
- */
-
--#include <stdlib.h>
--#include <unistd.h>
-+#include <string.h>
-
- #include "math_.h"
- #include "gx.h"
-@@ -1799,13 +1798,13 @@
-
- /* Process the next piece of an image. */
- private int
--#if GS_VERSION_MAJOR == 6
-+#if GS_VERSION_MAJOR >= 6
- esmv_image_plane_data(gx_image_enum_common_t *info, const gx_image_plane_t *planes, int height, int *rows_used)
- #else
- esmv_image_plane_data(gx_device *dev, gx_image_enum_common_t *info, const gx_image_plane_t *planes, int height)
- #endif
- {
--#if GS_VERSION_MAJOR == 6
-+#if GS_VERSION_MAJOR >= 6
- gx_device *dev = info->dev;
- #endif
- gx_device_vector *const vdev = (gx_device_vector *) dev;
-@@ -1823,7 +1822,7 @@
-
- {
-
--#if GS_VERSION_MAJOR == 6
-+#if GS_VERSION_MAJOR >= 6
- if (height == 260)
- height = 1;
- #endif
-@@ -1980,13 +1979,13 @@
-
-
- private int
--#if GS_VERSION_MAJOR == 6
-+#if GS_VERSION_MAJOR >= 6
- esmv_image_end_image(gx_image_enum_common_t * info, bool draw_last)
- #else
- esmv_image_end_image(gx_device * dev, gx_image_enum_common_t * info, bool draw_last)
- #endif
- {
--#if GS_VERSION_MAJOR == 6
-+#if GS_VERSION_MAJOR >= 6
- gx_device *dev = info->dev;
- #endif
- gx_device_vector *const vdev = (gx_device_vector *) dev;
diff --git a/print/ghostscript-gpl/files/patch-gdev10v:gdev10v.mak b/print/ghostscript-gpl/files/patch-gdev10v:gdev10v.mak
deleted file mode 100644
index 25a8317379b8..000000000000
--- a/print/ghostscript-gpl/files/patch-gdev10v:gdev10v.mak
+++ /dev/null
@@ -1,22 +0,0 @@
---- gdev10v/gdev10v.mak.orig Thu Oct 12 11:17:50 2000
-+++ gdev10v/gdev10v.mak Thu Oct 12 11:21:12 2000
-@@ -1,12 +1,13 @@
- ### ----------------- The Canon BubbleJet BJ10v device ----------------- ###
-
--bj10v_=gdev10v.$(OBJ) gdevprn.$(OBJ)
--bj10v.dev: $(bj10v_)
-- $(SHP)gssetdev bj10v $(bj10v_)
--bj10vh.dev: $(bj10v_)
-- $(SHP)gssetdev bj10vh $(bj10v_)
-+bj10v_=$(GLOBJ)gdev10v.$(OBJ) $(GLOBJ)gdevprn.$(OBJ)
-+$(DD)bj10v.dev: $(bj10v_) $(DD)page.dev
-+ $(SETPDEV) $(DD)bj10v $(bj10v_)
-+$(DD)bj10vh.dev: $(bj10v_) $(DD)page.dev
-+ $(SETPDEV) $(DD)bj10vh $(bj10v_)
-
- # Uncomment the following line if you are using MS-DOS on PC9801 series.
-
--gdev10v.$(OBJ): gdevbj10.c $(PDEVH)
-+$(GLOBJ)gdev10v.$(OBJ): $(GLSRC)gdevbj10.c $(PDEVH)
-+ $(GLCC) $(GLO_)gdev10v.$(OBJ) $(C_) $(GLSRC)gdev10v.c
- # $(CCC) -DPC9801 gdev10v.c
diff --git a/print/ghostscript-gpl/files/patch-lib:gs_init.ps b/print/ghostscript-gpl/files/patch-lib:gs_init.ps
deleted file mode 100644
index 70de88245ddc..000000000000
--- a/print/ghostscript-gpl/files/patch-lib:gs_init.ps
+++ /dev/null
@@ -1,19 +0,0 @@
---- lib/gs_init.ps.orig Fri Feb 1 12:25:45 2002
-+++ lib/gs_init.ps Sat Feb 9 01:42:10 2002
-@@ -1274,7 +1274,7 @@
- % Set the default screen and BG/UCR.
- /.setdefaultbgucr {
- systemdict /setblackgeneration known {
-- { pop 0 } dup setblackgeneration setundercolorremoval
-+ {} dup setblackgeneration setundercolorremoval
- } if
- } bind def
- /.useloresscreen { % - .useloresscreen <bool>
-@@ -1874,3 +1874,7 @@
- userdict /AGM_preserve_spots false put
-
- % 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/ghostscript-gpl/files/patch-lib:gs_res.ps b/print/ghostscript-gpl/files/patch-lib:gs_res.ps
deleted file mode 100644
index 2e5169720649..000000000000
--- a/print/ghostscript-gpl/files/patch-lib:gs_res.ps
+++ /dev/null
@@ -1,13 +0,0 @@
---- lib/gs_res.ps.orig Mon Jul 16 01:09:41 2001
-+++ lib/gs_res.ps Fri Feb 8 07:12:09 2002
-@@ -248,8 +248,8 @@
- /pssystemparams 10 dict readonly def
- } if
- pssystemparams begin
-- /FontResourceDir (/Resource/Font/) readonly .forcedef % pssys'params is r-o
-- /GenericResourceDir (/Resource/) readonly .forcedef % pssys'params is r-o
-+ /FontResourceDir (%%DATADIR%%/Resource/Font/) readonly .forcedef % pssys'params is r-o
-+ /GenericResourceDir (%%DATADIR%%/Resource/) readonly .forcedef % pssys'params is r-o
- /GenericResourcePathSep (/) readonly .forcedef % pssys'params is r-o
- end
- end
diff --git a/print/ghostscript-gpl/files/patch-lib:ps2epsi b/print/ghostscript-gpl/files/patch-lib:ps2epsi
deleted file mode 100644
index 06389642bb93..000000000000
--- a/print/ghostscript-gpl/files/patch-lib:ps2epsi
+++ /dev/null
@@ -1,27 +0,0 @@
---- lib/ps2epsi.orig Sat Jun 23 01:09:22 2001
-+++ lib/ps2epsi Tue Apr 23 05:18:24 2002
-@@ -1,5 +1,5 @@
- #!/bin/sh
--# $Id: ps2epsi,v 1.7 2001/06/22 16:09:22 lpd Exp $
-+# $Id: ps2epsi,v 1.7.2.1 2002/04/22 20:18:24 giles Exp $
-
- tmpfile=/tmp/ps2epsi$$
-
-@@ -58,7 +58,8 @@
- cat << BEGINEPS
- save countdictstack mark newpath /showpage {} def /setpagedevice {pop} def
- %%EndProlog
--%%Page 1 1
-+%%Page: 1 1
-+%%BeginDocument: ${infile}
- BEGINEPS
-
- cat "${infile}" |
-@@ -66,6 +67,7 @@
- -e '/^%%[A-Za-z][A-Za-z]*[^!-~]*$/d' -e '/^%%[A-Za-z][A-Za-z]*: /d'
-
- cat << ENDEPS
-+%%EndDocument
- %%Trailer
- cleartomark countdictstack exch sub { end } repeat restore
- %%EOF
diff --git a/print/ghostscript-gpl/files/patch-lib:ps2epsi.ps b/print/ghostscript-gpl/files/patch-lib:ps2epsi.ps
deleted file mode 100644
index 19ccc7d0b022..000000000000
--- a/print/ghostscript-gpl/files/patch-lib:ps2epsi.ps
+++ /dev/null
@@ -1,203 +0,0 @@
---- lib/ps2epsi.ps.orig Wed Apr 4 13:45:42 2001
-+++ lib/ps2epsi.ps Tue Apr 23 05:30:39 2002
-@@ -1,27 +1,31 @@
--% Copyright (C) 1990, 2000 Aladdin Enterprises. All rights reserved.
-+% Copyright (C) 1990-2002 artofcode LLC. All rights reserved.
- %
--% This file is part of AFPL Ghostscript.
-+% This software is provided AS-IS with no warranty, either express or
-+% implied.
- %
--% AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author or
--% distributor accepts any responsibility for the consequences of using it, or
--% for whether it serves any particular purpose or works at all, unless he or
--% she says so in writing. Refer to the Aladdin Free Public License (the
--% "License") for full details.
-+% This software is distributed under license and may not be copied,
-+% modified or distributed except as expressly authorized under the terms
-+% of the license contained in the file LICENSE in this distribution.
- %
--% Every copy of AFPL Ghostscript must include a copy of the License, normally
--% in a plain ASCII text file named PUBLIC. The License grants you the right
--% to copy, modify and redistribute AFPL Ghostscript, but only under certain
--% conditions described in the License. Among other things, the License
--% requires that the copyright notice and this notice be preserved on all
--% copies.
-+% For more information about licensing, please refer to
-+% http://www.ghostscript.com/licensing/. For information on
-+% commercial licensing, go to http://www.artifex.com/licensing/ or
-+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
-+% San Rafael, CA 94903, U.S.A., +1(415)492-9861.
-
--% $Id: ps2epsi.ps,v 1.5 2001/04/04 04:45:42 alexcher Exp $
-+% $Id: ps2epsi.ps,v 1.5.2.3 2002/04/22 20:30:39 giles Exp $
- % Convert an arbitrary PostScript file to an EPSI file.
- %
- % Please do not contact these users if you have questions. They no longer
- % have the time, interest, or current expertise to keep this code working.
- % If you find bugs, please send proposed fixes to bug-gs@aladdin.com.
- %
-+% Bug fix 2002-04-20 by rayjj: Bounding box was incorrect since it depended
-+% on the dither pattern and gray shade at the boundary. Changed to use
-+% 8-bit grayscale preview image to allow correct bounding box (at the
-+% expense of a 8x larger preview image). Also moved .setsafe until after
-+% the device and file operations are complete (but still before the input
-+% file is processed.
- % Bug fix 2000-04-11 by lpd: if a font didn't have a FontName (which is the
- % case for bitmap fonts produced by recent versions of dvips), setfont
- % caused an error.
-@@ -51,7 +55,6 @@
- /ps2epsi
- { % Open the file
- outfile (w) file /epsifile exch def
-- //systemdict /.setsafe known { .setsafe } if
- % Get the device parameters
- currentdevice getdeviceprops .dicttomark
- /HWSize get aload pop
-@@ -59,17 +62,23 @@
- /devwidth exch def
- matrix defaultmatrix
- /devmatrix exch def
-- % Make a corresponding memory device
-- devmatrix devwidth devheight <ff 00>
-+ % Make a corresponding 8-bit deep memory device
-+ devmatrix devwidth devheight
-+ 256 string 0 1 255 { 1 index exch dup 255 exch sub put } for
- makeimagedevice
- /arraydevice exch def
-- arraydevice setdevice % (does an erasepage)
-- /rowwidth devwidth 7 add 8 idiv def
-+ arraydevice
-+ % Turn on anti-aliasing
-+ mark /TextAlphaBits 4 /GraphicsAlphaBits 4 6 -1 roll
-+ putdeviceprops
-+ setdevice % (does an erasepage)
-+ /rowwidth devwidth def
- /row rowwidth string def
- /zerorow rowwidth string def % all zero
- % Replace the definition of showpage
- userdict /showpage { ps2edict begin epsipage end } bind put
- userdict /setfont { ps2edict begin epsisetfont end } bind put
-+ //systemdict /.setsafe known { .setsafe } if
- } bind def
-
- /epsifontdict 100 dict def
-@@ -125,8 +134,8 @@
-
- % Initialise limit variables
- /loopcount rowwidth 1 sub def
-- /lm loopcount def /lmb 0 def
-- /rm 0 def /rmb 0 def
-+ /lm loopcount def
-+ /rm 0 def
-
- % Find left and right boundaries of image
- tm 1 bm
-@@ -135,47 +144,29 @@
- % Scan from left to find first non-zero element
- % We save first the element, then the index
- -1 0 1 loopcount
-- { dup row exch get dup 0 ne { exch exit }{ pop pop } ifelse
-+ { dup row exch get 0 ne { exch pop exit }{ pop } ifelse
- } for
- % If we found -1, row is blank ..
- dup -1 ne
- { % Find the leftmost index
- dup lm lt
- % If the new index is less, we save index and element
-- { /lm exch def /lmb exch def }
-- % If the index is equal, we or the bits together
-- { lm eq { lmb or /lmb exch def }{ pop } ifelse
-- } ifelse
-+ { /lm exch def } { pop } ifelse
- % Now find the rightmost index
- loopcount -1 0
-- { dup row exch get dup 0 ne { exch exit }{ pop pop } ifelse
-+ { dup row exch get 0 ne { exit }{ pop } ifelse
- } for
- dup rm gt
- % If the new index is greater, we save index and element
-- { /rm exch def /rmb exch def }
-- % If the index is equal, or the bits
-- { rm eq { rmb or /rmb exch def } { pop } ifelse
-- } ifelse
-+ { /rm exch def } { pop } ifelse
- } if
-- pop
- } for
-
-- % Now we find the real left & right bit positions
-- 256 0 1 7
-- { exch 2 div dup lmb le { pop exit }{ exch pop } ifelse
-- } for
-- /lmb exch def
--
-- 1 7 -1 0
-- { exch dup dup rmb and eq { pop exit }{ 2 mul exch pop } ifelse
-- } for
-- /rmb exch def
--
- % Calculate the bounding box values.
- % Note that these must be corrected to produce closed-open intervals.
-- /llx lm 8 mul lmb add def
-+ /llx lm def
- /lly devheight bm sub 1 sub def
-- /urx rm 8 mul rmb add 1 add def
-+ /urx rm 1 add def
- /ury devheight tm sub def
-
- % Write out the magic string and bounding box information
-@@ -206,38 +197,31 @@
- epsifile lly write==only epsifile ( ) writestring
- epsifile urx write==only epsifile ( ) writestring
- epsifile ury write==
-- epsifile (%%BeginPreview: ) writestring
-- epsifile urx llx sub write==only epsifile ( ) writestring
-- epsifile bm tm sub 1 add write==only epsifile ( 1 ) writestring
-- epsifile bm tm sub 1 add write==
-- epsifile flushfile
-
- % Define character and bit widths for the output line buffer:
- /cwidth rm lm sub 1 add def
-- /bwidth cwidth 8 mul def
-- /owidth urx llx sub 7 add 8 idiv def
- /out cwidth string def
-
-- % Create a 1-bit-high device for bitblt to align with the bbox
-- gsave
-- matrix cwidth 8 mul 1 <00 ff> makeimagedevice setdevice
-+ epsifile (%%BeginPreview: ) writestring
-+ epsifile cwidth write==only epsifile ( ) writestring
-+ epsifile bm tm sub 1 add write==only epsifile ( 8 ) writestring
-+ epsifile bm tm sub 1 add
-+ cwidth 39 add 40 idiv mul write==
-+ epsifile flushfile
-
-- % 'image' a zero string to clear the line device
-- bwidth 1 1 matrix cwidth string image
-+ gsave
-
- tm 1 bm
- { % Get a scan line interval from the array device
- arraydevice exch row copyscanlines lm cwidth getinterval
-- lmb 0 gt
-- { % 'image' it into the line device with the lmb offset
-- bwidth 1 1 [1 0 0 1 lmb 0] 5 -1 roll image
-- % Now we get the modified scan line
-- currentdevice 0 out copyscanlines 0 owidth getinterval
-- } if
-- % Write out the hex data
-- epsifile (% ) writestring
-- epsifile exch writehexstring
-- epsifile (\n) writestring
-+ % Write out the hex data as 40 bytes per line (82 chars)
-+ 0 40 cwidth
-+ { epsifile (% ) writestring
-+ epsifile exch 2 index exch
-+ dup cwidth exch sub 40 .min getinterval writehexstring
-+ epsifile (\n) writestring
-+ } for
-+ pop
- } for
-
- epsifile (%%EndImage\n) writestring
diff --git a/print/ghostscript-gpl/files/patch-lips:gdevlips.mak b/print/ghostscript-gpl/files/patch-lips:gdevlips.mak
deleted file mode 100644
index 06630057330c..000000000000
--- a/print/ghostscript-gpl/files/patch-lips:gdevlips.mak
+++ /dev/null
@@ -1,18 +0,0 @@
---- lips/gdevlips.mak.orig Thu Nov 2 12:12:13 2000
-+++ lips/gdevlips.mak Wed Feb 13 07:29:36 2002
-@@ -43,15 +43,6 @@
- $(GLOBJ)lp2000.dev: $(escpage_) $(DD)page.dev
- $(SETPDEV) $(DD)lp2000 $(escpage_)
-
--### --- The NEC NPDL language printer device ------ ###
--
--npdl_=$(GLOBJ)gdevnpdl.$(OBJ) $(GLOBJ)gdevlprn.$(OBJ)
--$(GLOBJ)gdevnpdl.$(OBJ): $(GLSRC)gdevnpdl.c $(GLSRC)gdevlprn.h $(PDEVH)
-- $(GLCC) -DA4 $(GLO_)gdevnpdl.$(OBJ) $(C_) $(GLSRC)gdevnpdl.c
--
--$(GLOBJ)npdl.dev: $(npdl_) $(DD)page.dev
-- $(SETPDEV) $(DD)npdl $(npdl_)
--
- ### --- The RICOH RPDL language printer device ------ ###
-
- rpdl_=$(GLOBJ)gdevrpdl.$(OBJ) $(GLOBJ)gdevlprn.$(OBJ)
diff --git a/print/ghostscript-gpl/files/patch-md2k:gdevmd2k.mak b/print/ghostscript-gpl/files/patch-md2k:gdevmd2k.mak
deleted file mode 100644
index b003efb81f7f..000000000000
--- a/print/ghostscript-gpl/files/patch-md2k:gdevmd2k.mak
+++ /dev/null
@@ -1,19 +0,0 @@
---- md2k/gdevmd2k.mak-5.50.orig Sun Nov 19 18:42:20 2000
-+++ md2k/gdevmd2k.mak-5.50 Sun Nov 19 18:52:14 2000
-@@ -3,11 +3,11 @@
-
- md2k_=$(GLOBJ)gdevmd2k.$(OBJ)
-
--md2k.dev: $(md2k_) page.dev
-- $(SETPDEV) md2k $(md2k_)
-+$(DD)md2k.dev: $(md2k_) $(DD)page.dev
-+ $(SETPDEV) $(DD)md2k $(md2k_)
-
--md5k.dev: $(md2k_) page.dev
-- $(SETPDEV) md5k $(md2k_)
-+$(DD)md5k.dev: $(md2k_) $(DD)page.dev
-+ $(SETPDEV) $(DD)md5k $(md2k_)
-
--$(GLOBJ)gdevmd2k.$(OBJ): gdevmd2k.c $(PDEVH) $(gsparam_h)
-+$(GLOBJ)gdevmd2k.$(OBJ): $(GLSRC)gdevmd2k.c $(PDEVH) $(gsparam_h)
- $(GLCC) $(GLO_)gdevmd2k.$(OBJ) $(C_) $(GLSRC)gdevmd2k.c
diff --git a/print/ghostscript-gpl/files/patch-mjc:gdevmjc.c b/print/ghostscript-gpl/files/patch-mjc:gdevmjc.c
deleted file mode 100644
index 99ff0bcb245f..000000000000
--- a/print/ghostscript-gpl/files/patch-mjc:gdevmjc.c
+++ /dev/null
@@ -1,335 +0,0 @@
---- mjc/gdevmjc.c.orig Tue May 23 19:16:52 2000
-+++ mjc/gdevmjc.c Tue May 23 19:17:44 2000
-@@ -43,7 +43,8 @@
- #include <limits.h>
- #include "gdevprn.h"
- #include "gdevpcl.h"
--#include "gsprops.h"
-+#include "gsparam.h"
-+#include "gsstate.h"
-
- #include "mjmtx2.c"
- #include "mjbksep.c"
-@@ -150,7 +151,9 @@
-
- /* Undefined macros expected to be defined in gdevpcl.h */
- #define PAPER_SIZE_A3_NOBI 28
-+#ifndef PAPER_SIZE_A2
- #define PAPER_SIZE_A2 29
-+#endif
- #define PAPER_SIZE_B4 30
- #define PAPER_SIZE_B5 31
-
-@@ -190,14 +193,12 @@
- private dev_proc_print_page(mjc720_print_page);
- private dev_proc_print_page(mj500c_print_page);
-
--private dev_proc_get_props(mj_get_props);
--private dev_proc_put_props(mj_put_props);
-+private dev_proc_get_params(mj_get_params);
-+private dev_proc_put_params(mj_put_params);
-
- private void expand_line(P4(word*, int, int, int));
--private int put_prop_float(P5(gs_prop_item *, float *, float, float, int));
--private int put_prop_int(P5(gs_prop_item *, int *, int, int, int));
--
--private void set_bpp(P2(gx_device *, int));
-+private int mj_put_param_int(P6(gs_param_list *, gs_param_name, int *, int, int, int));
-+private void mj_set_bpp(P2(gx_device *, int));
-
- private uint gdev_prn_rasterwidth(P2(const gx_device_printer *, int ));
-
-@@ -224,7 +225,7 @@
- #define mj ((gx_device_mj *) pdev)
-
- #define prn_hp_colour_device(procs, dev_name, x_dpi, y_dpi, bpp, print_page)\
-- prn_device_body(gx_device_printer, procs, dev_name,\
-+ prn_device_body(gx_device_mj, procs, dev_name,\
- WIDTH_10THS, HEIGHT_10THS, x_dpi, y_dpi, 0, 0, 0, 0, 0,\
- bpp, 0, 0, 0, 0, print_page)
-
-@@ -235,9 +236,9 @@
- }
-
-
--#define mj_colour_procs(proc_colour_open, proc_get_props, proc_put_props) {\
-+#define mj_colour_procs(proc_colour_open, proc_get_params, proc_put_params) {\
- proc_colour_open,\
-- gdev_pcl_get_initial_matrix,\
-+ gx_default_get_initial_matrix,\
- gx_default_sync_output,\
- gdev_prn_output_page,\
- gdev_prn_close,\
-@@ -249,15 +250,15 @@
- NULL, /* copy_color */\
- NULL, /* draw_line */\
- gx_default_get_bits,\
-- proc_get_props,\
-- proc_put_props\
-+ proc_get_params,\
-+ proc_put_params\
- }
-
- private int mjc_open(P1(gx_device *));
- private int mj_colour_open(P1(gx_device *));
-
- private gx_device_procs mj_procs =
--mj_colour_procs(mjc_open, mj_get_props, mj_put_props);
-+mj_colour_procs(mjc_open, mj_get_params, mj_put_params);
-
- gx_device_mj far_data gs_mjc180_device =
- mj_device(mj_procs, "mjc180", 180, 180, BITSPERPIXEL,
-@@ -306,14 +307,14 @@
- static const float mj_b4[4] = { MJ700V2C_MARGINS_B4 };
- static const float mj_b5[4] = { MJ700V2C_MARGINS_B5 };
- static const float mj_letter[4] = { MJ700V2C_MARGINS_LETTER };
-- const float _ds *m;
-+ const float *m;
- int psize;
-
- int paper_size;
-
- /* Set up colour params if put_props has not already done so */
- if (pdev->color_info.num_components == 0)
-- set_bpp(pdev, pdev->color_info.depth);
-+ mj_set_bpp(pdev, pdev->color_info.depth);
-
- paper_size = gdev_mjc_paper_size(pdev);
- if (paper_size == PAPER_SIZE_A2 ) {
-@@ -332,10 +333,7 @@
- m = mj_letter;
- }
-
-- pdev->l_margin = m[0];
-- pdev->b_margin = m[1];
-- pdev->r_margin = m[2];
-- pdev->t_margin = m[3];
-+ gx_device_set_margins(pdev, m, true);
-
- switch (mj->colorcomp) {
- case 1:
-@@ -360,80 +358,74 @@
- * and control over the bits-per-pixel used in output rendering */
- /* Added properties for DeskJet 5xxC */
-
--private const gs_prop_item props_mj[] = {
-- /* Read-write properties. */
-- prop_def("Density", prt_int),
-- prop_def("Cyan", prt_int),
-- prop_def("Magenta", prt_int),
-- prop_def("Yellow", prt_int),
-- prop_def("Black", prt_int),
-- prop_def("Dither", prt_int),
-- prop_def("ColorComponent", prt_int),
-- prop_def("Direction", prt_int),
-- prop_def("MicroWeave", prt_int),
-- prop_def("DotSize", prt_int),
--};
--
- private int
--mj_get_props(gx_device *pdev, gs_prop_item *plist)
--{ int start = gdev_prn_get_props(pdev, plist);
-- if ( plist != 0 ) {
-- register gs_prop_item *pi = plist + start;
-- memcpy(pi, props_mj, sizeof(props_mj));
-- pi[0].value.i = mj->density;
-- pi[1].value.i = mj->cyan;
-- pi[2].value.i = mj->magenta;
-- pi[3].value.i = mj->yellow;
-- pi[4].value.i = mj->black;
-- pi[5].value.i = mj->dither;
-- pi[6].value.i = mj->colorcomp;
-- pi[7].value.i = mj->direction;
-- pi[8].value.i = mj->microweave;
-- pi[9].value.i = mj->dotsize;
-- }
-- return start + sizeof(props_mj) / sizeof(gs_prop_item);
-+mj_get_params(gx_device *pdev, gs_param_list *plist)
-+{ int code = gdev_prn_get_params(pdev, plist);
-+ if ( code < 0 ||
-+ (code = param_write_int(plist, "Density", &mj->density)) < 0 ||
-+ (code = param_write_int(plist, "Cyan", &mj->cyan)) < 0 ||
-+ (code = param_write_int(plist, "Magenta", &mj->magenta)) < 0 ||
-+ (code = param_write_int(plist, "Yellow", &mj->yellow)) < 0 ||
-+ (code = param_write_int(plist, "Black", &mj->black)) < 0 ||
-+ (code = param_write_int(plist, "Dither", &mj->dither)) < 0 ||
-+ (code = param_write_int(plist, "ColorComponent", &mj->colorcomp)) < 0 ||
-+ (code = param_write_int(plist, "Direction", &mj->direction)) < 0 ||
-+ (code = param_write_int(plist, "MicroWeave", &mj->microweave)) < 0 ||
-+ (code = param_write_int(plist, "DotSize", &mj->dotsize)) < 0
-+ )
-+ return code;
-+ return code;
- }
-
- /* Put properties. */
- private int
--mj_put_props(gx_device *pdev, gs_prop_item *plist, int count)
-+mj_put_params(gx_device *pdev, gs_param_list *plist)
- {
-- static const argn = 10;
--/* gs_prop_item *known[argn]; */
-- gs_prop_item *known[10];
- int old_bpp = mj->color_info.depth;
- int bpp = 0;
- int code = 0;
--
-- props_extract(plist, count, props_mj, argn, known, 0);
-- code = gdev_prn_put_props(pdev, plist, count);
-- if ( code < 0 ) return code;
--
-- code = put_prop_int(known[0], &mj->density, 0, INT_MAX, code);
-- code = put_prop_int(known[1], &mj->cyan, 0, INT_MAX, code);
-- code = put_prop_int(known[2], &mj->magenta, 0, INT_MAX, code);
-- code = put_prop_int(known[3], &mj->yellow, 0, INT_MAX, code);
-- code = put_prop_int(known[4], &mj->black, 0, INT_MAX, code);
-- code = put_prop_int(known[5], &mj->dither, 0, 1, code);
-- code = put_prop_int(known[6], &mj->colorcomp, 1, 4, code);
-- code = put_prop_int(known[7], &mj->direction, 1, 2, code);
-- code = put_prop_int(known[8], &mj->microweave, 0, 1, code);
-- code = put_prop_int(known[9], &mj->dotsize, 0, 1, code);
--
-+ int density = mj->density;
-+ int cyan = mj->cyan;
-+ int magenta = mj->magenta;
-+ int yellow = mj->yellow;
-+ int black = mj->black;
-+ int dither = mj->dither;
-+ int colorcomp = mj->colorcomp;
-+ int direction = mj->direction;
-+ int microweave = mj->microweave;
-+ int dotsize = mj->dotsize;
-+ code = mj_put_param_int(plist, "Density", &density, 0, INT_MAX, code);
-+ code = mj_put_param_int(plist, "Cyan", &cyan, 0, INT_MAX, code);
-+ code = mj_put_param_int(plist, "Magenta", &magenta, 0, INT_MAX, code);
-+ code = mj_put_param_int(plist, "Yellow", &yellow, 0, INT_MAX, code);
-+ code = mj_put_param_int(plist, "Black", &black, 0, INT_MAX, code);
-+ code = mj_put_param_int(plist, "Dither", &dither, 0, 1, code);
-+ code = mj_put_param_int(plist, "ColorComponent", &colorcomp, 1, 4, code);
-+ code = mj_put_param_int(plist, "Direction", &direction, 1, 2, code);
-+ code = mj_put_param_int(plist, "MicroWeave", &microweave, 0, 1, code);
-+ code = mj_put_param_int(plist, "DotSize", &dotsize, 0, 1, code);
-+ code = mj_put_param_int(plist, "BitsPerPixel", &bpp, 1, 32, code);
- if ( code < 0 )
-- return_error(code);
--
-- if (bpp != 0) {
-- set_bpp(pdev, bpp);
--
-- /* Close the device; gs_putdeviceprops will reopen it. */
-+ return code;
-+ mj->density = density;
-+ mj->cyan = cyan;
-+ mj->magenta = magenta;
-+ mj->yellow = yellow;
-+ mj->black = black;
-+ mj->dither = dither;
-+ mj->colorcomp = colorcomp;
-+ mj->direction = direction;
-+ mj->microweave = microweave;
-+ mj->dotsize = dotsize;
-+ if ( bpp != 0 ) {
-+ mj_set_bpp(pdev, bpp);
-+ gdev_prn_put_params(pdev, plist);
- if ( bpp != old_bpp && pdev->is_open )
-- { int ccode = gs_closedevice(pdev);
-- if ( ccode < 0 ) return ccode;
-- }
-+ return gs_closedevice(pdev);
-+ return 0;
- }
--
-- return code;
-+ else
-+ return gdev_prn_put_params(pdev, plist);
- }
-
- /* ------ Internal routines ------ */
-@@ -1163,7 +1155,8 @@
-
- /* Send each scan line in turn */
- {
-- long int lend = pdev->height - (pdev->t_margin + pdev->b_margin) * y_dpi;
-+ long int lend = pdev->height -
-+ (dev_t_margin_points(pdev) + dev_b_margin_points(pdev));
- int cErr, mErr, yErr, kErr;
- int this_pass, i;
- long int lnum;
-@@ -1685,39 +1678,25 @@
- }
-
- private int
--put_prop_int(gs_prop_item *pi, int *property, int minval, int maxval, int code)
--{
-- if ( pi == 0 )
-- return (code);
--
-- if ( pi->value.i < minval || pi->value.i > maxval )
-- { pi->status = pv_rangecheck;
-- return (gs_error_rangecheck);
-- }
-- else
-- { *property = pi->value.i;
-- return (code ? code : 1);
-- }
--}
--
--private int
--put_prop_float(gs_prop_item *pi, float *property, float minval, float maxval, int code)
--{
-- if ( pi == 0 )
-- return (code);
--
-- if ( pi->value.f < minval || pi->value.f > maxval )
-- { pi->status = pv_rangecheck;
-- return (gs_error_rangecheck);
-- }
-- else
-- { *property = pi->value.f;
-- return (code ? code : 1);
-- }
-+mj_put_param_int(gs_param_list *plist, gs_param_name pname, int *pvalue,
-+ int minval, int maxval, int ecode)
-+{ int code, value;
-+ switch ( code = param_read_int(plist, pname, &value) )
-+ {
-+ default:
-+ return code;
-+ case 1:
-+ return ecode;
-+ case 0:
-+ if ( value < minval || value > maxval )
-+ param_signal_error(plist, pname, gs_error_rangecheck);
-+ *pvalue = value;
-+ return (ecode < 0 ? ecode : 1);
-+ }
- }
-
- private void
--set_bpp(gx_device *pdev, int bits_per_pixel)
-+mj_set_bpp(gx_device *pdev, int bits_per_pixel)
- { gx_device_color_info *ci = &pdev->color_info;
- /* Only valid bits-per-pixel are 1, 3, 8, 16, 24, 32 */
- int bpp = bits_per_pixel < 3 ? 1 : bits_per_pixel < 8 ? 3 :
-@@ -1725,9 +1704,9 @@
- ci->num_components = ((bpp == 1) || (bpp == 8) ? 1 : 3);
- ci->depth = ((bpp > 1) && (bpp < 8) ? 8 : bpp);
- ci->max_gray = (bpp >= 8 ? 255 : 1);
-- ci->max_rgb = (bpp >= 8 ? 255 : bpp > 1 ? 1 : 0);
-- ci->dither_gray = (bpp >= 8 ? 5 : 2);
-- ci->dither_rgb = (bpp >= 8 ? 5 : bpp > 1 ? 2 : 0);
-+ ci->max_color = (bpp >= 8 ? 255 : bpp > 1 ? 1 : 0);
-+ ci->dither_grays = (bpp >= 8 ? 5 : 2);
-+ ci->dither_colors = (bpp >= 8 ? 5 : bpp > 1 ? 2 : 0);
- }
-
- /* This returns either the number of pixels in a scan line, or the number
-@@ -1736,7 +1715,7 @@
- gdev_prn_rasterwidth(const gx_device_printer *pdev, int pixelcount)
- {
- word raster_width =
-- pdev->width - pdev->x_pixels_per_inch * (pdev->l_margin + pdev->r_margin);
-+ pdev->width - (pdev->HWMargins[0] + pdev->HWMargins[2]);
- return (pixelcount ?
- (uint)raster_width :
- (uint)((raster_width * pdev->color_info.depth + 7) >> 3));
diff --git a/print/ghostscript-gpl/files/patch-mjc:gdevmjc.mak b/print/ghostscript-gpl/files/patch-mjc:gdevmjc.mak
deleted file mode 100644
index a094ea08812f..000000000000
--- a/print/ghostscript-gpl/files/patch-mjc:gdevmjc.mak
+++ /dev/null
@@ -1,43 +0,0 @@
---- mjc/gdevmjc.mak.orig Tue May 23 19:19:13 2000
-+++ mjc/gdevmjc.mak Tue May 23 19:19:40 2000
-@@ -4,25 +4,22 @@
- # Supports MJ-700V2C, MJ-5000C, MJ-900C, MJ-800C, MJ-500C
- #
- ##
--#
--# Append this file to Makefile
--#
--##
--MJCSRC = gdevmjc.c mjmtx2.c mjbksep.c mjhtocmy.c mjvtbl.c \
-- mjgrnsp.c mjgrnsp2.c mjespdtc.c mjespdtm.c mjespdty.c mjbarrie.c
-+MJCSRC = $(GLSRC)gdevmjc.c $(GLSRC)mjmtx2.c $(GLSRC)mjbksep.c \
-+ $(GLSRC)mjhtocmy.c $(GLSRC)mjvtbl.c $(GLSRC)mjgrnsp.c \
-+ $(GLSRC)mjgrnsp2.c $(GLSRC)mjespdtc.c $(GLSRC)mjespdtm.c \
-+ $(GLSRC)mjespdty.c $(GLSRC)mjbarrie.c
-
--mj700v2c_=gdevmjc.$(OBJ) $(HPPCL)
-+mj700v2c_=$(GLOBJ)gdevmjc.$(OBJ) $(HPPCL)
-
- # To make A4 paper the default, change the second line below this to
--gdevmjc.$(OBJ): $(MJCSRC) $(PDEVH) $(gdevpcl_h)
-- $(CCC) -DA4 gdevmjc.c
--
--mjc180.dev: $(mj700v2c_)
-- $(SHP)gssetdev mjc180 $(mj700v2c_)
--mjc360.dev: $(mj700v2c_)
-- $(SHP)gssetdev mjc360 $(mj700v2c_)
--mjc720.dev: $(mj700v2c_)
-- $(SHP)gssetdev mjc720 $(mj700v2c_)
--mj500c.dev: $(mj700v2c_)
-- $(SHP)gssetdev mj500c $(mj700v2c_)
-+$(GLOBJ)gdevmjc.$(OBJ): $(MJCSRC) $(PDEVH) $(gdevpcl_h)
-+ $(GLCC) -DA4 $(GLO_)gdevmjc.$(OBJ) $(C_) $(GLSRC)gdevmjc.c
-
-+$(GLOBJ)mjc180.dev: $(mj700v2c_) $(DD)page.dev
-+ $(SETPDEV) $(DD)mjc180 $(mj700v2c_)
-+$(GLOBJ)mjc360.dev: $(mj700v2c_) $(DD)page.dev
-+ $(SETPDEV) $(DD)mjc360 $(mj700v2c_)
-+$(GLOBJ)mjc720.dev: $(mj700v2c_) $(DD)page.dev
-+ $(SETPDEV) $(DD)mjc720 $(mj700v2c_)
-+$(GLOBJ)mj500c.dev: $(mj700v2c_) $(DD)page.dev
-+ $(SETPDEV) $(DD)mj500c $(mj700v2c_)
diff --git a/print/ghostscript-gpl/files/patch-src:contrib.mak-5.94.add b/print/ghostscript-gpl/files/patch-src:contrib.mak-5.94.add
deleted file mode 100644
index 1d2c46b8ea2e..000000000000
--- a/print/ghostscript-gpl/files/patch-src:contrib.mak-5.94.add
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/contrib.mak-5.94.add.orig Sun Oct 17 05:20:06 1999
-+++ src/contrib.mak-5.94.add Tue Jun 19 03:20:13 2001
-@@ -102,11 +102,6 @@
- $(GLOBJ)hpdjprn.$(OBJ): $(GLSRC)hpdjprn.c
- $(GLCC) $(C_) $(O_)$@ $(hpdj_opts) $(GLSRC)hpdjprn.c
-
--$(GLOBJ)pclcomp.$(OBJ): $(GLSRC)pclcomp.c
-- $(GLCC) $(C_) $(O_)$@ $(hpdj_opts) $(GLSRC)pclcomp.c
--
--$(GLOBJ)pagecount.$(OBJ): $(GLSRC)pagecount.c
-- $(GLCC) $(C_) $(O_)$@ $(hpdj_opts) $(GLSRC)pagecount.c
-
-
- $(DD)hpdj.dev: $(hpdj_) $(DD)page.dev
diff --git a/print/ghostscript-gpl/files/patch-src:dmp_site.ps b/print/ghostscript-gpl/files/patch-src:dmp_site.ps
deleted file mode 100644
index ee1a5717d641..000000000000
--- a/print/ghostscript-gpl/files/patch-src:dmp_site.ps
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/dmp_site.ps.orig Tue May 27 09:57:00 1997
-+++ src/dmp_site.ps Tue Apr 2 23:05:45 2002
-@@ -1,6 +1,6 @@
- BeginConfig
- %%%%%%%%%%%%%%%%%%%%%% Standard user cusomizations %%%%%%%%%%%%%%%%%%%%%
--/printer (epsimage.src)
-+/printer (%%DATADIR%%/%%GS_VERSION%%/lib/escp_24.src)
- % horizontal / vertical
- % /resolution [ 160.0 180.0 ]
- % horizontal / vertical
diff --git a/print/ghostscript-gpl/files/patch-src:dviprlib.c b/print/ghostscript-gpl/files/patch-src:dviprlib.c
deleted file mode 100644
index 67662665f273..000000000000
--- a/print/ghostscript-gpl/files/patch-src:dviprlib.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/dviprlib.c.orig Tue May 13 16:14:09 1997
-+++ src/dviprlib.c Mon Apr 22 23:02:58 2002
-@@ -1433,7 +1433,9 @@
- char *dviprt_prtcodename[] = { CFG_PRTCODE_NAME, NULL };
- char *dviprt_encodename[] = { CFG_ENCODE_NAME, NULL };
-
--private FILE *dviprt_messagestream = stderr;
-+private FILE *dviprt_messagestream;
-+private void dviprt_messagestream_construct (void) __attribute__((constructor));
-+private void dviprt_messagestream_construct (void) { dviprt_messagestream = stderr; }
-
- /*--- library functions ---*/
- int
diff --git a/print/ghostscript-gpl/files/patch-src:gdevdmpr.c b/print/ghostscript-gpl/files/patch-src:gdevdmpr.c
deleted file mode 100644
index 05e3bb12dc13..000000000000
--- a/print/ghostscript-gpl/files/patch-src:gdevdmpr.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/gdevdmpr.c.orig Tue May 13 20:43:37 1997
-+++ src/gdevdmpr.c Tue Apr 2 01:16:25 2002
-@@ -846,7 +846,7 @@
- if (env) {
- strcpy(fname,env);
- strcat(fname,
-- gp_file_name_concat_string(env,strlen(env),fname,strlen(fnamebase)));
-+ gp_file_name_concat_string(env,strlen(env)));
- strcat(fname,fnamebase);
- fp = fopen(fname,gp_fmode_rb);
- }
diff --git a/print/ghostscript-gpl/files/patch-src:gdevdmpr.mak b/print/ghostscript-gpl/files/patch-src:gdevdmpr.mak
deleted file mode 100644
index 9136172873fa..000000000000
--- a/print/ghostscript-gpl/files/patch-src:gdevdmpr.mak
+++ /dev/null
@@ -1,21 +0,0 @@
---- src/gdevdmpr.mak.orig Mon May 1 20:24:43 2000
-+++ src/gdevdmpr.mak Mon May 1 20:26:23 2000
-@@ -1,8 +1,12 @@
- ### ---------------- Dot matrix printer device ---------------- ###
--dmprt_=gdevdmpr.$(OBJ) dviprlib.$(OBJ) gdevprn.$(OBJ)
-+dmprt_=$(GLOBJ)gdevdmpr.$(OBJ) $(GLOBJ)dviprlib.$(OBJ) $(GLOBJ)gdevprn.$(OBJ)
-
--dmprt.dev: $(dmprt_)
-- $(SETDEV) dmprt $(dmprt_)
-- $(ADDMOD) dmprt -ps dmp_init
--gdevdmpr.$(OBJ): gdevdmpr.c dviprlib.h $(PDEVH)
--dviprlib.$(OBJ): dviprlib.c dviprlib.h
-+$(DD)dmprt.dev: $(dmprt_)
-+ $(SETDEV) $(DD)dmprt $(dmprt_)
-+ $(ADDMOD) $(DD)dmprt -ps dmp_init
-+
-+$(GLOBJ)gdevdmpr.$(OBJ): $(GLSRC)gdevdmpr.c $(GLSRC)dviprlib.h $(PDEVH)
-+ $(GLCC) $(GLO_)gdevdmpr.$(OBJ) $(C_) $(GLSRC)gdevdmpr.c
-+
-+$(GLOBJ)dviprlib.$(OBJ): $(GLSRC)dviprlib.c $(GLSRC)dviprlib.h
-+ $(GLCC) $(GLO_)dviprlib.$(OBJ) $(C_) $(GLSRC)dviprlib.c
diff --git a/print/ghostscript-gpl/files/patch-src:gdevgdi.c b/print/ghostscript-gpl/files/patch-src:gdevgdi.c
deleted file mode 100644
index 15f7c66b85ee..000000000000
--- a/print/ghostscript-gpl/files/patch-src:gdevgdi.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/gdevgdi.c.orig Fri Feb 9 04:51:11 2001
-+++ src/gdevgdi.c Tue Aug 21 11:17:56 2001
-@@ -24,6 +24,7 @@
- /* SAMSUNG GDI driver for Ghostscript */
- #include "gdevprn.h"
- #include "gdevpcl.h"
-+#include "gsparam.h"
-
-
- /*
-@@ -126,7 +127,7 @@
- private int
- gdi_open(gx_device *pdev)
- { /* Change the margins if necessary. */
-- const float _ds *m = 0;
-+ const float *m = 0;
- bool move_origin = true;
-
- static const float m_a4[4] = { GDI_MARGINS_A4 };
diff --git a/print/ghostscript-gpl/files/patch-src:gdevlbp8.c b/print/ghostscript-gpl/files/patch-src:gdevlbp8.c
deleted file mode 100644
index 052492c58f6a..000000000000
--- a/print/ghostscript-gpl/files/patch-src:gdevlbp8.c
+++ /dev/null
@@ -1,70 +0,0 @@
---- src/gdevlbp8.c.orig Wed Aug 1 09:48:23 2001
-+++ src/gdevlbp8.c Thu Mar 14 20:56:05 2002
-@@ -22,6 +22,8 @@
-
- /*
- Modifications:
-+ 3.10.00 Johnny Lam
-+ Removed LIPS III code, as it's obsoleted by gdevlips driver.
- 2.2.97 Lauri Paatero
- Changed CSI command into ESC [. DCS commands may still need to be changed
- (to ESC P).
-@@ -49,7 +51,6 @@
-
- /* The device descriptors */
- private dev_proc_print_page(lbp8_print_page);
--private dev_proc_print_page(lips3_print_page);
-
- const gx_device_printer far_data gs_lbp8_device =
- prn_device(prn_std_procs, "lbp8",
-@@ -58,14 +59,6 @@
- 0.16, 0.2, 0.32, 0.21, /* margins: left, bottom, right, top */
- 1, lbp8_print_page);
-
--const gx_device_printer far_data gs_lips3_device =
-- prn_device(prn_std_procs, "lips3",
-- 82, /* width_10ths, 8.3" */
-- 117, /* height_10ths, 11.7" */
-- X_DPI, Y_DPI,
-- 0.16, 0.27, 0.23, 0.27, /* margins */
-- 1, lips3_print_page);
--
- /* ------ Internal routines ------ */
-
- #define ESC 0x1b
-@@ -84,23 +77,6 @@
-
- static const char *lbp8_end = NULL;
-
--static const char lips3_init[] = {
-- ESC, '<', /* soft reset */
-- DCS, '0', 'J', ST, /* JOB END */
-- DCS, '3', '1', ';', '3', '0', '0', ';', '2', 'J', ST, /* 300dpi, LIPS3 JOB START */
-- ESC, '<', /* soft reset */
-- DCS, '2', 'y', 'P', 'r', 'i', 'n', 't', 'i', 'n', 'g', '(', 'g', 's', ')', ST, /* Printing (gs) display */
-- ESC, '[', '?', '1', 'l', /* auto cr-lf disable */
-- ESC, '[', '?', '2', 'h', /* auto ff disable */
-- ESC, '[', '1', '1', 'h', /* set mode */
-- ESC, '[', '7', ' ', 'I', /* select unit size (300dpi)*/
-- ESC, '[', 'f' /* move to home position */
--};
--
--static const char lips3_end[] = {
-- DCS, '0', 'J', ST /* JOB END */
--};
--
- /* Send the page to the printer. */
- private int
- can_print_page(gx_device_printer *pdev, FILE *prn_stream,
-@@ -203,11 +179,4 @@
- lbp8_print_page(gx_device_printer *pdev, FILE *prn_stream)
- { return can_print_page(pdev, prn_stream, lbp8_init, sizeof(lbp8_init),
- lbp8_end, sizeof(lbp8_end));
--}
--
--/* Print a LIPS III page. */
--private int
--lips3_print_page(gx_device_printer *pdev, FILE *prn_stream)
--{ return can_print_page(pdev, prn_stream, lips3_init, sizeof(lips3_init),
-- lips3_end, sizeof(lips3_end));
- }
diff --git a/print/ghostscript-gpl/files/patch-src:genarch.c b/print/ghostscript-gpl/files/patch-src:genarch.c
deleted file mode 100644
index 3b74ac7e6145..000000000000
--- a/print/ghostscript-gpl/files/patch-src:genarch.c
+++ /dev/null
@@ -1,34 +0,0 @@
---- src/genarch.c.orig Wed Sep 20 04:00:23 2000
-+++ src/genarch.c Wed Jun 20 04:05:36 2001
-@@ -40,6 +40,7 @@
- fprintf(f, "\n\t /* ---------------- %s ---------------- */\n\n", str);
- }
-
-+#ifndef __FreeBSD__
- private clock_t
- time_clear(char *buf, int bsize, int nreps)
- {
-@@ -50,6 +51,7 @@
- memset(buf, 0, bsize);
- return clock() - t;
- }
-+#endif /* __FreeBSD__ */
-
- private void
- define(FILE *f, const char *str)
-@@ -180,6 +182,7 @@
- fprintf(f, "((unsigned long)~0L + (unsigned long)0)\n");
- #undef PRINT_MAX
-
-+#ifndef __FreeBSD__
- section(f, "Cache sizes");
-
- /*
-@@ -240,6 +243,7 @@
- }
- define_int(f, "ARCH_CACHE2_SIZE", bsize >> 1);
- }
-+#endif /* __FreeBSD__ */
-
- section(f, "Miscellaneous");
-
diff --git a/print/ghostscript-gpl/files/patch-src:unix-dll.mak b/print/ghostscript-gpl/files/patch-src:unix-dll.mak
deleted file mode 100644
index 2ee0a5c3a0d1..000000000000
--- a/print/ghostscript-gpl/files/patch-src:unix-dll.mak
+++ /dev/null
@@ -1,59 +0,0 @@
---- src/unix-dll.mak.orig Wed Oct 17 19:11:23 2001
-+++ src/unix-dll.mak Sat Feb 9 04:53:18 2002
-@@ -48,11 +48,9 @@
-
- # shared library
- GS_SONAME=lib$(GS).so
--GS_SONAME_MAJOR=$(GS_SONAME).$(GS_VERSION_MAJOR)
--GS_SONAME_MAJOR_MINOR= $(GS_SONAME).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR)
-+GS_SONAME_MAJOR=$(GS_SONAME).$(GS_SHLIB_VER)
- GS_SO=$(BINDIR)/$(GS_SONAME)
--GS_SO_MAJOR=$(GS_SO).$(GS_VERSION_MAJOR)
--GS_SO_MAJOR_MINOR=$(GS_SO_MAJOR).$(GS_VERSION_MINOR)
-+GS_SO_MAJOR=$(GS_SO).$(GS_SHLIB_VER)
-
- # Shared object is built by redefining GS_XE in a recursive make.
-
-@@ -60,24 +58,20 @@
-
- $(GS_SO): $(GS_SO_MAJOR)
- $(RM_) $(GS_SO)
-- ln -s $(GS_SONAME_MAJOR_MINOR) $(GS_SO)
--
--$(GS_SO_MAJOR): $(GS_SO_MAJOR_MINOR)
-- $(RM_) $(GS_SO_MAJOR)
-- ln -s $(GS_SONAME_MAJOR_MINOR) $(GS_SO_MAJOR)
-+ ln -s $(GS_SONAME_MAJOR) $(GS_SO)
-
- # Build the small Ghostscript loaders, with Gtk+ and without
-
- $(GSSOX_XE): $(GS_SO) $(GLSRC)dxmain.c
-- $(GLCC) -g `gtk-config --cflags` -o $(GSSOX_XE) $(GLSRC)dxmain.c -L$(BINDIR) -l$(GS) `gtk-config --libs`
-+ $(GLCC) `$(GTK_CONFIG) --cflags` -o $(GSSOX_XE) $(GLSRC)dxmain.c -L$(BINDIR) -l$(GS) `$(GTK_CONFIG) --libs`
-
- $(GSSOC_XE): $(GS_SO) $(GLSRC)dxmainc.c
-- $(GLCC) -g -o $(GSSOC_XE) $(GLSRC)dxmainc.c -L$(BINDIR) -l$(GS)
-+ $(GLCC) -o $(GSSOC_XE) $(GLSRC)dxmainc.c -L$(BINDIR) -l$(GS)
-
- # ------------------------- Recursive make targets ------------------------- #
-
- SODEFS=LDFLAGS='$(LDFLAGS) $(CFLAGS_SO) -shared -Wl,-soname,$(GS_SONAME_MAJOR)'\
-- GS_XE=$(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR)\
-+ GS_XE=$(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR)\
- STDIO_IMPLEMENTATION=c\
- DISPLAY_DEV=$(DD)$(SOOBJRELDIR)/display.dev\
- BINDIR=$(BINDIR)/$(SOBINRELDIR)\
-@@ -106,11 +100,9 @@
- -mkdir $(libdir)
- $(INSTALL_PROGRAM) $(GSSOC) $(bindir)/$(GSSOC_XENAME)
- $(INSTALL_PROGRAM) $(GSSOX) $(bindir)/$(GSSOX_XENAME)
-- $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR_MINOR)
-+ $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR) $(libdir)/$(GS_SONAME_MAJOR)
- $(RM_) $(libdir)/$(GS_SONAME)
-- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME)
-- $(RM_) $(libdir)/$(GS_SONAME_MAJOR)
-- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR)
-+ ln -s $(GS_SONAME_MAJOR) $(libdir)/$(GS_SONAME)
-
- soinstall: install-so install-scripts install-data
-
diff --git a/print/ghostscript-gpl/files/patch-src:unix-gcc.mak b/print/ghostscript-gpl/files/patch-src:unix-gcc.mak
deleted file mode 100644
index 94085a8e0710..000000000000
--- a/print/ghostscript-gpl/files/patch-src:unix-gcc.mak
+++ /dev/null
@@ -1,141 +0,0 @@
---- src/unix-gcc.mak.orig Fri Feb 1 15:27:58 2002
-+++ src/unix-gcc.mak Sat Feb 9 04:34:53 2002
-@@ -26,14 +26,15 @@
- # source, generated intermediate file, and object directories
- # for the graphics library (GL) and the PostScript/PDF interpreter (PS).
-
--BINDIR=./bin
--GLSRCDIR=./src
--GLGENDIR=./obj
--GLOBJDIR=./obj
--PSSRCDIR=./src
--PSLIBDIR=./lib
--PSGENDIR=./obj
--PSOBJDIR=./obj
-+.CURDIR?=.
-+BINDIR=${.CURDIR}/bin
-+GLSRCDIR=${.CURDIR}/src
-+GLGENDIR=${.CURDIR}/obj
-+GLOBJDIR=${.CURDIR}/obj
-+PSSRCDIR=${.CURDIR}/src
-+PSLIBDIR=${.CURDIR}/lib
-+PSGENDIR=${.CURDIR}/obj
-+PSOBJDIR=${.CURDIR}/obj
-
- # Do not edit the next group of lines.
-
-@@ -52,11 +53,10 @@
- # the directories also define the default search path for the
- # initialization files (gs_*.ps) and the fonts.
-
--INSTALL = $(GLSRCDIR)/instcopy -c
--INSTALL_PROGRAM = $(INSTALL) -m 755
--INSTALL_DATA = $(INSTALL) -m 644
-+INSTALL_PROGRAM = $(BSD_INSTALL_SCRIPT)
-+INSTALL_DATA = $(BSD_INSTALL_DATA)
-
--prefix = /usr/local
-+prefix = $(PREFIX)
- exec_prefix = $(prefix)
- bindir = $(exec_prefix)/bin
- scriptdir = $(bindir)
-@@ -137,7 +137,7 @@
- # You may need to change this if the IJG library version changes.
- # See jpeg.mak for more information.
-
--JSRCDIR=jpeg
-+JSRCDIR=${.CURDIR}/jpeg
- JVERSION=6
-
- # Choose whether to use a shared version of the IJG JPEG library (-ljpeg).
-@@ -157,14 +157,14 @@
- # You may need to change this if the libpng version changes.
- # See libpng.mak for more information.
-
--PSRCDIR=libpng
-+PSRCDIR=${LOCALBASE}/include
- PVERSION=10201
-
- # Choose whether to use a shared version of the PNG library, and if so,
- # what its name is.
- # See gs.mak and Make.htm for more information.
-
--SHARE_LIBPNG=0
-+SHARE_LIBPNG=1
- LIBPNG_NAME=png
-
- # Define the directory where the zlib sources are stored.
-@@ -176,7 +176,7 @@
- # what its name is (usually libz, but sometimes libgz).
- # See gs.mak and Make.htm for more information.
-
--SHARE_ZLIB=0
-+SHARE_ZLIB=1
- #ZLIB_NAME=gz
- ZLIB_NAME=z
-
-@@ -203,7 +203,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.
-@@ -220,9 +220,9 @@
- # Define the added flags for standard, debugging, profiling
- # and shared object builds.
-
--CFLAGS_STANDARD=-O2
--CFLAGS_DEBUG=-g -O
--CFLAGS_PROFILE=-pg -O2
-+CFLAGS_STANDARD?=-O2
-+CFLAGS_DEBUG=-g
-+CFLAGS_PROFILE=-pg
- CFLAGS_SO=-fPIC
-
- # Define the other compilation flags. Add at most one of the following:
-@@ -236,7 +236,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+=-I${.CURDIR}/gimp-print
-
- CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
-
-@@ -247,7 +247,7 @@
- # -R /usr/local/xxx/lib:/usr/local/lib
- # giving the full path names of the shared library directories.
- # XLDFLAGS can be set from the command line.
--XLDFLAGS=
-+XLDFLAGS=-L${.CURDIR}/gimp-print -L${LOCALBASE}/lib
-
- LDFLAGS=$(XLDFLAGS) -fno-common
-
-@@ -280,7 +280,7 @@
- # Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
- # not in $(XINCLUDE).
-
--XINCLUDE=-I/usr/X11R6/include
-+XINCLUDE=-I${X11BASE}/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
-@@ -292,12 +292,12 @@
- # Solaris and other SVR4 systems with dynamic linking probably want
- #XLIBDIRS=-L/usr/openwin/lib -R/usr/openwin/lib
- # X11R6 (on any platform) may need
--#XLIBS=Xt SM ICE Xext X11
-+XLIBS=Xt SM ICE Xext X11
-
- #XLIBDIRS=-L/usr/local/X/lib
--XLIBDIRS=-L/usr/X11R6/lib
-+XLIBDIRS=-L${X11BASE}/lib
- XLIBDIR=
--XLIBS=Xt Xext X11
-+#XLIBS=Xt Xext X11
-
- # Define whether this platform has floating point hardware:
- # FPU_TYPE=2 means floating point is faster than fixed point.
diff --git a/print/ghostscript-gpl/files/patch-src:zmedia2.c b/print/ghostscript-gpl/files/patch-src:zmedia2.c
deleted file mode 100644
index 9033a4388085..000000000000
--- a/print/ghostscript-gpl/files/patch-src:zmedia2.c
+++ /dev/null
@@ -1,25 +0,0 @@
---- src/zmedia2.c.orig Fri Apr 27 02:57:41 2001
-+++ src/zmedia2.c Fri Nov 2 04:08:16 2001
-@@ -429,11 +429,17 @@
-
- rx = ry, ry = temp;
- }
-- /* Adjust the medium size if flexible. */
-- if (medium->p.x < MIN_MEDIA_SIZE && mx > rx)
-- mx = rx;
-- if (medium->p.y < MIN_MEDIA_SIZE && my > ry)
-- my = ry;
-+ /* If 'medium' is flexible, adjust 'mx' and 'my' towards 'rx' and 'ry',
-+ respectively. Note that 'mx' and 'my' have just acquired the largest
-+ permissible value, medium->q. */
-+ if (medium->p.x < mx) /* non-empty width range */
-+ if (rx < medium->p.x) mx = medium->p.x; /* minimum */
-+ else if (mx > rx) mx = rx; /* fits */
-+ /* else use medium->q.x, i.e., the maximum */
-+ if (medium->p.y < my) /* non-empty height range */
-+ if (ry < medium->p.y) my = medium->p.y; /* minimum */
-+ else if (my > ry) my = ry; /* fits */
-+ /* else use medium->q.y, i.e., the maximum */
-
- /* Translate to align the centers. */
- gs_make_translation(mx / 2, my / 2, pmat);
diff --git a/print/ghostscript-gpl/files/stc740ih.upp b/print/ghostscript-gpl/files/stc740ih.upp
deleted file mode 100644
index bb9805f55fb8..000000000000
--- a/print/ghostscript-gpl/files/stc740ih.upp
+++ /dev/null
@@ -1,60 +0,0 @@
-# $ApsCVS: src/apsfilter/uniprint/stc740ih.upp,v 1.2 2000/04/21 18:48:00 andreas Exp $
-#
--supModel="Epson Stylus Color 740, 1440x720DpI, Inkjet Paper"
--sDEVICE=uniprint
--dNOPAUSE
--dSAFER
--dupColorModel=/DeviceCMYKgenerate
--dupRendering=/FSCMYK32
--dupOutputFormat=/EscP2XY
--r1440x720
--dupMargins="{ 9.0 39.96 9.0 9.0}"
--dupBlackTransfer="{
- 0.00000000 0.00627451 0.01254902 0.02196078 0.02980392 0.03764706 0.04549020
- 0.05490196 0.06431373 0.07215686 0.08156863 0.09098039 0.10196078 0.11450980
- 0.12862745 0.14588235 0.16313725 0.18509804 0.20862745 0.25411765 0.40000000
-}"
--dupCyanTransfer="{
- 0.00000000 0.00627451 0.01254902 0.02196078 0.02980392 0.03764706 0.04549020
- 0.05490196 0.06431373 0.07215686 0.08156863 0.09098039 0.10196078 0.11450980
- 0.12862745 0.14588235 0.16313725 0.18509804 0.20862745 0.25411765 0.40000000
-}"
--dupMagentaTransfer="{
- 0.00000000 0.00627451 0.01254902 0.02196078 0.02980392 0.03764706 0.04549020
- 0.05490196 0.06431373 0.07215686 0.08156863 0.09098039 0.10196078 0.11450980
- 0.12862745 0.14588235 0.16313725 0.18509804 0.20862745 0.25411765 0.40000000
-}"
--dupYellowTransfer="{
- 0.00000000 0.00627451 0.01254902 0.02196078 0.02980392 0.03764706 0.04549020
- 0.05490196 0.06431373 0.07215686 0.08156863 0.09098039 0.10196078 0.11450980
- 0.12862745 0.14588235 0.16313725 0.18509804 0.20862745 0.25411765 0.40000000
-}"
--dupOutputComponentOrder="{ 1 2 3 0 }"
--dupWeaveXPasses=2
--dupOutputXStep=2
--dupWeaveYPasses=6
--dupOutputPins=46
--dupWeaveYFeeds="{23 23 23 23 23 23 23 23 23 23 23 23}"
--dupWeaveXStarts="{0 1 0 1 0 1 1 0 1 0 1 0}"
--dupWeaveYOffset=50
--dupWeaveInitialYFeeds="{ 5 5 5 5 5 5 5 5 5 5 5 23}"
--dupWeaveInitialXStarts="{0 1 0 1 0 1 1 0 1 0 1 0}"
--dupWeaveInitialPins="{ 13 16 19 22 25 28 31 34 37 40 43 46}"
--dupFormatYabsolute
--dupBeginPageCommand="<
- 1b40 1b40
- 1b2847 0100 01
- 1b2855 0100 05
- 1b2873 0100 02
- 1b5501
- 1b2865 0200 0001
- 1b2843 0200 0000
- 1b2863 0400 0000 0000
->"
--dupAdjustPageLengthCommand
--dupAdjustTopMarginCommand
--dupAdjustBottomMarginCommand
--dupXStepCommand="<1b285c 0400 a005 0100 0000>"
--dupEndPageCommand="(\033@\014)"
--dupAbortCommand="(\033@\15\12\12\12\12 Printout-Aborted\15\014)"
-
diff --git a/print/ghostscript-gpl/files/stc740p.upp b/print/ghostscript-gpl/files/stc740p.upp
deleted file mode 100644
index a4e7f5441793..000000000000
--- a/print/ghostscript-gpl/files/stc740p.upp
+++ /dev/null
@@ -1,36 +0,0 @@
-# $ApsCVS: src/apsfilter/uniprint/stc740p.upp,v 1.2 2000/04/21 18:48:00 andreas Exp $
-#
--supModel="Epson Stylus Color 740, 720x720DpI, Plain Paper"
--sDEVICE=uniprint
--dNOPAUSE
--dSAFER
--dupColorModel=/DeviceCMYKgenerate
--dupRendering=/FSCMYK32
--dupOutputFormat=/EscP2
--r720x720
--dupMargins="{ 9.0 39.96 9.0 9.0}"
--dupBlackTransfer="{ 0.0000 0.0453 0.1058 0.1898 0.4321 1.0000 }"
--dupCyanTransfer="{ 0.0000 0.0453 0.1058 0.1898 0.4321 1.0000 }"
--dupMagentaTransfer="{ 0.0000 0.0453 0.1058 0.1898 0.4321 1.0000 }"
--dupYellowTransfer="{ 0.0000 0.0453 0.1058 0.1898 0.4321 1.0000 }"
--dupOutputComponentOrder="{ 1 2 3 0 }"
--dupWeaveYPasses=6
--dupOutputPins=48
--dupWeaveYFeeds="{47 47 47 53 47 47}"
--dupWeaveInitialYFeeds="{1 1 1 1 1 43}"
--dupWeaveInitialPins="{ 8 48 40 31 23 15}"
--dupBeginPageCommand="<
- 1b40 1b40
- 1b2847 0100 01
- 1b2855 0100 05
- 1b5500
- 1b2865 0200 0002
- 1b2843 0200 0000
- 1b2863 0400 0000 0000
->"
--dupAdjustPageLengthCommand
--dupAdjustTopMarginCommand
--dupAdjustBottomMarginCommand
--dupEndPageCommand="(\033@\014)"
--dupAbortCommand="(\033@\15\12\12\12\12 Printout-Aborted\15\014)"
-
diff --git a/print/ghostscript-gpl/files/stc740pl.upp b/print/ghostscript-gpl/files/stc740pl.upp
deleted file mode 100644
index b2fdb0dbbc06..000000000000
--- a/print/ghostscript-gpl/files/stc740pl.upp
+++ /dev/null
@@ -1,32 +0,0 @@
-# $ApsCVS: src/apsfilter/uniprint/stc740pl.upp,v 1.2 2000/04/21 18:48:01 andreas Exp $
-#
--supModel="Epson Stylus Color 740, 360x360DpI, Plain Paper"
--sDEVICE=uniprint
--dNOPAUSE
--dSAFER
--dupColorModel=/DeviceCMYKgenerate
--dupRendering=/FSCMYK32
--dupOutputFormat=/EscP2
--r360x360
--dupMargins="{ 9.0 39.96 9.0 9.0}"
--dupOutputComponentOrder="{ 1 2 3 0 }"
--dupWeaveYPasses=3
--dupOutputPins=48
--dupWeaveYFeeds="{47 50 47}"
--dupWeaveInitialYFeeds="{1 1 46}"
--dupWeaveInitialPins="{ 16 48 32}"
--dupBeginPageCommand="<
- 1b40 1b40
- 1b2847 0100 01
- 1b2855 0100 0A
- 1b5500
- 1b2865 0200 0002
- 1b2843 0200 0000
- 1b2863 0400 0000 0000
->"
--dupAdjustPageLengthCommand
--dupAdjustTopMarginCommand
--dupAdjustBottomMarginCommand
--dupEndPageCommand="(\033@\014)"
--dupAbortCommand="(\033@\15\12\12\12\12 Printout-Aborted\15\014)"
-
diff --git a/print/ghostscript-gpl/files/stp.contrib.mak b/print/ghostscript-gpl/files/stp.contrib.mak
deleted file mode 100644
index 862d329324ee..000000000000
--- a/print/ghostscript-gpl/files/stp.contrib.mak
+++ /dev/null
@@ -1,14 +0,0 @@
-### --------------- Gimp-Print/stp Driver ---------------------------- ###
-### Be careful to add the exact contents of this file; cut and paste ###
-### may corrupt the file and cause mysterious make errors ###
-
-stp_=$(GLOBJ)gdevstp.$(OBJ)
-
-STPLIB=gimpprint
-
-$(DD)stp.dev: $(stp_) $(DD)page.dev
- $(SETPDEV) $(DD)stp $(stp_)
- $(ADDMOD) $(DD)stp -lib $(STPLIB)
-
-$(GLOBJ)gdevstp.$(OBJ) : $(GLSRC)gdevstp.c $(PDEVH)
- $(GLCC) $(GLO_)gdevstp.$(OBJ) $(C_) $(GLSRC)gdevstp.c
diff --git a/print/ghostscript-gpl/pkg-comment b/print/ghostscript-gpl/pkg-comment
deleted file mode 100644
index dd6a867e3c83..000000000000
--- a/print/ghostscript-gpl/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-AFPL Postscript interpreter version 7
diff --git a/print/ghostscript-gpl/pkg-descr b/print/ghostscript-gpl/pkg-descr
deleted file mode 100644
index 8c9cd4496d84..000000000000
--- a/print/ghostscript-gpl/pkg-descr
+++ /dev/null
@@ -1,27 +0,0 @@
-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.
-
-Versions entitled "AFPL Ghostscript" are distributed with a licence different
-from the GPL. Read the file PUBLIC in the work/gsX.Y directory or in
-${PREFIX}/share/ghostscript/X.Y/doc/PUBLIC after installation for details !
-
-This port includes add-on packages (not part of the official gs release)
- o Support for pdfencrypt, see description on
- - http://members.ozemail.com.au/~geoffk/pdfencrypt/
- o HP8XX driver for HP DeskJet 880C/882C/895C
- - http://www.gelhaus.net/hp880c/
- o DJ970 driver for HP DeskJet 970CXi
- - http://www.harsch.net/Ghostscript/ghostscript.html
- o PCL3 and HPDJ driver for HP DeskJet series
- - http://home.t-online.de/home/Martin.Lottermoser/pcl3.html
- o Gimp-Print driver for Canon/Epson/Lexmark/HP printers
- - http://gimp-print.sourceforge.net/
- o HPinkjet driver for HP PhotoSmart/DeskJet series
- - http://hpinkjet.sourceforge.net/
- o Spacial drivers for verious printer models mainly sold in Japan
- - Alps, Canon, Epson, NEC, Ricoh,...
- o Additional contributed uniprint driver profiles for
- - Epson Stylus Color 740 and Epson LQ-1170
-
-WWW: http://www.cs.wisc.edu/~ghost/doc/AFPL/index.htm
diff --git a/print/ghostscript-gpl/pkg-plist b/print/ghostscript-gpl/pkg-plist
deleted file mode 100644
index 2d1db2b75ebc..000000000000
--- a/print/ghostscript-gpl/pkg-plist
+++ /dev/null
@@ -1,539 +0,0 @@
-bin/bdftops
-bin/dvipdf
-bin/eps2eps
-bin/ert
-bin/fixmswrd.pl
-bin/font2c
-bin/gs
-bin/gsbj
-%%SHLIB%%bin/gsc
-bin/gsdj
-bin/gsdj500
-bin/gslj
-bin/gslp
-bin/gsnd
-%%SHLIB%%bin/gsx
-bin/lprsetup.sh
-bin/pcl3opts
-bin/pdf2dsc
-bin/pdf2ps
-bin/pdfopt
-bin/pf2afm
-bin/pfbtopfa
-bin/pj-gs.sh
-bin/printafm
-bin/ps2ascii
-bin/ps2epsi
-bin/ps2pdf
-bin/ps2pdf12
-bin/ps2pdf13
-bin/ps2pdfwr
-bin/ps2ps
-bin/pv.sh
-bin/sysvlp.sh
-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-651.euc
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/gimp-print/README
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/NEWS
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/hpdj.html
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/lips/Gdevlips.htm
-%%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%%/npdl/gdevnpdl.jis
-%%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/Bug-form.htm
-share/ghostscript/%%GS_VERSION%%/doc/Bug-info.htm
-share/ghostscript/%%GS_VERSION%%/doc/C-style.htm
-share/ghostscript/%%GS_VERSION%%/doc/Changes.htm
-share/ghostscript/%%GS_VERSION%%/doc/Commprod.htm
-share/ghostscript/%%GS_VERSION%%/doc/Copying.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/PUBLIC
-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/Public.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/Tester.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/chess.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%%/hpdj/README.hpdj
-share/ghostscript/%%GS_VERSION%%/hpdj/example.mdf
-share/ghostscript/%%GS_VERSION%%/hpdj/margins-A4.ps
-share/ghostscript/%%GS_VERSION%%/hpdj/margins-A4Rotated.ps
-share/ghostscript/%%GS_VERSION%%/hpdj/margins-Letter.ps
-share/ghostscript/%%GS_VERSION%%/hpdj/margins-LetterRotated.ps
-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
-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/fonts.dir
-share/ghostscript/fonts/fonts.scale
-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/%%GS_VERSION%%/pcl3
-@dirrm share/ghostscript/%%GS_VERSION%%/lib
-@dirrm share/ghostscript/%%GS_VERSION%%/hpdj
-@dirrm share/ghostscript/%%GS_VERSION%%/examples
-@dirrm share/ghostscript/%%GS_VERSION%%/doc
-@dirrm share/ghostscript/%%GS_VERSION%%
-@unexec rmdir %D/share/ghostscript 2>/dev/null || true
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/pcl3
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/npdl
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/mjc
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/md2k
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/lips
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/hpdj
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/gimp-print
-%%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
diff --git a/print/ghostscript-gpl/scripts/configure b/print/ghostscript-gpl/scripts/configure
deleted file mode 100644
index 4a2a196840d2..000000000000
--- a/print/ghostscript-gpl/scripts/configure
+++ /dev/null
@@ -1,261 +0,0 @@
-#! /bin/sh
-
-# $FreeBSD$
-
-# configure - gs driver preconfiguration, manual driver selection
-# by Andreas Klemm <andreas@FreeBSD.org>
-
-# driverselection
-/usr/bin/dialog --title "AFPL 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" ON \
- "x11alpha" "X Window System masquer. as device with alpha capability" ON \
- "x11cmyk" "X Window System masquer. as 1-bit-per-plane CMYK device" ON \
- "x11cmyk2" "X Window System as a 2-bit-per-plane CMYK device" OFF \
- "x11cmyk4" "X Window System as a 4-bit-per-plane CMYK device" OFF \
- "x11cmyk8" "X Window System as an 8-bit-per-plane CMYK device" OFF \
- "x11gray2" "X Window System as a 2-bit gray-scale device" ON \
- "x11gray4" "X Window System as a 4-bit gray-scale device" ON \
- "x11mono" "X Window System masquer. as black-and-white device" ON \
- "x11rg16x" "X Window System with G5/B5/R6 pixel layout for testing" ON \
- "x11rg32x" "X Window System with G11/B10/R11 pixel layout for testing" ON \
- "md2k" "ALPS MD-2000/2010/4000/1300/1500/5000 [MD2K]" ON \
- "md5k" "ALPS MD-5000 Eco Mode [MD2K]" ON \
- "md50Mono" "ALPS MD-5000 Monochrome [ALPS]" ON \
- "md50Eco" "ALPS MD-5000 Eco Mode [ALPS]" ON \
- "md1xMono" "ALPS MD-1x00 Monochrome [ALPS]" ON \
- "appledmp" "Apple Dot Matrix Printer / Imagewriter" OFF \
- "iwhi" "Apple Imagewriter, high-resolution mode" OFF \
- "iwlo" "Apple Imagewriter, low-resolution mode" OFF \
- "iwlq" "Apple Imagewriter LQ in 320 x 216 dpi mode" OFF \
- "hl7x0" "Brother HL720 and HL730 (HL760=PCL), MFC6550MC Fax Machine" OFF \
- "bj10e" "Canon BubbleJet BJ-10e" ON \
- "bj10v" "Canon BubbleJet BJ-10v [BJ10V]" ON \
- "bj10vh" "Canon BubbleJet BJ-10v, high-mergin [BJ10V]" ON \
- "bj200" "Canon BubbleJet BJ-200 and BJC-240(b&w)" ON \
- "bjc600" "Canon Color BJC-600/4xxx/70 + Apple StyleWriter 2x00" ON \
- "bjc800" "Canon Color BubbleJet BJC-240/800" ON \
- "lbp8" "Canon LBP-8II laser printer" OFF \
- "lips2p" "Canon LIPS II+ [LIPS]" ON \
- "lips3" "Canon LIPS III [LIPS]" ON \
- "lips4" "Canon LIPS IV [LIPS]" ON \
- "bjc880j" "Canon LIPS IVc (BJC-680J/880J) [LIPS]" ON \
- "lips4v" "Canon LIPS IV, vector output mode [LIPS]" ON \
- "m8510" "C.Itoh M8510 printer" OFF \
- "coslw2p" "CoStar LabelWriter II II/Plus" OFF \
- "coslwxl" "CoStar LabelWriter XL" OFF \
- "stp" "Configurable Canon/Epson/Lexmark/HP driver [Gimp-Print]" ON \
- "uniprint" "Configurable ESC/P,ESC/P2,HP-RTL/PCL,P2X mono/color driver" ON \
- "dmprt" "Configurable dot matrix printer driver [DMPRT]" ON \
- "lj250" "DEC LJ250 Companion color printer" OFF \
- "declj250" "DEC LJ250 driver (alternate)" OFF \
- "ap3250" "Epson ActionPrinter 3250" OFF \
- "epson" "Epson-compatible dot matrix, 9/24-pin" OFF \
- "eps9mid" "Epson-compatible 9-pin, interleaved lines, medium resol" OFF \
- "eps9high" "Epson-compatible 9-pin, interleaved lines, triple resol" OFF \
- "lp8000" "Epson LP-8000 line printer" OFF \
- "epag" "Epson ESC/Page laser printer (generic) [EPAG]" ON \
- "escpage" "Epson ESC/Page laser printer (generic) [LIPS]" ON \
- "lp2000" "Epson LP-2000/3000/7000/7000G laser printer [LIPS]" ON \
- "lp8800c" "Epson LP-8800C color laser printer [EPLASER]" ON \
- "lp8300c" "Epson LP-8300C color laser printer [EPLASER]" ON \
- "lp8500c" "Epson LP-8500C color laser printer [EPLASER]" ON \
- "lp3000c" "Epson LP-3000C color laser printer [EPLASER]" ON \
- "lp8200c" "Epson LP-8200C color laser printer [EPLASER]" ON \
- "lp8000c" "Epson LP-8000C color laser printer [EPLASER]" ON \
- "lp2200" "Epson LP-2200 laser printer [EPLASER]" ON \
- "lp9400" "Epson LP-9400(R) laser printer [EPLASER]" ON \
- "lp8700" "Epson LP-8700(R) laser printer [EPLASER]" ON \
- "lp8100" "Epson LP-8100(R) laser printer [EPLASER]" ON \
- "lp8600f" "Epson LP-8600FX(N) laser printer [EPLASER]" ON \
- "lp8400f" "Epson LP-8400FX(N) laser printer [EPLASER]" ON \
- "lp8300f" "Epson LP-8300F laser printer [EPLASER]" ON \
- "lp1900" "Epson LP-1900(N) laser printer [EPLASER]" ON \
- "lp9600s" "Epson LP-9600S laser printer [EPLASER]" ON \
- "lp9600" "Epson LP-9600 laser printer [EPLASER]" ON \
- "lp9300" "Epson LP-9300 laser printer [EPLASER]" ON \
- "lp8600" "Epson LP-8600FX(N) laser printer [EPLASER]" ON \
- "lp1800" "Epson LP-1800 laser printer [EPLASER]" ON \
- "lq850" "Epson LQ-850 (360x360), ok for Canon BJ300 in LQ850 emul" OFF \
- "epsonc" "Epson LQ-2550 and Fujitsu 3400/2400/1200 color" OFF \
- "mjc180" "Epson MachJet series 180dpi, CMYK [MJC]" ON \
- "mjc360" "Epson MachJet series 360dpi, CMYK [MJC]" ON \
- "mjc720" "Epson MachJet series 720dpi, CMYK [MJC]" ON \
- "mj500c" "Epson MachJet MJ-500C 360dpi, CMY or mono [MJC]" ON \
- "st800" "Epson Stylus 800 printer" OFF \
- "stcolor" "Epson Stylus Color and II/IIs/1500 (see driver docu)" OFF \
- "photoex" "Epson Stylus Color Photo, Photo EX, Photo 700" OFF \
- "lp2563" "HP 2563B line printer" OFF \
- "dnj650c" "HP DesignJet 650C" OFF \
- "deskjet" "HP DeskJet and DeskJet Plus" ON \
- "djet500" "HP DeskJet 500 (for DeskJet 600 use -r600)" ON \
- "cdeskjet" "HP DeskJet 500C, 1 bit/pixel color" ON \
- "djet500c" "HP DeskJet 500C alternate driver, not for 550/560C" OFF \
- "cdjcolor" "HP DeskJet 500C/540C, 24bit/pxl+FS dith, Citizen Projet IIc" ON \
- "cdjmono" "HP DeskJet 500/510/520/540C b/w printing" ON \
- "cdj500" "HP DeskJet 500/540C (same as cdjcolor)" OFF \
- "cdj550" "HP DeskJet 550C/560C/660C/660Cse" ON \
- "cdj670" "HP DeskJet 670/690 [HP8XX]" ON \
- "cdj850" "HP DeskJet 850/855/870/1100 [HP8XX]" ON \
- "cdj880" "HP DeskJet 880 [HP8XX]" ON \
- "cdj890" "HP DeskJet 890 [HP8XX]" ON \
- "cdj1600" "HP DeskJet 1600 [HP8XX]" ON \
- "cdj970" "HP DeskJet 970CXi [DJ970]" ON \
- "laserjet" "HP LaserJet" ON \
- "ljetplus" "HP LaserJet Plus" 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 and 5L/5P (not real LJ5), defaults to 600 dpi" ON \
- "ljet4d" "HP LaserJet 4 (defaults to 600 dpi) with duplex" ON \
- "lj4dith" "HP LaserJet 4 with Floyd-Steinberg dithering" OFF \
- "cljet5" "HP LaserJet 5/5M Color (new driver, old=cljet5pr)" ON \
- "cljet5c" "HP LaserJet 5/5M Color Simple" ON \
- "cljet5pr" "HP LaserJet 5/5M Color (old drv. with rotation hacks/flaws)" ON \
- "lj5mono" "HP LaserJet 5 and 6 family (PCL5 / PCL XL), bitmap" ON \
- "lj5gray" "HP LaserJet 5 and 6 family, gray-scale bitmap" ON \
- "pj" "HP PaintJet XL driver " ON \
- "pjetxl" "HP PaintJet XL driver (alternate)" OFF \
- "pjxl" "HP PaintJet XL color printer" ON \
- "paintjet" "HP PaintJet color printer (alternate)" OFF \
- "pjxl300" "HP PaintJet XL300, DeskJet 1200C color printer, HP CopyJet" ON \
- "pxlmono" "HP PCL XL black-and-white printers (LaserJet 5 and 6 family)" ON \
- "pxlcolor" "HP PCL XL color printers (Color LaserJet 4500/5000)" ON \
- "pcl3" "HP PCL 3+ (generic) [PCL3]" ON \
- "hpdj" "HP PCL 3+ (old drv.) [HPDJ]" ON \
- "ijs" "HP Inkjet and other raster devices" ON \
- "ibmpro" "IBM 9-pin Proprinter" OFF \
- "jetp3852" "IBM Jetprinter ink-jet color (Model #3852)" OFF \
- "imagen" "Imagen ImPress printers" OFF \
- "fs600" "Kyocera FS-600 (600 dpi)" OFF \
- "lxm5700m" "Lexmark 5700 monotone" OFF \
- "cp50" "Mitsubishi CP50 color" OFF \
- "necp6" "NEC PinWriter P6/P6+/P60, 360x360 DPI resol" OFF \
- "npdl" "NEC Printer Description Language [NPDL]" ON \
- "oce9050" "OCE 9050 printer" OFF \
- "oki182" "Okidata MicroLine 182" OFF \
- "okiibm" "Okidata MicroLine IBM-compatible printers" OFF \
- "atx23" "Practical Automation ATX-23 label printer" OFF \
- "atx24" "Practical Automation ATX-24 label printer" OFF \
- "atx38" "Practical Automation ATX-38 label printer" OFF \
- "r4081" "Ricoh 4081 laser printer" OFF \
- "rpdl" "Ricoh Printer Description Language [LIPS]" ON \
- "gdi" "Samsung SmartGDI laser printer [GDI]" ON \
- "sj48" "StarJet 48 inkjet printer" OFF \
- "t4693d2" "Tektronix 4693d color, 2 bits per R/G/B component" OFF \
- "t4693d4" "Tektronix 4693d color, 4 bits per R/G/B component" OFF \
- "t4693d8" "Tektronix 4693d color, 8 bits per R/G/B component" OFF \
- "tek4696" "Tektronix 4695/4696 inkjet plotter" OFF \
- "bmpmono" "BMP Monochrome" ON \
- "bmpgray" "BMP 8-bit gray" ON \
- "bmp16" "BMP 4-bit EGA/VGA" ON \
- "bmp256" "BMP 8-bit 256-color" ON \
- "bmp16m" "BMP 24-bit" ON \
- "bmp32b" "BMP 32-bit pseudo-.BMP" ON \
- "bmpsep1" "BMP Separated 1-bit CMYK" ON \
- "bmpsep8" "BMP Separated 8-bit CMYK" ON \
- "ccr" "CalComp Raster format" OFF \
- "cgmmono" "CGM Monochrome -- LOW LEVEL OUTPUT ONLY" OFF \
- "cgm8" "CGM 8-bit 256-color -- DITTO" OFF \
- "cgm24" "CGM 24-bit color -- DITTO" OFF \
- "cif" "CIF file format for VLSI" OFF \
- "dfaxhigh" "DigiBoard, DigiFAX software format (high resol)" OFF \
- "dfaxlow" "DigiFAX low (normal) resol" OFF \
- "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 \
- "miff24" "ImageMagick MIFF, 24-bit direct color, RLE compressed" OFF \
- "inferno" "Inferno bitmaps" OFF \
- "jpeg" "JPEG format, RGB output" ON \
- "jpeggray" "JPEG format, gray output" ON \
- "mgrmono" "MGR devices 1-bit monochrome" OFF \
- "mgrgray2" "MGR devices 2-bit gray scale" OFF \
- "mgrgray4" "MGR devices 4-bit gray scale" OFF \
- "mgrgray8" "MGR devices 8-bit gray scale" OFF \
- "mgr4" "MGR devices 4-bit (VGA) color" OFF \
- "mgr8" "MGR devices 8-bit color" OFF \
- "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 \
- "pdfwrite" "PDF output (like Adobe Acrobat Distiller)" ON \
- "bit" "Plain bits, monochrome" ON \
- "bitrgb" "Plain bits, RGB" ON \
- "bitcmyk" "Plain bits, CMYK" ON \
- "plan9bm" "Plan 9 bitmap format" OFF \
- "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 \
- "pksm" "Portable Separated map (plain) (4-bit CMYK => 4 pages)" ON \
- "pksmraw" "Portable Separated map (raw) (4-bit CMYK => 4 pages)" ON \
- "pngmono" "PNG Monochrome Portable Network Graphics" ON \
- "pnggray" "PNG 8-bit gray Portable Network Graphics" ON \
- "png16" "PNG 4-bit color Portable Network Graphics" ON \
- "png256" "PNG 8-bit color Portable Network Graphics" ON \
- "png16m" "PNG 24-bit color Portable Network Graphics" ON \
- "psmono" "PostScript (Level 1) monochrome image" ON \
- "psgray" "PostScript (Level 1) 8-bit gray image" ON \
- "psrgb" "PostScript (Level 2) 24-bit color image" ON \
- "pswrite" "PostScript output (like PostScript Distillery)" ON \
- "epswrite" "EPS output (like PostScript Distillery)" ON \
- "sgirgb" "SGI RGB pixmap format" OFF \
- "sunhmono" "Harlequin variant of 1-bit Sun raster file" OFF \
- "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 \
- "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
-#old:
-#echo "DEVICE_DEVS=$choice" \
-# | sed -e "s/\"//g" \
-# | sed -e "s/ /.dev /g" \
-# | sed -e "s/$/.dev/g" \
-# > ${WRKSRC}/src/unix-gcc.mak.new
-# XXX new:
-echo "DEVICE_DEVS=$choice" \
- | perl -pe 's|"([A-Za-z0-9]+)"|\$(DD)\1.dev|g' \
- > ${WRKSRC}/src/unix-gcc.mak.new
-
-# create one new Makefile, where DEVICE_DEVS contains all wanted devices
-sed -e '/^DEVICE_DEVS=/d' ${WRKSRC}/src/unix-gcc.mak \
- >> ${WRKSRC}/src/unix-gcc.mak.new
-mv ${WRKSRC}/src/unix-gcc.mak.new ${WRKSRC}/src/unix-gcc.mak
diff --git a/print/ghostscript-gpl/scripts/configure.batch b/print/ghostscript-gpl/scripts/configure.batch
deleted file mode 100644
index 720d16a198ab..000000000000
--- a/print/ghostscript-gpl/scripts/configure.batch
+++ /dev/null
@@ -1,19 +0,0 @@
-#! /bin/sh
-
-# $FreeBSD$
-
-# configure.batch - gs driver preconfiguration, batch mode
-# by Andreas Klemm <andreas@FreeBSD.org>
-
-cat - > ${WRKSRC}/src/unix-gcc.mak.new << !EOT
-ifndef WITHOUT_X11
-DEVICE_DEVS= \$(DD)x11.dev \$(DD)x11alpha.dev \$(DD)x11cmyk.dev \$(DD)x11cmyk2.dev \$(DD)x11cmyk4.dev \$(DD)x11cmyk8.dev \$(DD)x11gray2.dev \$(DD)x11gray4.dev \$(DD)x11mono.dev \$(DD)x11rg16x.dev \$(DD)x11rg32x.dev
-endif
-
-DEVICE_DEVS+= \$(DD)md2k.dev \$(DD)md5k.dev \$(DD)md50Mono.dev \$(DD)md50Eco.dev \$(DD)md1xMono.dev \$(DD)appledmp.dev \$(DD)iwhi.dev \$(DD)iwlo.dev \$(DD)iwlq.dev \$(DD)hl7x0.dev \$(DD)bj10e.dev \$(DD)bj10v.dev \$(DD)bj10vh.dev \$(DD)bj200.dev \$(DD)bjc600.dev \$(DD)bjc800.dev \$(DD)lbp8.dev \$(DD)lips2p.dev \$(DD)lips3.dev \$(DD)lips4.dev \$(DD)bjc880j.dev \$(DD)lips4v.dev \$(DD)m8510.dev \$(DD)coslw2p.dev \$(DD)coslwxl.dev \$(DD)stp.dev \$(DD)uniprint.dev \$(DD)dmprt.dev \$(DD)lj250.dev \$(DD)declj250.dev \$(DD)ap3250.dev \$(DD)epson.dev \$(DD)eps9mid.dev \$(DD)eps9high.dev \$(DD)lp8000.dev \$(DD)epag.dev \$(DD)escpage.dev \$(DD)lp2000.dev \$(DD)lp8800c.dev \$(DD)lp8300c.dev \$(DD)lp8500c.dev \$(DD)lp3000c.dev \$(DD)lp8200c.dev \$(DD)lp8000c.dev \$(DD)lp2200.dev \$(DD)lp9400.dev \$(DD)lp8700.dev \$(DD)lp8100.dev \$(DD)lp8600f.dev \$(DD)lp8400f.dev \$(DD)lp8300f.dev \$(DD)lp1900.dev \$(DD)lp9600s.dev \$(DD)lp9600.dev \$(DD)lp9300.dev \$(DD)lp8600.dev \$(DD)lp1800.dev \$(DD)lq850.dev \$(DD)epsonc.dev \$(DD)mjc180.dev \$(DD)mjc360.dev \$(DD)mjc720.dev \$(DD)mj500c.dev \$(DD)st800.dev \$(DD)stcolor.dev \$(DD)photoex.dev \$(DD)lp2563.dev \$(DD)dnj650c.dev \$(DD)deskjet.dev \$(DD)djet500.dev \$(DD)cdeskjet.dev \$(DD)djet500c.dev \$(DD)cdjcolor.dev \$(DD)cdjmono.dev \$(DD)cdj500.dev \$(DD)cdj550.dev \$(DD)cdj670.dev \$(DD)cdj850.dev \$(DD)cdj880.dev \$(DD)cdj890.dev \$(DD)cdj1600.dev \$(DD)cdj970.dev \$(DD)laserjet.dev \$(DD)ljetplus.dev \$(DD)ljet2p.dev \$(DD)ljet3.dev \$(DD)ljet3d.dev \$(DD)ljet4.dev \$(DD)ljet4d.dev \$(DD)lj4dith.dev \$(DD)cljet5.dev \$(DD)cljet5c.dev \$(DD)cljet5pr.dev \$(DD)lj5mono.dev \$(DD)lj5gray.dev \$(DD)pj.dev \$(DD)pjetxl.dev \$(DD)pjxl.dev \$(DD)paintjet.dev \$(DD)pjxl300.dev \$(DD)pxlmono.dev \$(DD)pxlcolor.dev \$(DD)pcl3.dev \$(DD)hpdj.dev \$(DD)ijs.dev \$(DD)ibmpro.dev \$(DD)jetp3852.dev \$(DD)imagen.dev \$(DD)fs600.dev \$(DD)lxm5700m.dev \$(DD)cp50.dev \$(DD)necp6.dev \$(DD)npdl.dev \$(DD)oce9050.dev \$(DD)oki182.dev \$(DD)okiibm.dev \$(DD)atx23.dev \$(DD)atx24.dev \$(DD)atx38.dev \$(DD)r4081.dev \$(DD)rpdl.dev \$(DD)gdi.dev \$(DD)sj48.dev \$(DD)t4693d2.dev \$(DD)t4693d4.dev \$(DD)t4693d8.dev \$(DD)tek4696.dev \$(DD)bmpmono.dev \$(DD)bmpgray.dev \$(DD)bmp16.dev \$(DD)bmp256.dev \$(DD)bmp16m.dev \$(DD)bmp32b.dev \$(DD)bmpsep1.dev \$(DD)bmpsep8.dev \$(DD)ccr.dev \$(DD)cgmmono.dev \$(DD)cgm8.dev \$(DD)cgm24.dev \$(DD)cif.dev \$(DD)dfaxhigh.dev \$(DD)dfaxlow.dev \$(DD)faxg3.dev \$(DD)faxg32d.dev \$(DD)faxg4.dev \$(DD)miff24.dev \$(DD)inferno.dev \$(DD)jpeg.dev \$(DD)jpeggray.dev \$(DD)mgrmono.dev \$(DD)mgrgray2.dev \$(DD)mgrgray4.dev \$(DD)mgrgray8.dev \$(DD)mgr4.dev \$(DD)mgr8.dev \$(DD)pcxmono.dev \$(DD)pcxgray.dev \$(DD)pcx16.dev \$(DD)pcx256.dev \$(DD)pcx24b.dev \$(DD)pcxcmyk.dev \$(DD)pdfwrite.dev \$(DD)bit.dev \$(DD)bitrgb.dev \$(DD)bitcmyk.dev \$(DD)plan9bm.dev \$(DD)pbm.dev \$(DD)pbmraw.dev \$(DD)pgm.dev \$(DD)pgmraw.dev \$(DD)pgnm.dev \$(DD)pgnmraw.dev \$(DD)pnm.dev \$(DD)pnmraw.dev \$(DD)ppm.dev \$(DD)ppmraw.dev \$(DD)pkm.dev \$(DD)pkmraw.dev \$(DD)pksm.dev \$(DD)pksmraw.dev \$(DD)pngmono.dev \$(DD)pnggray.dev \$(DD)png16.dev \$(DD)png256.dev \$(DD)png16m.dev \$(DD)psmono.dev \$(DD)psgray.dev \$(DD)psrgb.dev \$(DD)pswrite.dev \$(DD)epswrite.dev \$(DD)sgirgb.dev \$(DD)sunhmono.dev \$(DD)tiffcrle.dev \$(DD)tiffg3.dev \$(DD)tiffg32d.dev \$(DD)tiffg4.dev \$(DD)tiff12nc.dev \$(DD)tiff24nc.dev \$(DD)tifflzw.dev \$(DD)tiffpack.dev
-!EOT
-
-# create one new Makefile, where DEVICE_DEVS contains all wanted devices
-sed -e '/^DEVICE_DEVS=/d' ${WRKSRC}/src/unix-gcc.mak \
- >> ${WRKSRC}/src/unix-gcc.mak.new
-mv ${WRKSRC}/src/unix-gcc.mak.new ${WRKSRC}/src/unix-gcc.mak