[Midnightbsd-cvs] mports [19253] trunk/print/ghostscript8: change png

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat May 30 11:38:28 EDT 2015


Revision: 19253
          http://svnweb.midnightbsd.org/mports/?rev=19253
Author:   laffer1
Date:     2015-05-30 11:38:27 -0400 (Sat, 30 May 2015)
Log Message:
-----------
change png

Modified Paths:
--------------
    trunk/print/ghostscript8/Makefile
    trunk/print/ghostscript8/Makefile.drivers
    trunk/print/ghostscript8/files/Makefile.dmprt
    trunk/print/ghostscript8/files/Makefile.drivers_post
    trunk/print/ghostscript8/files/Makefile.epag
    trunk/print/ghostscript8/files/Makefile.pcl3
    trunk/print/ghostscript8/files/patch-base-devs.mak
    trunk/print/ghostscript8/files/patch-epag-ert.c
    trunk/print/ghostscript8/files/patch-lib-FAPIconfig
    trunk/print/ghostscript8/files/pkg-message.in
    trunk/print/ghostscript8/pkg-plist

Modified: trunk/print/ghostscript8/Makefile
===================================================================
--- trunk/print/ghostscript8/Makefile	2015-05-30 15:36:47 UTC (rev 19252)
+++ trunk/print/ghostscript8/Makefile	2015-05-30 15:38:27 UTC (rev 19253)
@@ -1,7 +1,9 @@
-# $MidnightBSD$
+# Created by: Andreas Klemm <andreas at klemm.gtn.com>
+# $FreeBSD: head/print/ghostscript8/Makefile 358556 2014-06-20 11:15:57Z amdmi3 $
 
-PORTNAME=	ghostscript8
+PORTNAME=	ghostscript
 PORTVERSION=	8.71
+PORTREVISION=	2
 CATEGORIES=	print
 MASTER_SITES=	http://downloads.ghostscript.com/public/:gs_srcs \
 		SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \
@@ -8,9 +10,9 @@
 		ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/:gs_srcs \
 		http://www.humblesoft.com/pub/:epag
 MASTER_SITE_SUBDIR=	ghostscript/:gs_srcs
-DISTNAME=	${PORTNAME:S,8$,,}-${PORTVERSION}
+PKGNAMESUFFIX=	8
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:gs_srcs ${EPAG_SRCS}:epag
-DIST_SUBDIR=	${PORTNAME:S,8$,,}
+DIST_SUBDIR=	${PORTNAME}
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 EXTRACT_AFTER_ARGS=	${EXCLUDE_DIRS:S/^/--exclude /}
 
@@ -19,41 +21,47 @@
 
 LICENSE=	gpl3
 
-LIB_DEPENDS=	expat:${PORTSDIR}/textproc/expat2 \
-		jasper:${PORTSDIR}/graphics/jasper \
-		jbig2dec:${PORTSDIR}/graphics/jbig2dec \
-		jpeg:${PORTSDIR}/graphics/jpeg \
-		png15:${PORTSDIR}/graphics/png \
-		tiff:${PORTSDIR}/graphics/tiff
-RUN_DEPENDS=	${LOCALBASE}/share/${PORTNAME:S,8,,}/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts
+LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2 \
+		libjasper.so:${PORTSDIR}/graphics/jasper \
+		libjbig2dec.so:${PORTSDIR}/graphics/jbig2dec \
+		libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		libpng.so:${PORTSDIR}/graphics/png \
+		libpaper.so:${PORTSDIR}/print/libpaper \
+		libtiff.so:${PORTSDIR}/graphics/tiff
+RUN_DEPENDS=	${LOCALBASE}/share/${PORTNAME}/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts
 
-CONFLICTS=	gambc-[0-9]* ghostscript[79]-[0-9]* \
-			ghostscript[79]-*-[0-9]*
+CONFLICTS_INSTALL= \
+		gambc-[0-9]* \
+		ghostscript[79]-[0-9]* \
+		ghostscript[79]-nox11-[0-9]* \
+		ghostscript9-agpl-[0-9]* \
+		ghostscript9-agpl-nox11-[0-9]*
 
-USES=		gmake tar:xz
+USES=		gmake pkgconfig tar:xz shebangfix
+SHEBANG_FILES=	${WRKSRC}/lib/fixmswrd.pl
 WANT_GNOME=	yes
 USE_LDCONFIG=	yes
 USE_AUTOTOOLS=	autoconf
 GNU_CONFIGURE=	yes
+
 MAKE_JOBS_UNSAFE=	yes
-
 MAKE_ENV=	CFLAGS_STANDARD="${CFLAGS}" \
 		XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \
-		EXTRALIBS="${EXTRALIBS}" \
 		SOC_LOADER="dxmainc.c"
 CONFIGURE_ENV=	${MAKE_ENV}
-LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--disable-compile-inits \
 		--enable-contrib \
 		--enable-dynamic \
 		--with-ijs \
 		--with-jasper \
+		--with-libpaper \
 		--with-drivers=""
 CPPFLAGS+=	-DUPD_SIGNAL=0 -I. \
 		-I${WRKSRC}/jasper/src/libjasper/include \
-		-I${LOCALBASE}/include/libpng15 \
 		-I${LOCALBASE}/include
-XCFLAGS=	${PTHREAD_CFLAGS}
+LDFLAGS+=	-L${LOCALBASE}/lib
+XCFLAGS=	${PTHREAD_CFLAGS} \
+		-DA4
 XLDFLAGS=	${PTHREAD_LIBS}
 
 PLIST_SUB=	GS_VERSION="${PORTVERSION}" \
@@ -61,63 +69,29 @@
 SUB_FILES=	pkg-message
 SUB_LIST=	DATADIR=${DATADIR} PORTVERSION=${PORTVERSION}
 PKGMESSAGE=	${WRKDIR}/pkg-message
-DATADIR=	${PREFIX}/share/${PORTNAME:S,8$,,}
 
-OPTIONS=	A4SIZE	"Set A4 (not Letter) as a default paper size"	off \
-		CUPS	"Enable CUPS support"	on \
-		FONTCONFIG	"fontconfig support"	on \
-		FT_BRIDGE	"FreeType bridge"	off \
-		GTK	"GTK frontend"	off \
-		X11	"X11 support"	on
+OPTIONS_DEFINE=	X11 DOCS CAIRO CUPS FONTCONFIG GTK2 ICONV
+OPTIONS_DEFAULT=X11 DOCS CAIRO CUPS FONTCONFIG      ICONV
+OPTIONS_SUB=	yes
+FONTCONFIG_DESC=Enable fontconfig support
+NO_OPTIONS_SORT=yes
 
-MAN1=		dvipdf.1 font2c.1 gs.1 gslp.1 gsnd.1 \
-		pdf2dsc.1 pdf2ps.1 pdfopt.1 pf2afm.1 pfbtopfa.1 printafm.1 \
-		ps2ascii.1 ps2epsi.1 ps2pdf.1 ps2pdfwr.1 ps2ps.1 wftopfa.1
-MLINKS=		gslp.1 gsbj.1 \
-		gslp.1 gsdj.1 \
-		gslp.1 gsdj500.1 \
-		gslp.1 gslj.1 \
-		ps2pdf.1 ps2pdf12.1 \
-		ps2pdf.1 ps2pdf13.1 \
-		ps2ps.1 eps2eps.1
-
 CIDFONTDIR=	${DATADIR}/${PORTVERSION}/Resource
 EXCLUDE_DIRS=	jbig2dec jpeg expat jasper libpng tiff zlib
 
 .include "Makefile.drivers"
-.include <bsd.port.pre.mk>
-.include "${FILESDIR}/Makefile.drivers_post"
+.include <bsd.mport.options.mk>
 
-.for D in ${OPTIONS:MGS_*:S/^GS_//}
-.if !defined(WITHOUT_GS_${D})
-PLIST_SUB+=	GS_${D}=""
-.else
-PLIST_SUB+=	GS_${D}="@comment "
-.endif
-.endfor
+MASTERDIR?=	${.CURDIR}
+.include "${MASTERDIR}/files/Makefile.drivers_post"
 
-.if !defined(WITH_LETTERSIZE)
-.if defined(A4) || defined(WITH_A4SIZE)
-XCFLAGS+=	-DA4
-MSG_PAPERSIZE=	"NOTE: Default paper size will be A4."
-.endif
-.endif
+FONTCONFIG_LIB_DEPENDS=	libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
+FONTCONFIG_CONFIGURE_ENABLE=	fontconfig
 
-.if !defined(WITHOUT_FONTCONFIG)
-LIB_DEPENDS+=	fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
-CONFIGURE_ARGS+=	--enable-fontconfig
-.else
-CONFIGURE_ARGS+=	--disable-fontconfig
-.endif
-
-.if !defined(WITHOUT_FT_BRIDGE)
-LIB_DEPENDS+=	freetype.9:${PORTSDIR}/print/freetype2
+# FT_BRIDGE=1 by default
+LIB_DEPENDS+=	libfreetype.so:${PORTSDIR}/print/freetype2
 MAKE_ENV+=	FT_BRIDGE=1 FT_ROOT="${WRKSRC}/freetype" FT_LIB_EXT=".so"
 CPPFLAGS+=	-I${LOCALBASE}/include/freetype2
-PLIST_SUB+=	FAPI=""
-.else
-PLIST_SUB+=	FAPI="@comment "
-.endif
 
 ALL_TARGET=	so
 INSTALL_TARGET=	soinstall
@@ -139,13 +113,10 @@
 	lxm3200-tweaked/RELEASE_NOTES					\
 	lxm3200-tweaked/Z12-Z31-QuickSetup md2k_md5k/README.jis
 
-pre-everything::
-	@${ECHO_MSG} ${MSG_PAPERSIZE}
-
 post-patch:
 	${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g ; \
-		 s|%%GS_VERSION%%|${PORTVERSION}|g' \
-			${WRKSRC}/contrib/japanese/dmp_site.ps
+	    s|%%GS_VERSION%%|${PORTVERSION}|g' \
+	    ${WRKSRC}/contrib/japanese/dmp_site.ps
 
 pre-build-drivers.mak:
 	@${ECHO_CMD} '# automatically generated' > ${WRKSRC}/base/drivers.mak
@@ -152,13 +123,18 @@
 .for N in ${DEVS_LIST}
 	@${ECHO_CMD} 'DEVICE_${N}=' >> ${WRKSRC}/base/drivers.mak
 .endfor
-.for D in ${OPTIONS:MGS_*:S/^GS_//}
+.for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \
+	${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \
+	${OPTIONS_GROUP_ICONV:MGS_*:S/^GS_//} \
+	${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//}
 .for N in ${DEVS_LIST}
-.if defined(WITH_GS_${D})
+.if ${PORT_OPTIONS:MGS_${D}}
+.if !defined(OPTIONS_UNSET) || !${OPTIONS_UNSET:MGS_${D}}
 .for X in ${DEVICE_${N}:M${D}.dev}
 	@${ECHO_CMD} 'DEVICE_${N}+= $$(DD)${D}.dev'  >> ${WRKSRC}/base/drivers.mak
 .endfor
 .endif
+.endif
 .endfor
 .endfor
 
@@ -165,7 +141,6 @@
 pre-build: pre-build-drivers.mak
 	${MKDIR} ${WRKSRC}/obj
 	${MKDIR} ${WRKSRC}/bin
-.if defined(WITH_FT_BRIDGE)
 	${MKDIR} ${WRKSRC}/freetype/include
 	${LN} -s -f ${LOCALBASE}/include/ft2build.h \
 		${WRKSRC}/freetype/include/ft2build.h
@@ -174,36 +149,30 @@
 	${MKDIR} ${WRKSRC}/freetype/objs
 	${LN} -s -f ${LOCALBASE}/lib/libfreetype.so \
 		${WRKSRC}/freetype/objs/freetype214MT_D.so
-.endif
 
-pre-install:
-	${MKDIR} ${DATADIR}
+pre-su-install:
+	${MKDIR} ${STAGEDIR}${DATADIR}
 
 post-install-docs:
 	${MKDIR} ${WRKSRC}/contrib/japanese
 	${INSTALL_DATA} ${WRKSRC}/contrib/japanese/doc/* ${WRKSRC}/contrib/japanese
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC}/contrib && \
 		${TAR} -cf - ${PORTDOC_FILES} | \
-		( cd ${DOCSDIR} && ${TAR} -xof - )
+		( cd ${STAGEDIR}${DOCSDIR} && ${TAR} -xof - )
 
-.if defined(WITH_FT_BRIDGE)
-post-install-fapi:
+post-install:
 	${INSTALL_DATA} ${WRKSRC}/lib/FAPIcidfmap			\
 		${WRKSRC}/lib/FAPIconfig ${WRKSRC}/lib/FAPIfontmap	\
-		${DATADIR}/${PORTVERSION}/Resource/Init
+		${STAGEDIR}${DATADIR}/${PORTVERSION}/Resource/Init
+	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DATADIR}/${PORTVERSION}
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gsc ${STAGEDIR}${PREFIX}/bin/gsx
+	${LN} -sf gsc ${STAGEDIR}${PREFIX}/bin/gs
+	${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont \
+	    ${STAGEDIR}${CIDFONTDIR}/CIDFont
 
-post-install: post-install-fapi
-.endif
-
-post-install:
-	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}/${PORTVERSION}
-	${STRIP_CMD} ${PREFIX}/bin/gsc ${PREFIX}/bin/gsx
-	${LN} -sf gsc ${PREFIX}/bin/gs
-	${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont ${CIDFONTDIR}/CIDFont
-
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 post-install: post-install-docs
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: trunk/print/ghostscript8/Makefile.drivers
===================================================================
--- trunk/print/ghostscript8/Makefile.drivers	2015-05-30 15:36:47 UTC (rev 19252)
+++ trunk/print/ghostscript8/Makefile.drivers	2015-05-30 15:38:27 UTC (rev 19253)
@@ -1,329 +1,918 @@
-# $MidnightBSD$
+# $FreeBSD: head/print/ghostscript8/Makefile.drivers 340722 2014-01-22 17:00:46Z mat $
 
-OPTIONS_X11_DEFAULT=	off
-OPTIONS_ICONV_DEFAULT=	off
-OPTIONS_CAIRO_DEFAULT=	off
-OPTIONS_CUPS_DEFAULT=	off
-OPTIONS_SVGALIB_DEFAULT=	off
-OPTIONS_GS_DEFAULT_ON=	on
-OPTIONS_GS_DEFAULT_OFF=	off
-
 OPTIONS_X11= \
-GS_x11		"D: X Window System version 11, release >=4"	${OPTIONS_X11_DEFAULT} \
-GS_x11alpha	"D: X Window System masquer. alpha capability"	${OPTIONS_X11_DEFAULT} \
-GS_x11cmyk	"D: X Window System masquer. 1bit/plane CMYK"	${OPTIONS_X11_DEFAULT} \
-GS_x11cmyk2	"D: X Window System 2-bit-per-plane CMYK"	${OPTIONS_X11_DEFAULT} \
-GS_x11cmyk4	"D: X Window System 4-bit-per-plane CMYK"	${OPTIONS_X11_DEFAULT} \
-GS_x11cmyk8	"D: X Window System 8-bit-per-plane CMYK"	${OPTIONS_X11_DEFAULT} \
-GS_x11gray2	"D: X Window System 2-bit gray-scale"	${OPTIONS_X11_DEFAULT} \
-GS_x11gray4	"D: X Window System 4-bit gray-scale"	${OPTIONS_X11_DEFAULT} \
-GS_x11mono	"D: X Window System masquer. black-and-white"	${OPTIONS_X11_DEFAULT} \
-GS_x11rg16x	"D: X Window System G5/B5/R6 pixel layout"	${OPTIONS_X11_DEFAULT} \
-GS_x11rg32x	"D: X Window System G11/B10/R11 pixel layout"	${OPTIONS_X11_DEFAULT}
+	GS_x11 \
+	GS_x11alpha \
+	GS_x11cmyk \
+	GS_x11cmyk2 \
+	GS_x11cmyk4 \
+	GS_x11cmyk8 \
+	GS_x11gray2 \
+	GS_x11gray4 \
+	GS_x11mono \
+	GS_x11rg16x \
+	GS_x11rg32x
+OPTIONS_MULTI=	X11
+OPTIONS_MULTI_X11=	${OPTIONS_X11}
 
 OPTIONS_SVGALIB= \
-GS_lvga256	"D: SVGAlib, 256-color VGA modes"	${OPTIONS_SVGALIB_DEFAULT} \
-GS_vgalib	"D: SVGAlib, 16-color VGA modes"	${OPTIONS_SVGALIB_DEFAULT}
+	GS_lvga256 \
+	GS_vgalib
+OPTIONS_GROUP=	SVGALIB
+OPTIONS_GROUP_SVGALIB=	${OPTIONS_SVGALIB}
 
 OPTIONS_ICONV= \
-GS_oprp		"D: OpenPrinting Raster driver interface"	${OPTIONS_ICONV_DEFAULT} \
-GS_opvp		"D: OpenPrinting Vecter driver interface"	${OPTIONS_ICONV_DEFAULT}
+	GS_oprp \
+	GS_opvp
+OPTIONS_GROUP+=	ICONV
+OPTIONS_GROUP_ICONV=	${OPTIONS_ICONV}
 
 OPTIONS_CAIRO= \
-GS_cairo	"D: cairo driver for PDF, SVG, EPS or PNG files"	${OPTIONS_CAIRO_DEFAULT}
+	GS_cairo
 
 OPTIONS_CUPS= \
-GS_cups		"D: CUPS driver"	${OPTIONS_CUPS_DEFAULT}
+	GS_cups
 
-OPTIONS+=	${OPTIONS_X11}
-OPTIONS+=	${OPTIONS_SVGALIB}
-OPTIONS+=	${OPTIONS_CAIRO}
-OPTIONS+=	${OPTIONS_ICONV}
-OPTIONS+=	${OPTIONS_CUPS}
+OPTIONS_DEFINE+= \
+	${OPTIONS_CAIRO} \
+	${OPTIONS_CUPS} \
+	GS_display \
+	GS_omni \
+	GS_md2k \
+	GS_md5k \
+	GS_md50Mono \
+	GS_md50Eco \
+	GS_md1xMono \
+	GS_appledmp \
+	GS_iwhi \
+	GS_iwlo \
+	GS_iwlq \
+	GS_hl7x0 \
+	GS_hl1240 \
+	GS_hl1250 \
+	GS_bj10e \
+	GS_bj10v \
+	GS_bj10vh \
+	GS_bj200 \
+	GS_bjc600 \
+	GS_bjc800 \
+	GS_bjccmyk \
+	GS_bjccolor \
+	GS_bjcgray \
+	GS_bjcmono \
+	GS_lbp8 \
+	GS_lbp310 \
+	GS_lbp320 \
+	GS_lips2p \
+	GS_lips3 \
+	GS_lips4 \
+	GS_bjc880j \
+	GS_lips4v \
+	GS_m8510 \
+	GS_coslw2p \
+	GS_coslwxl \
+	GS_uniprint \
+	GS_dmprt \
+	GS_dl2100 \
+	GS_la50 \
+	GS_la70 \
+	GS_la75 \
+	GS_la75plus \
+	GS_ln03 \
+	GS_lj250 \
+	GS_declj250 \
+	GS_ap3250 \
+	GS_epson \
+	GS_eps9mid \
+	GS_eps9high \
+	GS_lp8000 \
+	GS_epag \
+	GS_escpage \
+	GS_lp2000 \
+	GS_alc8600 \
+	GS_alc8500 \
+	GS_alc2000 \
+	GS_alc4000 \
+	GS_alc1900 \
+	GS_alc4100 \
+	GS_lp9800c \
+	GS_lp9000c \
+	GS_lp9500c \
+	GS_lp8800c \
+	GS_lp8300c \
+	GS_lp8500c \
+	GS_lp3000c \
+	GS_lp8200c \
+	GS_lp8000c \
+	GS_eplmono \
+	GS_eplcolor \
+	GS_epl6100 \
+	GS_epl5900 \
+	GS_epl5800 \
+	GS_epl2050 \
+	GS_epl2050p \
+	GS_epl2120 \
+	GS_epl2500 \
+	GS_epl2750 \
+	GS_lp9000b \
+	GS_lp2500 \
+	GS_lp9100 \
+	GS_lp7900 \
+	GS_lp7500 \
+	GS_lp2400 \
+	GS_lp2200 \
+	GS_lp9400 \
+	GS_lp8900 \
+	GS_lp8700 \
+	GS_lp8100 \
+	GS_lp7700 \
+	GS_lp8600f \
+	GS_lp8400f \
+	GS_lp8300f \
+	GS_lp1900 \
+	GS_lp9600s \
+	GS_lp9300 \
+	GS_lp9600 \
+	GS_lp8600 \
+	GS_lp1800 \
+	GS_lq850 \
+	GS_epsonc \
+	GS_mj700v2c \
+	GS_mj500c \
+	GS_mj6000c \
+	GS_mj8000c \
+	GS_st800 \
+	GS_stcolor \
+	GS_photoex \
+	GS_fmlbp \
+	GS_fmpr \
+	GS_lp2563 \
+	GS_cdnj500 \
+	GS_dnj650c \
+	GS_deskjet \
+	GS_djet500 \
+	GS_cdeskjet \
+	GS_djet500c \
+	GS_cdjcolor \
+	GS_cdjmono \
+	GS_cdj500 \
+	GS_cdj550 \
+	GS_dj505j \
+	GS_cdj670 \
+	GS_cdj850 \
+	GS_cdj880 \
+	GS_cdj890 \
+	GS_cdj1600 \
+	GS_chp2200 \
+	GS_cdj970 \
+	GS_laserjet \
+	GS_ljetplus \
+	GS_ljet2p \
+	GS_ljet3 \
+	GS_ljet3d \
+	GS_ljet4 \
+	GS_ljet4d \
+	GS_lj4dith \
+	GS_ljet4pjl \
+	GS_lj4dithp \
+	GS_cljet5 \
+	GS_cljet5c \
+	GS_cljet5pr \
+	GS_lj5mono \
+	GS_lj5gray \
+	GS_pj \
+	GS_pjetxl \
+	GS_pjxl \
+	GS_paintjet \
+	GS_pjxl300 \
+	GS_pxlmono \
+	GS_pxlcolor \
+	GS_pcl3 \
+	GS_ijs \
+	GS_ibmpro \
+	GS_jetp3852 \
+	GS_imagen \
+	GS_fs600 \
+	GS_lxm5700m \
+	GS_lxm3200 \
+	GS_lx5000 \
+	GS_lex2050 \
+	GS_lex3200 \
+	GS_lex5700 \
+	GS_lex7000 \
+	GS_cp50 \
+	GS_pr1000 \
+	GS_pr1000_4 \
+	GS_pr150 \
+	GS_pr201 \
+	GS_picty180 \
+	GS_necp6 \
+	GS_npdl \
+	GS_oce9050 \
+	GS_oki182 \
+	GS_okiibm \
+	GS_ml600 \
+	GS_oki4w \
+	GS_atx23 \
+	GS_atx24 \
+	GS_atx38 \
+	GS_r4081 \
+	GS_rpdl \
+	GS_gdi \
+	GS_jj100 \
+	GS_sj48 \
+	GS_t4693d2 \
+	GS_t4693d4 \
+	GS_t4693d8 \
+	GS_tek4696 \
+	GS_xes \
+	GS_bmpmono \
+	GS_bmpgray \
+	GS_bmp16 \
+	GS_bmp256 \
+	GS_bmp16m \
+	GS_bmp32b \
+	GS_bmpsep1 \
+	GS_bmpsep8 \
+	GS_ccr \
+	GS_cgmmono \
+	GS_cgm8 \
+	GS_cgm24 \
+	GS_cif \
+	GS_dfaxhigh \
+	GS_dfaxlow \
+	GS_xcf \
+	GS_xcfcmyk \
+	GS_faxg3 \
+	GS_faxg32d \
+	GS_faxg4 \
+	GS_miff24 \
+	GS_inferno \
+	GS_jpeg \
+	GS_jpeggray \
+	GS_mag16 \
+	GS_mag256 \
+	GS_mgrmono \
+	GS_mgrgray2 \
+	GS_mgrgray4 \
+	GS_mgrgray8 \
+	GS_mgr4 \
+	GS_mgr8 \
+	GS_pcxmono \
+	GS_pcxgray \
+	GS_pcx16 \
+	GS_pcx256 \
+	GS_pcx24b \
+	GS_pcxcmyk \
+	GS_pdfwrite \
+	GS_psdrgb \
+	GS_psdcmyk \
+	GS_bit \
+	GS_bitrgb \
+	GS_bitcmyk \
+	GS_plan9bm \
+	GS_pam \
+	GS_pbm \
+	GS_pbmraw \
+	GS_pgm \
+	GS_pgmraw \
+	GS_pgnm \
+	GS_pgnmraw \
+	GS_pnm \
+	GS_pnmraw \
+	GS_ppm \
+	GS_ppmraw \
+	GS_pkm \
+	GS_pkmraw \
+	GS_pksm \
+	GS_pksmraw \
+	GS_pngmono \
+	GS_pnggray \
+	GS_png16 \
+	GS_png256 \
+	GS_png16m \
+	GS_pngalpha \
+	GS_png48 \
+	GS_psmono \
+	GS_psgray \
+	GS_psrgb \
+	GS_pswrite \
+	GS_ps2write \
+	GS_epswrite \
+	GS_cfax \
+	GS_sgirgb \
+	GS_sunhmono \
+	GS_svgwrite \
+	GS_tiffcrle \
+	GS_tiffg3 \
+	GS_tiffg32d \
+	GS_tiffg4 \
+	GS_tiffgray \
+	GS_tiff12nc \
+	GS_tiff24nc \
+	GS_tiff32nc \
+	GS_tiffsep \
+	GS_tifflzw \
+	GS_tiffpack \
+	GS_bbox \
+	GS_devicen \
+	GS_perm \
+	GS_spotcmyk \
+	GS_imdi \
+	GS_wtsimdi \
+	GS_wtscmyk
 
-OPTIONS+=	\
-GS_display	"D: display device for GS shared library"	${OPTIONS_GS_DEFAULT_ON} \
-GS_omni		"D: Omni driver"	${OPTIONS_GS_DEFAULT_ON} \
-GS_md2k		"D: ALPS MD-2000/2010/4000/1300/1500/5000"	${OPTIONS_GS_DEFAULT_ON} \
-GS_md5k		"D: ALPS MD-5000 Eco Mode"	${OPTIONS_GS_DEFAULT_ON} \
-GS_md50Mono	"D: ALPS MD-5000 Monochrome"	${OPTIONS_GS_DEFAULT_ON} \
-GS_md50Eco	"D: ALPS MD-5000 Eco Mode"	${OPTIONS_GS_DEFAULT_ON} \
-GS_md1xMono	"D: ALPS MD-1x00 Monochrome"	${OPTIONS_GS_DEFAULT_ON} \
-GS_appledmp	"D: Apple Dot Matrix Printer/Imagewriter"	${OPTIONS_GS_DEFAULT_ON} \
-GS_iwhi		"D: Apple Imagewriter, high-resolution mode"	${OPTIONS_GS_DEFAULT_ON} \
-GS_iwlo		"D: Apple Imagewriter, low-resolution mode"	${OPTIONS_GS_DEFAULT_ON} \
-GS_iwlq		"D: Apple Imagewriter LQ in 320x216dpi mode"	${OPTIONS_GS_DEFAULT_ON} \
-GS_hl7x0	"D: Brother HL-720/730/760(=PCL), MFC6550MC"	${OPTIONS_GS_DEFAULT_ON} \
-GS_hl1240	"D: Brother HL-1030/1240"	${OPTIONS_GS_DEFAULT_ON} \
-GS_hl1250	"D: Brother HL-1050/1070/1250/1270N"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bj10e	"D: Canon BJ-10e"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bj10v	"D: Canon BJ-10v"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bj10vh	"D: Canon BJ-10v, high-mergin"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bj200	"D: Canon BJ-200/BJC-240(mono)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bjc600	"D: Canon BJC-600/4xxx/70, StyleWriter 2x00"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bjc800	"D: Canon BJC-240/800"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bjccmyk	"D: Canon BJC-210/240/250/265/1000"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bjccolor	"D: Canon BJC-210/240/250/265/1000 truecolor"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bjcgray	"D: Canon BJC-210/240/250/265/1000 grayscale"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bjcmono	"D: Canon BJC-210/240/250/265/1000 monochrome"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lbp8		"D: Canon LBP-8II"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lbp310	"D: Canon LBP-310"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lbp320	"D: Canon LBP-320 Pro/LBP-350"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lips2p	"D: Canon LIPS II+"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lips3	"D: Canon LIPS III"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lips4	"D: Canon LIPS IV"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bjc880j	"D: Canon LIPS IVc, BJC-680J/880J"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lips4v	"D: Canon LIPS IV, vector output mode"	${OPTIONS_GS_DEFAULT_ON} \
-GS_m8510	"D: C.Itoh M8510 printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_coslw2p	"D: CoStar LabelWriter II II/Plus"	${OPTIONS_GS_DEFAULT_ON} \
-GS_coslwxl	"D: CoStar LabelWriter XL"	${OPTIONS_GS_DEFAULT_ON} \
-GS_uniprint	"D: Configurable ESC/P,ESC/P2,HP-RTL/PCL,P2X"	${OPTIONS_GS_DEFAULT_ON} \
-GS_dmprt	"D: Configurable dot matrix printer driver"	${OPTIONS_GS_DEFAULT_ON} \
-GS_dl2100	"D: DEC DL2100"	${OPTIONS_GS_DEFAULT_ON} \
-GS_la50		"D: DEC LA50"	${OPTIONS_GS_DEFAULT_ON} \
-GS_la70		"D: DEC LA70"	${OPTIONS_GS_DEFAULT_ON} \
-GS_la75		"D: DEC LA75"	${OPTIONS_GS_DEFAULT_ON} \
-GS_la75plus	"D: DEC LA75+"	${OPTIONS_GS_DEFAULT_ON} \
-GS_ln03		"D: DEC LN03"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lj250	"D: DEC LJ250 Companion color printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_declj250	"D: DEC LJ250 driver (alternate)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_ap3250	"D: Epson ActionPrinter 3250"	${OPTIONS_GS_DEFAULT_ON} \
-GS_epson	"D: Epson dot matrix, 9/24-pin"	${OPTIONS_GS_DEFAULT_ON} \
-GS_eps9mid	"D: Epson 9-pin, interleaved lines, medium res"	${OPTIONS_GS_DEFAULT_ON} \
-GS_eps9high	"D: Epson 9-pin, interleaved lines, triple res"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp8000	"D: Epson LP-8000 line printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_epag		"D: Epson ESC/Page laser printer (generic)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_escpage	"D: Epson ESC/Page laser printer (generic)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp2000	"D: Epson LP-2000/3000/7000/7000G laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_alc8600	"D: Epson AL-C8600 color laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_alc8500	"D: Epson AL-C8500 color laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_alc2000	"D: Epson AL-C2000 color laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_alc4000	"D: Epson AL-C4000 color laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_alc1900	"D: Epson AL-C1900 color laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_alc4100	"D: Epson AL-C4100 color laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp9800c	"D: Epson LP-9800C color laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp9000c	"D: Epson LP-9000C color laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp9500c	"D: Epson LP-9500C color laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp8800c	"D: Epson LP-8800C color laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp8300c	"D: Epson LP-8300C color laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp8500c	"D: Epson LP-8500C color laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp3000c	"D: Epson LP-3000C color laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp8200c	"D: Epson LP-8200C color laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp8000c	"D: Epson LP-8000C color laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_eplmono	"D: Epson Esc/Page Generic driver, mono"	${OPTIONS_GS_DEFAULT_ON} \
-GS_eplcolor	"D: Epson Esc/Page Generic driver, color"	${OPTIONS_GS_DEFAULT_ON} \
-GS_epl6100	"D: Epson EPL-6100 laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_epl5900	"D: Epson EPL-5900 laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_epl5800	"D: Epson EPL-5800 laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_epl2050	"D: Epson EPL-N2050 laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_epl2050p	"D: Epson EPL-N2050+ laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_epl2120	"D: Epson EPL-N2120 laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_epl2500	"D: Epson EPL-N2500 laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_epl2750	"D: Epson EPL-N2750 laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp9000b	"D: Epson LP-9000B laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp2500	"D: Epson LP-2500 laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp9100	"D: Epson LP-9100(R) laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp7900	"D: Epson LP-7900(R) laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp7500	"D: Epson LP-7500(R) laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp2400	"D: Epson LP-2400 laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp2200	"D: Epson LP-2200 laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp9400	"D: Epson LP-9400(R) laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp8900	"D: Epson LP-8900(R) laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp8700	"D: Epson LP-8700(R) laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp8100	"D: Epson LP-8100(R) laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp7700	"D: Epson LP-7700(R) laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp8600f	"D: Epson LP-8600FX(N) laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp8400f	"D: Epson LP-8400FX(N) laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp8300f	"D: Epson LP-8300F laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp1900	"D: Epson LP-1900(N) laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp9600s	"D: Epson LP-9600S laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp9300	"D: Epson LP-9300 laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp9600	"D: Epson LP-9600 laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp8600	"D: Epson LP-8600FX(N) laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp1800	"D: Epson LP-1800 laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lq850	"D: Epson LQ-850 (360x360, emul on Canon BJ300)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_epsonc	"D: Epson LQ-2550, Fujitsu 3400/2400/1200 color"	${OPTIONS_GS_DEFAULT_ON} \
-GS_mj700v2c	"D: Epson MachJet series, CMYK"	${OPTIONS_GS_DEFAULT_ON} \
-GS_mj500c	"D: Epson MachJet MJ-500C 360dpi, CMY/mono"	${OPTIONS_GS_DEFAULT_ON} \
-GS_mj6000c	"D: Epson MachJet MJ-830C/930C/6000C"	${OPTIONS_GS_DEFAULT_ON} \
-GS_mj8000c	"D: Epson MachJet MJ-8000C"	${OPTIONS_GS_DEFAULT_ON} \
-GS_st800	"D: Epson Stylus 800 printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_stcolor	"D: Epson Stylus Color and II/IIs/1500"	${OPTIONS_GS_DEFAULT_ON} \
-GS_photoex	"D: Epson Stylus Color Photo/Photo EX/Photo 700"	${OPTIONS_GS_DEFAULT_ON} \
-GS_fmlbp	"D: Fujitsu contrib2xx Page Printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_fmpr		"D: Fujitsu contrib"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lp2563	"D: HP 2563B line printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cdnj500	"D: HP DesignJet 500"	${OPTIONS_GS_DEFAULT_ON} \
-GS_dnj650c	"D: HP DesignJet 650C"	${OPTIONS_GS_DEFAULT_ON} \
-GS_deskjet	"D: HP DeskJet and DeskJet Plus"	${OPTIONS_GS_DEFAULT_ON} \
-GS_djet500	"D: HP DeskJet 500 (for DeskJet 600 use -r600)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cdeskjet	"D: HP DeskJet 500C (1b/px)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_djet500c	"D: HP DeskJet 500C (alternative)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cdjcolor	"D: HP DeskJet 500C/540C (24b/px)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cdjmono	"D: HP DeskJet 500/510/520/540C (mono)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cdj500	"D: HP DeskJet 500/540C (same as cdjcolor)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cdj550	"D: HP DeskJet 550C/560C/660C/660Cse"	${OPTIONS_GS_DEFAULT_ON} \
-GS_dj505j	"D: HP DeskJet 505J"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cdj670	"D: HP DeskJet 670/690"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cdj850	"D: HP DeskJet 850/855/870/1100"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cdj880	"D: HP DeskJet 880"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cdj890	"D: HP DeskJet 890"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cdj1600	"D: HP DeskJet 1600"	${OPTIONS_GS_DEFAULT_ON} \
-GS_chp2200	"D: HP Business Inkjet 2200"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cdj970	"D: HP DeskJet 970CXi"	${OPTIONS_GS_DEFAULT_ON} \
-GS_laserjet	"D: HP LaserJet"	${OPTIONS_GS_DEFAULT_ON} \
-GS_ljetplus	"D: HP LaserJet Plus"	${OPTIONS_GS_DEFAULT_ON} \
-GS_ljet2p	"D: HP LaserJet IId/IIp/III* (TIFF compression)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_ljet3	"D: HP LaserJet III* (Delta Row compression)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_ljet3d	"D: HP LaserJet IIID (duplex capability)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_ljet4	"D: HP LaserJet 4/5L/5P (not real LJ5), 600dpi"	${OPTIONS_GS_DEFAULT_ON} \
-GS_ljet4d	"D: HP LaserJet 4 (duplex + 600dpi)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lj4dith	"D: HP LaserJet 4 (Floyd-Steinberg dithering)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_ljet4pjl	"D: HP LaserJet 4V/4LJ Pro"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lj4dithp	"D: HP LaserJet 4V/4LJ Pro (dithering)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cljet5	"D: HP LaserJet 5/5M Color (new)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cljet5c	"D: HP LaserJet 5/5M Color Simple"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cljet5pr	"D: HP LaserJet 5/5M Color (old)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lj5mono	"D: HP LaserJet 5/6 (PCL5/PCL XL), bitmap"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lj5gray	"D: HP LaserJet 5/6 gray-scale bitmap"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pj		"D: HP PaintJet XL driver"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pjetxl	"D: HP PaintJet XL driver (alternate)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pjxl		"D: HP PaintJet XL color printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_paintjet	"D: HP PaintJet color printer (alternate)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pjxl300	"D: HP PaintJet XL300, DeskJet 1200C, CopyJet"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pxlmono	"D: HP PCL XL mono (LaserJet 5/6 family)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pxlcolor	"D: HP PCL XL color (Color LaserJet 4500/5000)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pcl3		"D: HP PCL 3+ (generic)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_ijs		"D: HP Inkjet and other raster devices"	${OPTIONS_GS_DEFAULT_ON} \
-GS_ibmpro	"D: IBM 9-pin Proprinter"	${OPTIONS_GS_DEFAULT_ON} \
-GS_jetp3852	"D: IBM Jetprinter ink-jet color (Model \#3852)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_imagen	"D: Imagen ImPress printers"	${OPTIONS_GS_DEFAULT_ON} \
-GS_fs600	"D: Kyocera FS-600 (600 dpi)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lxm5700m	"D: Lexmark 5700 monotone"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lxm3200	"D: Lexmark 3200/Z12/Z22/Z31/Z32"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lx5000	"D: Lexmark 5000/Z51/Z82"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lex2050	"D: Lexmark 2050"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lex3200	"D: Lexmark 3200"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lex5700	"D: Lexmark 5700"	${OPTIONS_GS_DEFAULT_ON} \
-GS_lex7000	"D: Lexmark 7000"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cp50		"D: Mitsubishi CP50 color"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pr1000	"D: NEC PC-PR 1000"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pr1000_4	"D: NEC PC-PR 1000/4"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pr150	"D: NEC PC-PR 150"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pr201	"D: NEC PC-PR 201"	${OPTIONS_GS_DEFAULT_ON} \
-GS_picty180	"D: NEC PICTY 180 (PC-PR101J/180)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_necp6	"D: NEC PinWriter P6/P6+/P60 (360x360)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_npdl		"D: NEC Printer Description Language"	${OPTIONS_GS_DEFAULT_ON} \
-GS_oce9050	"D: OCE 9050 printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_oki182	"D: Okidata MicroLine 182"	${OPTIONS_GS_DEFAULT_ON} \
-GS_okiibm	"D: Okidata MicroLine IBM-compatible printers"	${OPTIONS_GS_DEFAULT_ON} \
-GS_ml600	"D: Okidata Microline 600CL/620CL"	${OPTIONS_GS_DEFAULT_ON} \
-GS_oki4w	"D: Okidata OkiPage 4w+"	${OPTIONS_GS_DEFAULT_ON} \
-GS_atx23	"D: Practical Automation ATX-23"	${OPTIONS_GS_DEFAULT_ON} \
-GS_atx24	"D: Practical Automation ATX-24"	${OPTIONS_GS_DEFAULT_ON} \
-GS_atx38	"D: Practical Automation ATX-38"	${OPTIONS_GS_DEFAULT_ON} \
-GS_r4081	"D: Ricoh 4081 laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_rpdl		"D: Ricoh Printer Description Language"	${OPTIONS_GS_DEFAULT_ON} \
-GS_gdi		"D: Samsung SmartGDI laser printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_jj100	"D: Star JJ-100"	${OPTIONS_GS_DEFAULT_ON} \
-GS_sj48		"D: StarJet 48 inkjet printer"	${OPTIONS_GS_DEFAULT_ON} \
-GS_t4693d2	"D: Tektronix 4693d color, 2b/RGB"	${OPTIONS_GS_DEFAULT_ON} \
-GS_t4693d4	"D: Tektronix 4693d color, 4b/RGB"	${OPTIONS_GS_DEFAULT_ON} \
-GS_t4693d8	"D: Tektronix 4693d color, 8b/RGB"	${OPTIONS_GS_DEFAULT_ON} \
-GS_tek4696	"D: Tektronix 4695/4696 inkjet plotter"	${OPTIONS_GS_DEFAULT_ON} \
-GS_xes		"D: Xerox XES (2700, 3700, 4045, etc.)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bmpmono	"D: BMP Monochrome"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bmpgray	"D: BMP 8-bit gray"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bmp16	"D: BMP 4-bit EGA/VGA"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bmp256	"D: BMP 8-bit 256-color"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bmp16m	"D: BMP 24-bit"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bmp32b	"D: BMP 32-bit pseudo-.BMP"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bmpsep1	"D: BMP Separated 1-bit CMYK"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bmpsep8	"D: BMP Separated 8-bit CMYK"	${OPTIONS_GS_DEFAULT_ON} \
-GS_ccr		"D: CalComp Raster format"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cgmmono	"D: CGM Monochrome -- LOW LEVEL OUTPUT ONLY"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cgm8		"D: CGM 8-bit 256-color -- DITTO"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cgm24	"D: CGM 24-bit color -- DITTO"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cif		"D: CIF file format for VLSI"	${OPTIONS_GS_DEFAULT_ON} \
-GS_dfaxhigh	"D: DigiBoard, DigiFAX (high res)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_dfaxlow	"D: DigiFAX (normal res)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_xcf		"D: Gimp XCF, RGB"	${OPTIONS_GS_DEFAULT_ON} \
-GS_xcfcmyk	"D: Gimp XCF, CMYK"	${OPTIONS_GS_DEFAULT_ON} \
-GS_faxg3	"D: Group 3 FAX (EOL + no header/EOD)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_faxg32d	"D: Group 3 2-D FAX (EOL + no header/EOD)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_faxg4	"D: Group 4 FAX (EOL + no header/EOD)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_miff24	"D: ImageMagick MIFF, 24-bit direct color, RLE"	${OPTIONS_GS_DEFAULT_ON} \
-GS_inferno	"D: Inferno bitmaps"	${OPTIONS_GS_DEFAULT_ON} \
-GS_jpeg		"D: JPEG format, RGB output"	${OPTIONS_GS_DEFAULT_ON} \
-GS_jpeggray	"D: JPEG format, gray output"	${OPTIONS_GS_DEFAULT_ON} \
-GS_mag16	"D: MAG format, 16-color"	${OPTIONS_GS_DEFAULT_ON} \
-GS_mag256	"D: MAG format, 256-color"	${OPTIONS_GS_DEFAULT_ON} \
-GS_mgrmono	"D: MGR devices 1-bit monochrome"	${OPTIONS_GS_DEFAULT_ON} \
-GS_mgrgray2	"D: MGR devices 2-bit gray scale"	${OPTIONS_GS_DEFAULT_ON} \
-GS_mgrgray4	"D: MGR devices 4-bit gray scale"	${OPTIONS_GS_DEFAULT_ON} \
-GS_mgrgray8	"D: MGR devices 8-bit gray scale"	${OPTIONS_GS_DEFAULT_ON} \
-GS_mgr4		"D: MGR devices 4-bit (VGA) color"	${OPTIONS_GS_DEFAULT_ON} \
-GS_mgr8		"D: MGR devices 8-bit color"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pcxmono	"D: PCX, 1-bit monochrome"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pcxgray	"D: PCX, 8-bit gray scale"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pcx16	"D: PCX, 4-bit planar EGA/VGA color"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pcx256	"D: PCX, 8-bit chunky color"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pcx24b	"D: PCX, 24-bit color 3x8-bit planes"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pcxcmyk	"D: PCX, 4-bit chunky CMYK color"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pdfwrite	"D: Portable Document Format"	${OPTIONS_GS_DEFAULT_ON} \
-GS_psdrgb	"D: PhotoShop PSD, RGB"	${OPTIONS_GS_DEFAULT_ON} \
-GS_psdcmyk	"D: PhotoShop PSD, CMYK"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bit		"D: Plain bits, monochrome"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bitrgb	"D: Plain bits, RGB"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bitcmyk	"D: Plain bits, CMYK"	${OPTIONS_GS_DEFAULT_ON} \
-GS_plan9bm	"D: Plan 9 bitmap format"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pam		"D: Portable Arbitrary Map file"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pbm		"D: Portable Bitmap, plain"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pbmraw	"D: Portable Bitmap, raw"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pgm		"D: Portable Graymap, plain"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pgmraw	"D: Portable Graymap, raw"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pgnm		"D: Portable Graymap, plain (PBM opt)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pgnmraw	"D: Portable Graymap, raw (PBM opt)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pnm		"D: Portable Pixmap, plain RGB (PGM/PBM opt)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pnmraw	"D: Portable Pixmap, raw RGB (PGM/PBM opt)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_ppm		"D: Portable Pixmap, plain RGB"	${OPTIONS_GS_DEFAULT_ON} \
-GS_ppmraw	"D: Portable Pixmap, raw RGB"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pkm		"D: Portable inKmap, plain (4b CMYK=>RGB)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pkmraw	"D: Portable inKmap, raw (4b CMYK=>RGB)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pksm		"D: Portable Separated map, plain (4b CMYK=>4p)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pksmraw	"D: Portable Separated map, raw (4b CMYK=>4p)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pngmono	"D: PNG (Portable Network Graphics) Mono"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pnggray	"D: PNG 8-bit Gray"	${OPTIONS_GS_DEFAULT_ON} \
-GS_png16	"D: PNG 4-bit Color"	${OPTIONS_GS_DEFAULT_ON} \
-GS_png256	"D: PNG 8-bit Color"	${OPTIONS_GS_DEFAULT_ON} \
-GS_png16m	"D: PNG 24-bit Color"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pngalpha	"D: PNG 32-bit RGBA Color"	${OPTIONS_GS_DEFAULT_ON} \
-GS_png48	"D: PNG 48-bit Color"	${OPTIONS_GS_DEFAULT_ON} \
-GS_psmono	"D: PostScript (Level 1) monochrome image"	${OPTIONS_GS_DEFAULT_ON} \
-GS_psgray	"D: PostScript (Level 1) 8-bit gray image"	${OPTIONS_GS_DEFAULT_ON} \
-GS_psrgb	"D: PostScript (Level 2) 24-bit color image"	${OPTIONS_GS_DEFAULT_ON} \
-GS_pswrite	"D: PostScript (like PostScript Distiller)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_ps2write	"D: PostScript (Level 2) output"	${OPTIONS_GS_DEFAULT_ON} \
-GS_epswrite	"D: Encapsulated PostScript"	${OPTIONS_GS_DEFAULT_ON} \
-GS_cfax		"D: SFF format for CAPI FAX interface"	${OPTIONS_GS_DEFAULT_ON} \
-GS_sgirgb	"D: SGI RGB pixmap format"	${OPTIONS_GS_DEFAULT_ON} \
-GS_sunhmono	"D: Harlequin variant of 1-bit Sun raster file"	${OPTIONS_GS_DEFAULT_ON} \
-GS_svgwrite	"D: SVG driver"	${OPTIONS_GS_DEFAULT_ON} \
-GS_tiffcrle	"D: TIFF CCITT RLE 1 dim (G3 FAX with no EOL)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_tiffg3	"D: TIFF Group 3 FAX (with EOL)"	${OPTIONS_GS_DEFAULT_ON} \
-GS_tiffg32d	"D: TIFF Group 3 2-D FAX"	${OPTIONS_GS_DEFAULT_ON} \
-GS_tiffg4	"D: TIFF Group 4 FAX"	${OPTIONS_GS_DEFAULT_ON} \
-GS_tiffgray	"D: TIFF 8-bit gray, no compress"	${OPTIONS_GS_DEFAULT_ON} \
-GS_tiff12nc	"D: TIFF 12-bit RGB, no compress"	${OPTIONS_GS_DEFAULT_ON} \
-GS_tiff24nc	"D: TIFF 24-bit RGB, no compress, NeXT format"	${OPTIONS_GS_DEFAULT_ON} \
-GS_tiff32nc	"D: TIFF 32-bit CMYK"	${OPTIONS_GS_DEFAULT_ON} \
-GS_tiffsep	"D: TIFF gray + CMYK composite"	${OPTIONS_GS_DEFAULT_ON} \
-GS_tifflzw	"D: TIFF LZW,      tag = 5,     mono"	${OPTIONS_GS_DEFAULT_ON} \
-GS_tiffpack	"D: TIFF PackBits, tag = 32773, mono"	${OPTIONS_GS_DEFAULT_ON} \
-GS_bbox		"D: Bounding box output"	${OPTIONS_GS_DEFAULT_ON} \
-GS_devicen	"D: DeviceN process color model device"	${OPTIONS_GS_DEFAULT_ON} \
-GS_perm		"D: DeviceN which permutes color components"	${OPTIONS_GS_DEFAULT_ON} \
-GS_spotcmyk	"D: DeviceN with CMYK and spot color support"	${OPTIONS_GS_DEFAULT_ON} \
-GS_imdi		"D: IMDI color converting device"	${OPTIONS_GS_DEFAULT_ON} \
-GS_wtsimdi	"D: WTS halftoning device"	${OPTIONS_GS_DEFAULT_ON} \
-GS_wtscmyk	"D: WTS halftoning CMYK device"	${OPTIONS_GS_DEFAULT_ON}
+OPTIONS_DEFAULT+= \
+	${OPTIONS_X11} \
+	${OPTIONS_SVGALIB} \
+	${OPTIONS_ICONV} \
+	${OPTIONS_CAIRO} \
+	${OPTIONS_CUPS} \
+	GS_display \
+	GS_omni \
+	GS_md2k \
+	GS_md5k \
+	GS_md50Mono \
+	GS_md50Eco \
+	GS_md1xMono \
+	GS_appledmp \
+	GS_iwhi \
+	GS_iwlo \
+	GS_iwlq \
+	GS_hl7x0 \
+	GS_hl1240 \
+	GS_hl1250 \
+	GS_bj10e \
+	GS_bj10v \
+	GS_bj10vh \
+	GS_bj200 \
+	GS_bjc600 \
+	GS_bjc800 \
+	GS_bjccmyk \
+	GS_bjccolor \
+	GS_bjcgray \
+	GS_bjcmono \
+	GS_lbp8 \
+	GS_lbp310 \
+	GS_lbp320 \
+	GS_lips2p \
+	GS_lips3 \
+	GS_lips4 \
+	GS_bjc880j \
+	GS_lips4v \
+	GS_m8510 \
+	GS_coslw2p \
+	GS_coslwxl \
+	GS_uniprint \
+	GS_dmprt \
+	GS_dl2100 \
+	GS_la50 \
+	GS_la70 \
+	GS_la75 \
+	GS_la75plus \
+	GS_ln03 \
+	GS_lj250 \
+	GS_declj250 \
+	GS_ap3250 \
+	GS_epson \
+	GS_eps9mid \
+	GS_eps9high \
+	GS_lp8000 \
+	GS_epag \
+	GS_escpage \
+	GS_lp2000 \
+	GS_alc8600 \
+	GS_alc8500 \
+	GS_alc2000 \
+	GS_alc4000 \
+	GS_alc1900 \
+	GS_alc4100 \
+	GS_lp9800c \
+	GS_lp9000c \
+	GS_lp9500c \
+	GS_lp8800c \
+	GS_lp8300c \
+	GS_lp8500c \
+	GS_lp3000c \
+	GS_lp8200c \
+	GS_lp8000c \
+	GS_eplmono \
+	GS_eplcolor \
+	GS_epl6100 \
+	GS_epl5900 \
+	GS_epl5800 \
+	GS_epl2050 \
+	GS_epl2050p \
+	GS_epl2120 \
+	GS_epl2500 \
+	GS_epl2750 \
+	GS_lp9000b \
+	GS_lp2500 \
+	GS_lp9100 \
+	GS_lp7900 \
+	GS_lp7500 \
+	GS_lp2400 \
+	GS_lp2200 \
+	GS_lp9400 \
+	GS_lp8900 \
+	GS_lp8700 \
+	GS_lp8100 \
+	GS_lp7700 \
+	GS_lp8600f \
+	GS_lp8400f \
+	GS_lp8300f \
+	GS_lp1900 \
+	GS_lp9600s \
+	GS_lp9300 \
+	GS_lp9600 \
+	GS_lp8600 \
+	GS_lp1800 \
+	GS_lq850 \
+	GS_epsonc \
+	GS_mj700v2c \
+	GS_mj500c \
+	GS_mj6000c \
+	GS_mj8000c \
+	GS_st800 \
+	GS_stcolor \
+	GS_photoex \
+	GS_fmlbp \
+	GS_fmpr \
+	GS_lp2563 \
+	GS_cdnj500 \
+	GS_dnj650c \
+	GS_deskjet \
+	GS_djet500 \
+	GS_cdeskjet \
+	GS_djet500c \
+	GS_cdjcolor \
+	GS_cdjmono \
+	GS_cdj500 \
+	GS_cdj550 \
+	GS_dj505j \
+	GS_cdj670 \
+	GS_cdj850 \
+	GS_cdj880 \
+	GS_cdj890 \
+	GS_cdj1600 \
+	GS_chp2200 \
+	GS_cdj970 \
+	GS_laserjet \
+	GS_ljetplus \
+	GS_ljet2p \
+	GS_ljet3 \
+	GS_ljet3d \
+	GS_ljet4 \
+	GS_ljet4d \
+	GS_lj4dith \
+	GS_ljet4pjl \
+	GS_lj4dithp \
+	GS_cljet5 \
+	GS_cljet5c \
+	GS_cljet5pr \
+	GS_lj5mono \
+	GS_lj5gray \
+	GS_pj \
+	GS_pjetxl \
+	GS_pjxl \
+	GS_paintjet \
+	GS_pjxl300 \
+	GS_pxlmono \
+	GS_pxlcolor \
+	GS_pcl3 \
+	GS_ijs \
+	GS_ibmpro \
+	GS_jetp3852 \
+	GS_imagen \
+	GS_fs600 \
+	GS_lxm5700m \
+	GS_lxm3200 \
+	GS_lx5000 \
+	GS_lex2050 \
+	GS_lex3200 \
+	GS_lex5700 \
+	GS_lex7000 \
+	GS_cp50 \
+	GS_pr1000 \
+	GS_pr1000_4 \
+	GS_pr150 \
+	GS_pr201 \
+	GS_picty180 \
+	GS_necp6 \
+	GS_npdl \
+	GS_oce9050 \
+	GS_oki182 \
+	GS_okiibm \
+	GS_ml600 \
+	GS_oki4w \
+	GS_atx23 \
+	GS_atx24 \
+	GS_atx38 \
+	GS_r4081 \
+	GS_rpdl \
+	GS_gdi \
+	GS_jj100 \
+	GS_sj48 \
+	GS_t4693d2 \
+	GS_t4693d4 \
+	GS_t4693d8 \
+	GS_tek4696 \
+	GS_xes \
+	GS_bmpmono \
+	GS_bmpgray \
+	GS_bmp16 \
+	GS_bmp256 \
+	GS_bmp16m \
+	GS_bmp32b \
+	GS_bmpsep1 \
+	GS_bmpsep8 \
+	GS_ccr \
+	GS_cgmmono \
+	GS_cgm8 \
+	GS_cgm24 \
+	GS_cif \
+	GS_dfaxhigh \
+	GS_dfaxlow \
+	GS_xcf \
+	GS_xcfcmyk \
+	GS_faxg3 \
+	GS_faxg32d \
+	GS_faxg4 \
+	GS_miff24 \
+	GS_inferno \
+	GS_jpeg \
+	GS_jpeggray \
+	GS_mag16 \
+	GS_mag256 \
+	GS_mgrmono \
+	GS_mgrgray2 \
+	GS_mgrgray4 \
+	GS_mgrgray8 \
+	GS_mgr4 \
+	GS_mgr8 \
+	GS_pcxmono \
+	GS_pcxgray \
+	GS_pcx16 \
+	GS_pcx256 \
+	GS_pcx24b \
+	GS_pcxcmyk \
+	GS_pdfwrite \
+	GS_psdrgb \
+	GS_psdcmyk \
+	GS_bit \
+	GS_bitrgb \
+	GS_bitcmyk \
+	GS_plan9bm \
+	GS_pam \
+	GS_pbm \
+	GS_pbmraw \
+	GS_pgm \
+	GS_pgmraw \
+	GS_pgnm \
+	GS_pgnmraw \
+	GS_pnm \
+	GS_pnmraw \
+	GS_ppm \
+	GS_ppmraw \
+	GS_pkm \
+	GS_pkmraw \
+	GS_pksm \
+	GS_pksmraw \
+	GS_pngmono \
+	GS_pnggray \
+	GS_png16 \
+	GS_png256 \
+	GS_png16m \
+	GS_pngalpha \
+	GS_png48 \
+	GS_psmono \
+	GS_psgray \
+	GS_psrgb \
+	GS_pswrite \
+	GS_ps2write \
+	GS_epswrite \
+	GS_cfax \
+	GS_sgirgb \
+	GS_sunhmono \
+	GS_svgwrite \
+	GS_tiffcrle \
+	GS_tiffg3 \
+	GS_tiffg32d \
+	GS_tiffg4 \
+	GS_tiffgray \
+	GS_tiff12nc \
+	GS_tiff24nc \
+	GS_tiff32nc \
+	GS_tiffsep \
+	GS_tifflzw \
+	GS_tiffpack \
+	GS_bbox \
+	GS_devicen \
+	GS_perm \
+	GS_spotcmyk \
+	GS_imdi \
+	GS_wtsimdi \
+	GS_wtscmyk
+
+GS_x11_DESC=		D: X Window System version 11
+GS_x11alpha_DESC=	D: X Window System masquer. alpha capability
+GS_x11cmyk_DESC=	D: X Window System masquer. 1bit/plane CMYK
+GS_x11cmyk2_DESC=	D: X Window System 2-bit-per-plane CMYK
+GS_x11cmyk4_DESC=	D: X Window System 4-bit-per-plane CMYK
+GS_x11cmyk8_DESC=	D: X Window System 8-bit-per-plane CMYK
+GS_x11gray2_DESC=	D: X Window System 2-bit gray-scale
+GS_x11gray4_DESC=	D: X Window System 4-bit gray-scale
+GS_x11mono_DESC=	D: X Window System masquer. black-and-white
+GS_x11rg16x_DESC=	D: X Window System G5/B5/R6 pixel layout
+GS_x11rg32x_DESC=	D: X Window System G11/B10/R11 pixel layout
+GS_lvga256_DESC=	D: SVGAlib, 256-color VGA modes
+GS_vgalib_DESC=		D: SVGAlib, 16-color VGA modes
+GS_oprp_DESC=		D: OpenPrinting Raster driver interface
+GS_opvp_DESC=		D: OpenPrinting Vecter driver interface
+GS_cairo_DESC=		D: cairo driver for PDF, SVG, EPS or PNG files
+GS_cups_DESC=		D: CUPS driver
+GS_display_DESC=	D: display device for GS shared library
+GS_omni_DESC=		D: Omni driver
+GS_md2k_DESC=		D: ALPS MD-2000/2010/4000/1300/1500/5000
+GS_md5k_DESC=		D: ALPS MD-5000 Eco Mode
+GS_md50Mono_DESC=	D: ALPS MD-5000 Monochrome
+GS_md50Eco_DESC=	D: ALPS MD-5000 Eco Mode
+GS_md1xMono_DESC=	D: ALPS MD-1x00 Monochrome
+GS_appledmp_DESC=	D: Apple Dot Matrix Printer/Imagewriter
+GS_iwhi_DESC=		D: Apple Imagewriter, high-resolution mode
+GS_iwlo_DESC=		D: Apple Imagewriter, low-resolution mode
+GS_iwlq_DESC=		D: Apple Imagewriter LQ in 320x216dpi mode
+GS_hl7x0_DESC=		D: Brother HL-720/730/760(=PCL), MFC6550MC
+GS_hl1240_DESC=		D: Brother HL-1030/1240
+GS_hl1250_DESC=		D: Brother HL-1050/1070/1250/1270N
+GS_bj10e_DESC=		D: Canon BJ-10e
+GS_bj10v_DESC=		D: Canon BJ-10v
+GS_bj10vh_DESC=		D: Canon BJ-10v, high-mergin
+GS_bj200_DESC=		D: Canon BJ-200/BJC-240(mono)
+GS_bjc600_DESC=		D: Canon BJC-600/4xxx/70, StyleWriter 2x00
+GS_bjc800_DESC=		D: Canon BJC-240/800
+GS_bjccmyk_DESC=	D: Canon BJC-210/240/250/265/1000
+GS_bjccolor_DESC=	D: Canon BJC-210/240/250/265/1000 truecolor
+GS_bjcgray_DESC=	D: Canon BJC-210/240/250/265/1000 grayscale
+GS_bjcmono_DESC=	D: Canon BJC-210/240/250/265/1000 monochrome
+GS_lbp8_DESC=		D: Canon LBP-8II
+GS_lbp310_DESC=		D: Canon LBP-310
+GS_lbp320_DESC=		D: Canon LBP-320 Pro/LBP-350
+GS_lips2p_DESC=		D: Canon LIPS II+
+GS_lips3_DESC=		D: Canon LIPS III
+GS_lips4_DESC=		D: Canon LIPS IV
+GS_bjc880j_DESC=	D: Canon LIPS IVc, BJC-680J/880J
+GS_lips4v_DESC=		D: Canon LIPS IV, vector output mode
+GS_m8510_DESC=		D: C.Itoh M8510 printer
+GS_coslw2p_DESC=	D: CoStar LabelWriter II II/Plus
+GS_coslwxl_DESC=	D: CoStar LabelWriter XL
+GS_uniprint_DESC=	D: Configurable ESC/P,ESC/P2,HP-RTL/PCL,P2X
+GS_dmprt_DESC=		D: Configurable dot matrix printer driver
+GS_dl2100_DESC=		D: DEC DL2100
+GS_la50_DESC=		D: DEC LA50
+GS_la70_DESC=		D: DEC LA70
+GS_la75_DESC=		D: DEC LA75
+GS_la75plus_DESC=	D: DEC LA75+
+GS_ln03_DESC=		D: DEC LN03
+GS_lj250_DESC=		D: DEC LJ250 Companion color printer
+GS_declj250_DESC=	D: DEC LJ250 driver (alternate)
+GS_ap3250_DESC=		D: Epson ActionPrinter 3250
+GS_epson_DESC=		D: Epson dot matrix, 9/24-pin
+GS_eps9mid_DESC=	D: Epson 9-pin, interleaved lines, medium res
+GS_eps9high_DESC=	D: Epson 9-pin, interleaved lines, triple res
+GS_lp8000_DESC=		D: Epson LP-8000 line printer
+GS_epag_DESC=		D: Epson ESC/Page laser printer (generic)
+GS_escpage_DESC=	D: Epson ESC/Page laser printer (generic)
+GS_lp2000_DESC=		D: Epson LP-2000/3000/7000/7000G laser printer
+GS_alc8600_DESC=	D: Epson AL-C8600 color laser printer
+GS_alc8500_DESC=	D: Epson AL-C8500 color laser printer
+GS_alc2000_DESC=	D: Epson AL-C2000 color laser printer
+GS_alc4000_DESC=	D: Epson AL-C4000 color laser printer
+GS_alc1900_DESC=	D: Epson AL-C1900 color laser printer
+GS_alc4100_DESC=	D: Epson AL-C4100 color laser printer
+GS_lp9800c_DESC=	D: Epson LP-9800C color laser printer
+GS_lp9000c_DESC=	D: Epson LP-9000C color laser printer
+GS_lp9500c_DESC=	D: Epson LP-9500C color laser printer
+GS_lp8800c_DESC=	D: Epson LP-8800C color laser printer
+GS_lp8300c_DESC=	D: Epson LP-8300C color laser printer
+GS_lp8500c_DESC=	D: Epson LP-8500C color laser printer
+GS_lp3000c_DESC=	D: Epson LP-3000C color laser printer
+GS_lp8200c_DESC=	D: Epson LP-8200C color laser printer
+GS_lp8000c_DESC=	D: Epson LP-8000C color laser printer
+GS_eplmono_DESC=	D: Epson Esc/Page Generic driver, mono
+GS_eplcolor_DESC=	D: Epson Esc/Page Generic driver, color
+GS_epl6100_DESC=	D: Epson EPL-6100 laser printer
+GS_epl5900_DESC=	D: Epson EPL-5900 laser printer
+GS_epl5800_DESC=	D: Epson EPL-5800 laser printer
+GS_epl2050_DESC=	D: Epson EPL-N2050 laser printer
+GS_epl2050p_DESC=	D: Epson EPL-N2050+ laser printer
+GS_epl2120_DESC=	D: Epson EPL-N2120 laser printer
+GS_epl2500_DESC=	D: Epson EPL-N2500 laser printer
+GS_epl2750_DESC=	D: Epson EPL-N2750 laser printer
+GS_lp9000b_DESC=	D: Epson LP-9000B laser printer
+GS_lp2500_DESC=		D: Epson LP-2500 laser printer
+GS_lp9100_DESC=		D: Epson LP-9100(R) laser printer
+GS_lp7900_DESC=		D: Epson LP-7900(R) laser printer
+GS_lp7500_DESC=		D: Epson LP-7500(R) laser printer
+GS_lp2400_DESC=		D: Epson LP-2400 laser printer
+GS_lp2200_DESC=		D: Epson LP-2200 laser printer
+GS_lp9400_DESC=		D: Epson LP-9400(R) laser printer
+GS_lp8900_DESC=		D: Epson LP-8900(R) laser printer
+GS_lp8700_DESC=		D: Epson LP-8700(R) laser printer
+GS_lp8100_DESC=		D: Epson LP-8100(R) laser printer
+GS_lp7700_DESC=		D: Epson LP-7700(R) laser printer
+GS_lp8600f_DESC=	D: Epson LP-8600FX(N) laser printer
+GS_lp8400f_DESC=	D: Epson LP-8400FX(N) laser printer
+GS_lp8300f_DESC=	D: Epson LP-8300F laser printer
+GS_lp1900_DESC=		D: Epson LP-1900(N) laser printer
+GS_lp9600s_DESC=	D: Epson LP-9600S laser printer
+GS_lp9300_DESC=		D: Epson LP-9300 laser printer
+GS_lp9600_DESC=		D: Epson LP-9600 laser printer
+GS_lp8600_DESC=		D: Epson LP-8600FX(N) laser printer
+GS_lp1800_DESC=		D: Epson LP-1800 laser printer
+GS_lq850_DESC=		D: Epson LQ-850 (360x360, emul on Canon BJ300)
+GS_epsonc_DESC=		D: Epson LQ-2550, Fujitsu 3400/2400/1200 color
+GS_mj700v2c_DESC=	D: Epson MachJet series, CMYK
+GS_mj500c_DESC=		D: Epson MachJet MJ-500C 360dpi, CMY/mono
+GS_mj6000c_DESC=	D: Epson MachJet MJ-830C/930C/6000C
+GS_mj8000c_DESC=	D: Epson MachJet MJ-8000C
+GS_st800_DESC=		D: Epson Stylus 800 printer
+GS_stcolor_DESC=	D: Epson Stylus Color and II/IIs/1500
+GS_photoex_DESC=	D: Epson Stylus Color Photo/Photo EX/Photo 700
+GS_fmlbp_DESC=		D: Fujitsu contrib2xx Page Printer
+GS_fmpr_DESC=		D: Fujitsu contrib
+GS_lp2563_DESC=		D: HP 2563B line printer
+GS_cdnj500_DESC=	D: HP DesignJet 500
+GS_dnj650c_DESC=	D: HP DesignJet 650C
+GS_deskjet_DESC=	D: HP DeskJet and DeskJet Plus
+GS_djet500_DESC=	D: HP DeskJet 500 (for DeskJet 600 use -r600)
+GS_cdeskjet_DESC=	D: HP DeskJet 500C (1b/px)
+GS_djet500c_DESC=	D: HP DeskJet 500C (alternative)
+GS_cdjcolor_DESC=	D: HP DeskJet 500C/540C (24b/px)
+GS_cdjmono_DESC=	D: HP DeskJet 500/510/520/540C (mono)
+GS_cdj500_DESC=		D: HP DeskJet 500/540C (same as cdjcolor)
+GS_cdj550_DESC=		D: HP DeskJet 550C/560C/660C/660Cse
+GS_dj505j_DESC=		D: HP DeskJet 505J
+GS_cdj670_DESC=		D: HP DeskJet 670/690
+GS_cdj850_DESC=		D: HP DeskJet 850/855/870/1100
+GS_cdj880_DESC=		D: HP DeskJet 880
+GS_cdj890_DESC=		D: HP DeskJet 890
+GS_cdj1600_DESC=	D: HP DeskJet 1600
+GS_chp2200_DESC=	D: HP Business Inkjet 2200
+GS_cdj970_DESC=		D: HP DeskJet 970CXi
+GS_laserjet_DESC=	D: HP LaserJet
+GS_ljetplus_DESC=	D: HP LaserJet Plus
+GS_ljet2p_DESC=		D: HP LaserJet IId/IIp/III* (TIFF compression)
+GS_ljet3_DESC=		D: HP LaserJet III* (Delta Row compression)
+GS_ljet3d_DESC=		D: HP LaserJet IIID (duplex capability)
+GS_ljet4_DESC=		D: HP LaserJet 4/5L/5P (not real LJ5), 600dpi
+GS_ljet4d_DESC=		D: HP LaserJet 4 (duplex + 600dpi)
+GS_lj4dith_DESC=	D: HP LaserJet 4 (Floyd-Steinberg dithering)
+GS_ljet4pjl_DESC=	D: HP LaserJet 4V/4LJ Pro
+GS_lj4dithp_DESC=	D: HP LaserJet 4V/4LJ Pro (dithering)
+GS_cljet5_DESC=		D: HP LaserJet 5/5M Color (new)
+GS_cljet5c_DESC=	D: HP LaserJet 5/5M Color Simple
+GS_cljet5pr_DESC=	D: HP LaserJet 5/5M Color (old)
+GS_lj5mono_DESC=	D: HP LaserJet 5/6 (PCL5/PCL XL), bitmap
+GS_lj5gray_DESC=	D: HP LaserJet 5/6 gray-scale bitmap
+GS_pj_DESC=		D: HP PaintJet XL driver
+GS_pjetxl_DESC=		D: HP PaintJet XL driver (alternate)
+GS_pjxl_DESC=		D: HP PaintJet XL color printer
+GS_paintjet_DESC=	D: HP PaintJet color printer (alternate)
+GS_pjxl300_DESC=	D: HP PaintJet XL300, DeskJet 1200C, CopyJet
+GS_pxlmono_DESC=	D: HP PCL XL mono (LaserJet 5/6 family)
+GS_pxlcolor_DESC=	D: HP PCL XL color (Color LaserJet 4500/5000)
+GS_pcl3_DESC=		D: HP PCL 3+ (generic)
+GS_ijs_DESC=		D: HP Inkjet and other raster devices
+GS_ibmpro_DESC=		D: IBM 9-pin Proprinter
+GS_jetp3852_DESC=	D: IBM Jetprinter ink-jet color (Model \#3852)
+GS_imagen_DESC=		D: Imagen ImPress printers
+GS_fs600_DESC=		D: Kyocera FS-600 (600 dpi)
+GS_lxm5700m_DESC=	D: Lexmark 5700 monotone
+GS_lxm3200_DESC=	D: Lexmark 3200/Z12/Z22/Z31/Z32
+GS_lx5000_DESC=		D: Lexmark 5000/Z51/Z82
+GS_lex2050_DESC=	D: Lexmark 2050
+GS_lex3200_DESC=	D: Lexmark 3200
+GS_lex5700_DESC=	D: Lexmark 5700
+GS_lex7000_DESC=	D: Lexmark 7000
+GS_cp50_DESC=		D: Mitsubishi CP50 color
+GS_pr1000_DESC=		D: NEC PC-PR 1000
+GS_pr1000_4_DESC=	D: NEC PC-PR 1000/4
+GS_pr150_DESC=		D: NEC PC-PR 150
+GS_pr201_DESC=		D: NEC PC-PR 201
+GS_picty180_DESC=	D: NEC PICTY 180 (PC-PR101J/180)
+GS_necp6_DESC=		D: NEC PinWriter P6/P6+/P60 (360x360)
+GS_npdl_DESC=		D: NEC Printer Description Language
+GS_oce9050_DESC=	D: OCE 9050 printer
+GS_oki182_DESC=		D: Okidata MicroLine 182
+GS_okiibm_DESC=		D: Okidata MicroLine IBM-compatible printers
+GS_ml600_DESC=		D: Okidata Microline 600CL/620CL
+GS_oki4w_DESC=		D: Okidata OkiPage 4w+
+GS_atx23_DESC=		D: Practical Automation ATX-23
+GS_atx24_DESC=		D: Practical Automation ATX-24
+GS_atx38_DESC=		D: Practical Automation ATX-38
+GS_r4081_DESC=		D: Ricoh 4081 laser printer
+GS_rpdl_DESC=		D: Ricoh Printer Description Language
+GS_gdi_DESC=		D: Samsung SmartGDI laser printer
+GS_jj100_DESC=		D: Star JJ-100
+GS_sj48_DESC=		D: StarJet 48 inkjet printer
+GS_t4693d2_DESC=	D: Tektronix 4693d color, 2b/RGB
+GS_t4693d4_DESC=	D: Tektronix 4693d color, 4b/RGB
+GS_t4693d8_DESC=	D: Tektronix 4693d color, 8b/RGB
+GS_tek4696_DESC=	D: Tektronix 4695/4696 inkjet plotter
+GS_xes_DESC=		D: Xerox XES (2700, 3700, 4045, etc.)
+GS_bmpmono_DESC=	D: BMP Monochrome
+GS_bmpgray_DESC=	D: BMP 8-bit gray
+GS_bmp16_DESC=		D: BMP 4-bit EGA/VGA
+GS_bmp256_DESC=		D: BMP 8-bit 256-color
+GS_bmp16m_DESC=		D: BMP 24-bit
+GS_bmp32b_DESC=		D: BMP 32-bit pseudo-.BMP
+GS_bmpsep1_DESC=	D: BMP Separated 1-bit CMYK
+GS_bmpsep8_DESC=	D: BMP Separated 8-bit CMYK
+GS_ccr_DESC=		D: CalComp Raster format
+GS_cgmmono_DESC=	D: CGM Monochrome -- LOW LEVEL OUTPUT ONLY
+GS_cgm8_DESC=		D: CGM 8-bit 256-color -- DITTO
+GS_cgm24_DESC=		D: CGM 24-bit color -- DITTO
+GS_cif_DESC=		D: CIF file format for VLSI
+GS_dfaxhigh_DESC=	D: DigiBoard, DigiFAX (high res)
+GS_dfaxlow_DESC=	D: DigiFAX (normal res)
+GS_xcf_DESC=		D: Gimp XCF, RGB
+GS_xcfcmyk_DESC=	D: Gimp XCF, CMYK
+GS_faxg3_DESC=		D: Group 3 FAX (EOL + no header/EOD)
+GS_faxg32d_DESC=	D: Group 3 2-D FAX (EOL + no header/EOD)
+GS_faxg4_DESC=		D: Group 4 FAX (EOL + no header/EOD)
+GS_miff24_DESC=		D: ImageMagick MIFF, 24-bit direct color, RLE
+GS_inferno_DESC=	D: Inferno bitmaps
+GS_jpeg_DESC=		D: JPEG format, RGB output
+GS_jpeggray_DESC=	D: JPEG format, gray output
+GS_mag16_DESC=		D: MAG format, 16-color
+GS_mag256_DESC=		D: MAG format, 256-color
+GS_mgrmono_DESC=	D: MGR devices 1-bit monochrome
+GS_mgrgray2_DESC=	D: MGR devices 2-bit gray scale
+GS_mgrgray4_DESC=	D: MGR devices 4-bit gray scale
+GS_mgrgray8_DESC=	D: MGR devices 8-bit gray scale
+GS_mgr4_DESC=		D: MGR devices 4-bit (VGA) color
+GS_mgr8_DESC=		D: MGR devices 8-bit color
+GS_pcxmono_DESC=	D: PCX, 1-bit monochrome
+GS_pcxgray_DESC=	D: PCX, 8-bit gray scale
+GS_pcx16_DESC=		D: PCX, 4-bit planar EGA/VGA color
+GS_pcx256_DESC=		D: PCX, 8-bit chunky color
+GS_pcx24b_DESC=		D: PCX, 24-bit color 3x8-bit planes
+GS_pcxcmyk_DESC=	D: PCX, 4-bit chunky CMYK color
+GS_pdfwrite_DESC=	D: Portable Document Format
+GS_psdrgb_DESC=		D: PhotoShop PSD, RGB
+GS_psdcmyk_DESC=	D: PhotoShop PSD, CMYK
+GS_bit_DESC=		D: Plain bits, monochrome
+GS_bitrgb_DESC=		D: Plain bits, RGB
+GS_bitcmyk_DESC=	D: Plain bits, CMYK
+GS_plan9bm_DESC=	D: Plan 9 bitmap format
+GS_pam_DESC=		D: Portable Arbitrary Map file
+GS_pbm_DESC=		D: Portable Bitmap, plain
+GS_pbmraw_DESC=		D: Portable Bitmap, raw
+GS_pgm_DESC=		D: Portable Graymap, plain
+GS_pgmraw_DESC=		D: Portable Graymap, raw
+GS_pgnm_DESC=		D: Portable Graymap, plain (PBM opt)
+GS_pgnmraw_DESC=	D: Portable Graymap, raw (PBM opt)
+GS_pnm_DESC=		D: Portable Pixmap, plain RGB (PGM/PBM opt)
+GS_pnmraw_DESC=		D: Portable Pixmap, raw RGB (PGM/PBM opt)
+GS_ppm_DESC=		D: Portable Pixmap, plain RGB
+GS_ppmraw_DESC=		D: Portable Pixmap, raw RGB
+GS_pkm_DESC=		D: Portable inKmap, plain (4b CMYK=>RGB)
+GS_pkmraw_DESC=		D: Portable inKmap, raw (4b CMYK=>RGB)
+GS_pksm_DESC=		D: Portable Separated map, plain (4b CMYK=>4p)
+GS_pksmraw_DESC=	D: Portable Separated map, raw (4b CMYK=>4p)
+GS_pngmono_DESC=	D: PNG (Portable Network Graphics) Mono
+GS_pnggray_DESC=	D: PNG 8-bit Gray
+GS_png16_DESC=		D: PNG 4-bit Color
+GS_png256_DESC=		D: PNG 8-bit Color
+GS_png16m_DESC=		D: PNG 24-bit Color
+GS_pngalpha_DESC=	D: PNG 32-bit RGBA Color
+GS_png48_DESC=		D: PNG 48-bit Color
+GS_psmono_DESC=		D: PostScript (Level 1) monochrome image
+GS_psgray_DESC=		D: PostScript (Level 1) 8-bit gray image
+GS_psrgb_DESC=		D: PostScript (Level 2) 24-bit color image
+GS_pswrite_DESC=	D: PostScript (like PostScript Distiller)
+GS_ps2write_DESC=	D: PostScript (Level 2) output
+GS_epswrite_DESC=	D: Encapsulated PostScript
+GS_cfax_DESC=		D: SFF format for CAPI FAX interface
+GS_sgirgb_DESC=		D: SGI RGB pixmap format
+GS_sunhmono_DESC=	D: Harlequin variant of 1-bit Sun raster file
+GS_svgwrite_DESC=	D: SVG driver
+GS_tiffcrle_DESC=	D: TIFF CCITT RLE 1 dim (G3 FAX with no EOL)
+GS_tiffg3_DESC=		D: TIFF Group 3 FAX (with EOL)
+GS_tiffg32d_DESC=	D: TIFF Group 3 2-D FAX
+GS_tiffg4_DESC=		D: TIFF Group 4 FAX
+GS_tiffgray_DESC=	D: TIFF 8-bit gray, no compress
+GS_tiff12nc_DESC=	D: TIFF 12-bit RGB, no compress
+GS_tiff24nc_DESC=	D: TIFF 24-bit RGB, no compress, NeXT format
+GS_tiff32nc_DESC=	D: TIFF 32-bit CMYK
+GS_tiffsep_DESC=	D: TIFF gray + CMYK composite
+GS_tifflzw_DESC=	D: TIFF LZW,      tag = 5,     mono
+GS_tiffpack_DESC=	D: TIFF PackBits, tag = 32773, mono
+GS_bbox_DESC=		D: Bounding box output
+GS_devicen_DESC=	D: DeviceN process color model device
+GS_perm_DESC=		D: DeviceN which permutes color components
+GS_spotcmyk_DESC=	D: DeviceN with CMYK and spot color support
+GS_imdi_DESC=		D: IMDI color converting device
+GS_wtsimdi_DESC=	D: WTS halftoning device
+GS_wtscmyk_DESC=	D: WTS halftoning CMYK device

Modified: trunk/print/ghostscript8/files/Makefile.dmprt
===================================================================
--- trunk/print/ghostscript8/files/Makefile.dmprt	2015-05-30 15:36:47 UTC (rev 19252)
+++ trunk/print/ghostscript8/files/Makefile.dmprt	2015-05-30 15:38:27 UTC (rev 19253)
@@ -1,9 +1,8 @@
-# $FreeBSD: ports/print/ghostscript8/files/Makefile.dmprt,v 1.1 2008/05/05 13:16:25 hrs Exp $
+# $FreeBSD: head/print/ghostscript8/files/Makefile.dmprt 347164 2014-03-06 07:07:55Z hrs $
 
 post-install-dmprt:
-	${INSTALL_PROGRAM} ${WRKSRC}/${EPAG_NAME}/ert ${PREFIX}/bin
 	cd ${FILESDIR} && \
 		${INSTALL_DATA} lqx70ch.upp lqx70cl.upp lqx70cm.upp \
-		${DATADIR}/${PORTVERSION}/lib
+		${STAGEDIR}${DATADIR}/${PORTVERSION}/lib
 
 post-install: post-install-dmprt

Modified: trunk/print/ghostscript8/files/Makefile.drivers_post
===================================================================
--- trunk/print/ghostscript8/files/Makefile.drivers_post	2015-05-30 15:36:47 UTC (rev 19252)
+++ trunk/print/ghostscript8/files/Makefile.drivers_post	2015-05-30 15:38:27 UTC (rev 19253)
@@ -1,42 +1,14 @@
-# $FreeBSD: ports/print/ghostscript8/files/Makefile.drivers_post,v 1.7 2011/07/20 01:09:14 hrs Exp $
+# $FreeBSD: head/print/ghostscript8/files/Makefile.drivers_post 347164 2014-03-06 07:07:55Z hrs $
 # pre/postprocessing driver variables
 
-# define defaults which depend on WITHOUT_*/WITH_*
-.for D in X11 SVGALIB ICONV
-.if !defined(WITHOUT_${D})
-OPTIONS_${D}_DEFAULT=	on
-.else
-OPTIONS_${D}_DEFAULT=	off
-.endif
-.endfor
-.for D in SVGALIB CAIRO CUPS GTK
-.if !defined(WITH_${D})
-OPTIONS_${D}_DEFAULT=	off
-.else
-OPTIONS_${D}_DEFAULT=	on
-.endif
-.endfor
-
-# makesum needs lowest common multiple
-.if make(makesum)
-OPTIONS_X11_DEFAULT=	on
-OPTIONS_GTK_DEFAULT=	on
-OPTIONS_SVGALIB_DEFAULT=on
-OPTIONS_ICONV_DEFAULT=	on
-OPTIONS_CAIRO_DEFAULT=	on
-OPTIONS_CUPS_DEFAULT=	on
-OPTIONS_GS_DEFAULT_ON=	on
-OPTIONS_GS_DEFAULT_OFF=	on
-.endif
-
 # dmprt specific
-.if !defined(WITHOUT_GS_dmprt)
-.include "${FILESDIR}/Makefile.dmprt"
+.if ${PORT_OPTIONS:MGS_dmprt}
+.include "${MASTERDIR}/files/Makefile.dmprt"
 .endif
 
 # epag specific
-.if !defined(WITHOUT_GS_epag)
-.include "${FILESDIR}/Makefile.epag"
+.if ${PORT_OPTIONS:MGS_epag}
+.include "${MASTERDIR}/files/Makefile.epag"
 .endif
 
 EPAG_BASE=	epag
@@ -51,8 +23,8 @@
 post-extract: post-extract-epag
 
 # pcl3 specific
-.if !defined(WITHOUT_GS_pcl3)
-.include "${FILESDIR}/Makefile.pcl3"
+.if ${PORT_OPTIONS:MGS_pcl3}
+.include "${MASTERDIR}/files/Makefile.pcl3"
 .endif
 
 # cups specific
@@ -60,18 +32,15 @@
 .undef _CUPS_DEVS
 
 .for D in ${CUPS_DEVS}
-.if defined(WITHOUT_CUPS) || defined(WITHOUT_GS_${D})
-.undef WITH_GS_${D}
-.elif defined(WITH_GS_${D})
+.if ${PORT_OPTIONS:MCUPS} && ${PORT_OPTIONS:MGS_${D}}
 _CUPS_DEVS+= ${D}
-.elif ${OPTIONS_CUPS_DEFAULT} == "on"
-_CUPS_DEVS+= ${D}
-WITH_GS_${D}=yes
+.else
+PORT_OPTIONS:=	${PORT_OPTIONS:NGS_${D}}
 .endif
 .endfor
 
 .if defined(_CUPS_DEVS)
-LIB_DEPENDS+=	cupsimage.2:${PORTSDIR}/print/cups-image
+LIB_DEPENDS+=	libcupsimage.so:${PORTSDIR}/print/cups-image
 CONFIGURE_ARGS+=	--enable-cups
 .else
 CONFIGURE_ARGS+=	--disable-cups
@@ -82,33 +51,29 @@
 .undef _VGA_DEVS
 
 .for D in ${VGA_DEVS}
-.if defined(WITHOUT_SVGALIB) || defined(WITHOUT_GS_${D})
-.undef WITH_GS_${D}
-.elif defined(WITH_GS_${D})
+.if ${PORT_OPTIONS:MGS_${D}}
+.if ${ARCH:Mamd64} || ${ARCH:Mi386}
 _VGA_DEVS+= ${D}
-.elif ${OPTIONS_SVGALIB_DEFAULT} == "on"
-_VGA_DEVS+= ${D}
-WITH_GS_${D}=yes
+.else
+OPTIONS_UNSET+=	${PORT_OPTIONS:MGS_${D}}
 .endif
+.endif
 .endfor
 
 .if defined(_VGA_DEVS)
-LIB_DEPENDS+=	vga.1:${PORTSDIR}/graphics/svgalib
+LIB_DEPENDS+=	libvga.so:${PORTSDIR}/graphics/svgalib
 .endif
 
 # x11 specific
-X11_DEVS= x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2	\
+X11_DEVS= x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2 \
 	x11gray4 x11mono x11rg16x x11rg32x display
 .undef _X11_DEVS
 
 .for D in ${X11_DEVS}
-.if defined(WITHOUT_X11) || defined(WITHOUT_GS_${D})
-. undef WITH_GS_${D}
-.elif defined(WITH_GS_${D})
+.if ${PORT_OPTIONS:MX11} && ${PORT_OPTIONS:MGS_${D}}
 _X11_DEVS+= ${D}
-.elif ${OPTIONS_X11_DEFAULT} == "on"
-_X11_DEVS+= ${D}
-WITH_GS_${D}=yes
+.else
+PORT_OPTIONS:=	${PORT_OPTIONS:NGS_${D}}
 .endif
 .endfor
 
@@ -115,10 +80,10 @@
 .if defined(_X11_DEVS)
 USE_XORG=	xt xext
 CONFIGURE_ARGS+=--with-x \
-		--x-includes=${X11BASE}/include \
-		--x-libraries=${X11BASE}/lib
+		--x-includes=${LOCALBASE}/include \
+		--x-libraries=${LOCALBASE}/lib
 CONFLICTS_INSTALL+=	ghostscript8-nox11-[0-9]*
-.if defined(WITH_GTK)
+.if ${PORT_OPTIONS:MGTK2}
 USE_GNOME=	atk gdkpixbuf2 glib20 gtk20
 CONFIGURE_ARGS+=--enable-gtk
 .else
@@ -135,27 +100,31 @@
 .undef _ICONV_DEVS
 
 .for D in ${ICONV_DEVS}
-.if defined(WITHOUT_ICONV) || defined(WITHOUT_GS_${D})
-.undef WITH_GS_${D}
-.elif defined(WITH_GS_${D})
+.if ${PORT_OPTIONS:MICONV} && ${PORT_OPTIONS:MGS_${D}}
 _ICONV_DEVS+= ${D}
-.elif ${OPTIONS_ICONV_DEFAULT} == "on"
-_ICONV_DEVS+= ${D}
-WITH_GS_${D}=yes
+.else
+PORT_OPTIONS:=	${PORT_OPTIONS:NGS_${D}}
 .endif
 .endfor
 
 .if defined(_ICONV_DEVS)
-USE_ICONV=	yes
-CONFIGURE_ARGS+=--with-libiconv=gnu
-EXTRALIBS+=	-liconv
+USES+=		iconv
+CONFIGURE_ARGS+=--with-libiconv=maybe
 .else
 CONFIGURE_ARGS+=--with-libiconv=no
 .endif
 
 # cairo specific
-.if defined(WITH_GS_cairo)
-LIB_DEPENDS+=	cairo.2:${PORTSDIR}/graphics/cairo
+.for D in cairo
+.if ${PORT_OPTIONS:MCAIRO} && ${PORT_OPTIONS:MGS_${D}}
+_CAIRO_DEVS+=	${D}
+.else
+PORT_OPTIONS:=	${PORT_OPTIONS:NGS_${D}}
+.endif
+.endfor
+
+.if defined(_CAIRO_DEVS)
+LIB_DEPENDS+=	libcairo.so:${PORTSDIR}/graphics/cairo
 CONFIGURE_ARGS+=	--enable-cairo
 .else
 CONFIGURE_ARGS+=	--disable-cairo

Modified: trunk/print/ghostscript8/files/Makefile.epag
===================================================================
--- trunk/print/ghostscript8/files/Makefile.epag	2015-05-30 15:36:47 UTC (rev 19252)
+++ trunk/print/ghostscript8/files/Makefile.epag	2015-05-30 15:38:27 UTC (rev 19253)
@@ -1,4 +1,4 @@
-# $FreeBSD: ports/print/ghostscript8/files/Makefile.epag,v 1.4 2012/02/12 18:46:35 hrs Exp $
+# $FreeBSD: head/print/ghostscript8/files/Makefile.epag 347164 2014-03-06 07:07:55Z hrs $
 
 # EPAG - additional driver for Epson ESC/Page printers
 # http://www.humblesoft.com/gdevepag.html
@@ -16,5 +16,9 @@
 	cd ${WRKSRC}/${EPAG_NAME} && \
 		${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} Makefile
 
+post-install-epag:
+	${INSTALL_PROGRAM} ${WRKSRC}/${EPAG_NAME}/ert ${STAGEDIR}${PREFIX}/bin
+
 pre-build: pre-build-epag
 post-build: post-build-epag
+post-install: post-install-epag

Modified: trunk/print/ghostscript8/files/Makefile.pcl3
===================================================================
--- trunk/print/ghostscript8/files/Makefile.pcl3	2015-05-30 15:36:47 UTC (rev 19252)
+++ trunk/print/ghostscript8/files/Makefile.pcl3	2015-05-30 15:38:27 UTC (rev 19253)
@@ -1,11 +1,9 @@
-# $FreeBSD: ports/print/ghostscript8/files/Makefile.pcl3,v 1.2 2009/03/28 20:05:52 hrs Exp $
+# $FreeBSD: head/print/ghostscript8/files/Makefile.pcl3 347164 2014-03-06 07:07:55Z hrs $
 
 PORTDOCS+=	pcl3
 PORTDOC_FILES+= pcl3/NEWS pcl3/BUGS pcl3/README pcl3/gs-pcl3.html	\
 	pcl3/how-to-report.txt pcl3/pcl3opts.html
 
-MAN1+=	gs-pcl3.1 pcl3opts.1
-
 post-build-pcl3:
 	cd ${WRKSRC} && \
 		${CC} ${CFLAGS} -I./obj -I./soobj -I./base \
@@ -14,8 +12,8 @@
 		contrib/pcl3/eprn/mediasize.c contrib/pcl3/src/pclsize.c
 
 post-install-pcl3:
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/pcl3opts ${PREFIX}/bin
-	${MKDIR} ${DATADIR}/${PORTVERSION}/pcl3
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/pcl3opts ${STAGEDIR}${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${DATADIR}/${PORTVERSION}/pcl3
 	cd ${WRKSRC}/contrib/pcl3 && \
 		${INSTALL_DATA} lib/example.mcf lib/if-pcl3		\
 			ps/calign.ps ps/dumppdd.ps ps/levels-test.ps	\
@@ -24,9 +22,10 @@
 			ps/margins-EnvDLRotated.ps			\
 			ps/margins-Letter.ps				\
 			ps/margins-LetterRotated.ps			\
-			${DATADIR}/${PORTVERSION}/pcl3
+			${STAGEDIR}${DATADIR}/${PORTVERSION}/pcl3
 	cd ${WRKSRC}/contrib/pcl3/doc && \
-		${INSTALL_MAN} gs-pcl3.1 pcl3opts.1 ${MANPREFIX}/man/man1
+		${INSTALL_MAN} gs-pcl3.1 pcl3opts.1 \
+		    ${STAGEDIR}${MANPREFIX}/man/man1
 
 post-install-docs-pcl3:
 	${MKDIR} ${WRKSRC}/contrib/pcl3

Modified: trunk/print/ghostscript8/files/patch-base-devs.mak
===================================================================
--- trunk/print/ghostscript8/files/patch-base-devs.mak	2015-05-30 15:36:47 UTC (rev 19252)
+++ trunk/print/ghostscript8/files/patch-base-devs.mak	2015-05-30 15:38:27 UTC (rev 19253)
@@ -18,7 +18,7 @@
  
  $(GLOBJ)X11.so : $(x11alt_) $(x11_)
 -	$(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L/usr/X11R6/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS)
-+	$(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L$(X11BASE)/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS)
++	$(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L$(LOCALBASE)/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS)
  
  ###### --------------- Memory-buffered printer devices --------------- ######
  

Modified: trunk/print/ghostscript8/files/patch-epag-ert.c
===================================================================
--- trunk/print/ghostscript8/files/patch-epag-ert.c	2015-05-30 15:36:47 UTC (rev 19252)
+++ trunk/print/ghostscript8/files/patch-epag-ert.c	2015-05-30 15:38:27 UTC (rev 19253)
@@ -1,7 +1,7 @@
 --- epag-3.09/ert.c.orig	2000-07-08 13:33:09.000000000 +0900
 +++ epag/ert.c	2012-02-13 03:38:07.000000000 +0900
 @@ -1,6 +1,8 @@
- /* $Id: patch-epag-ert.c,v 1.1 2012-09-08 21:15:03 laffer1 Exp $ */
+ /* $Id: ert.c,v 1.3 1998/11/20 10:51:12 nari Exp $ */
  
  #include <stdio.h>
 +#include <stdlib.h>

Modified: trunk/print/ghostscript8/files/patch-lib-FAPIconfig
===================================================================
--- trunk/print/ghostscript8/files/patch-lib-FAPIconfig	2015-05-30 15:36:47 UTC (rev 19252)
+++ trunk/print/ghostscript8/files/patch-lib-FAPIconfig	2015-05-30 15:38:27 UTC (rev 19253)
@@ -1,7 +1,7 @@
 --- lib/FAPIconfig.orig	2008-03-04 06:50:24.000000000 +0900
 +++ lib/FAPIconfig	2008-03-04 06:51:30.000000000 +0900
 @@ -2,10 +2,14 @@
- % $Id: patch-lib-FAPIconfig,v 1.1 2012-09-08 21:15:03 laffer1 Exp $
+ % $Id: FAPIconfig 6870 2006-06-20 16:31:15Z leonardo $
  % This is configuration file for FAPI client.
  
 -/FontPath             (/Fonts)     % A default directory for FAPI-handled font files path in FAPIfontmap.

Modified: trunk/print/ghostscript8/files/pkg-message.in
===================================================================
--- trunk/print/ghostscript8/files/pkg-message.in	2015-05-30 15:36:47 UTC (rev 19252)
+++ trunk/print/ghostscript8/files/pkg-message.in	2015-05-30 15:38:27 UTC (rev 19253)
@@ -4,5 +4,4 @@
 tetex things).
 
 Also note that FAPIfontmap and FAPIcidfmap in
-%%DATADIR%%/%%PORTVERSION%%/Resource/Init have to be configured first if
-WITH_FT_BRIDGE is enabled.
+%%DATADIR%%/%%PORTVERSION%%/Resource/Init have to be configured first.

Modified: trunk/print/ghostscript8/pkg-plist
===================================================================
--- trunk/print/ghostscript8/pkg-plist	2015-05-30 15:36:47 UTC (rev 19252)
+++ trunk/print/ghostscript8/pkg-plist	2015-05-30 15:38:27 UTC (rev 19253)
@@ -2,7 +2,7 @@
 bin/dumphint
 bin/dvipdf
 bin/eps2eps
-%%GS_dmprt%%bin/ert
+%%GS_epag%%bin/ert
 bin/fixmswrd.pl
 bin/font2c
 bin/gs
@@ -37,10 +37,31 @@
 include/ghostscript/gdevdsp.h
 include/ghostscript/iapi.h
 include/ghostscript/ierrors.h
- at dirrm include/ghostscript
 lib/libgs.so
 lib/libgs.so.%%SHLIB_VER%%
 lib/libgs.so.%%GS_VERSION%%
+man/man1/dvipdf.1.gz
+man/man1/eps2eps.1.gz
+man/man1/font2c.1.gz
+%%GS_pcl3%%man/man1/gs-pcl3.1.gz
+man/man1/gs.1.gz
+man/man1/gslp.1.gz
+man/man1/gsnd.1.gz
+%%GS_pcl3%%man/man1/pcl3opts.1.gz
+man/man1/pdf2dsc.1.gz
+man/man1/pdf2ps.1.gz
+man/man1/pdfopt.1.gz
+man/man1/pf2afm.1.gz
+man/man1/pfbtopfa.1.gz
+man/man1/printafm.1.gz
+man/man1/ps2ascii.1.gz
+man/man1/ps2epsi.1.gz
+man/man1/ps2pdf.1.gz
+man/man1/ps2pdf12.1.gz
+man/man1/ps2pdf13.1.gz
+man/man1/ps2pdfwr.1.gz
+man/man1/ps2ps.1.gz
+man/man1/wftopfa.1.gz
 %%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-EUC-H
 %%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-EUC-V
 %%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-H
@@ -387,9 +408,9 @@
 %%DATADIR%%/%%GS_VERSION%%/examples/tiger.eps
 %%DATADIR%%/%%GS_VERSION%%/examples/vasarely.ps
 %%DATADIR%%/%%GS_VERSION%%/examples/waterfal.ps
-%%FAPI%%%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIcidfmap
-%%FAPI%%%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIconfig
-%%FAPI%%%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIfontmap
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIcidfmap
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIconfig
+%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIfontmap
 %%DATADIR%%/%%GS_VERSION%%/Resource/Init/FCOfontmap-PCLPS2
 %%DATADIR%%/%%GS_VERSION%%/Resource/Init/Fontmap
 %%DATADIR%%/%%GS_VERSION%%/Resource/Init/Fontmap.GS
@@ -457,12 +478,10 @@
 %%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_rbld.ps
 %%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_sec.ps
 %%DATADIR%%/%%GS_VERSION%%/Resource/Init/xlatmap
- at dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/Init
 %%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/CNS1-WMode
 %%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/GB1-WMode
 %%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/Japan1-WMode
 %%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/Korea1-WMode
- at dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID
 %%DATADIR%%/%%GS_VERSION%%/lib/ht_ccsto.ps
 %%DATADIR%%/%%GS_VERSION%%/lib/acctest.ps
 %%DATADIR%%/%%GS_VERSION%%/lib/addxchar.ps
@@ -662,15 +681,3 @@
 %%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-Letter.ps
 %%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-LetterRotated.ps
 %%CIDFONTDIR%%/CIDFont
-%%GS_pcl3%%@dirrm %%DATADIR%%/%%GS_VERSION%%/pcl3
- at dirrm %%DATADIR%%/%%GS_VERSION%%/lib
- at dirrm %%DATADIR%%/%%GS_VERSION%%/examples
- at dirrm %%DATADIR%%/%%GS_VERSION%%/doc
- at dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/Font
- at dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/Encoding
- at dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/Decoding
- at dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace
- at dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/CMap
- at dirrm %%DATADIR%%/%%GS_VERSION%%/Resource
- at dirrmtry %%DATADIR%%/%%GS_VERSION%%
- at dirrmtry %%DATADIR%%



More information about the Midnightbsd-cvs mailing list