Complete move from ftghostscript55 -> ghostscript55httf. The latter is

a repo copy from ftghostscript5 (the one with history).

Approved by:	cjh
This commit is contained in:
Satoshi Asami
2000-07-19 17:05:46 +00:00
parent ae17a4e010
commit ad1a91c040
11 changed files with 848 additions and 525 deletions
+1 -1
View File
@@ -12,8 +12,8 @@
SUBDIR += engdic
SUBDIR += eterm
SUBDIR += ftghostscript5
SUBDIR += ftghostscript55
SUBDIR += gau
SUBDIR += ghostscript55htff
SUBDIR += gtk10
SUBDIR += gtkcomm
SUBDIR += h2ps
+77 -80
View File
@@ -1,115 +1,112 @@
# New ports collection makefile for: freetype-ghostscript
# Date created: 27 Mar 1998
# Whom: CHOI Junho <cjh@kr.freebsd.org>
# New ports collection makefile for: ghostscript/ft
# Date created: 3 Jul 2000
# Whom: CHOI Junho <cjh@FreeBSD.org>
#
# $FreeBSD$
#
# Based on print/ghostscript5 and japanese/vfghostscript5
# use Adobe's CID-keyed Korean font because there are no wide accepted
# default korean font yet
#
PORTNAME= ghostscript
PORTVERSION= 5.10
CATEGORIES= korean print
MASTER_SITES= ftp://ftp.pdb.sni.de/pub/utilities/misc/ \
http://www.ozemail.com.au/~geoffk/pdfencrypt/ \
ftp://ftp.cs.wisc.edu/ghost/gnu/gs510/ \
$(MASTER_SITE_GNU) \
http://www.ldl.jaist.ac.jp/~akr/nonresearch/free-software/ghostscript/ \
http://itohws03.ee.noda.sut.ac.jp/~matsuda/VFlib-FT/ \
ftp://ftp.kr.freebsd.org/pub/users/cjh/gs-ko/ \
ftp://ftp.kr.freebsd.org/pub/users/cjh/gs-ko/misc/
MASTER_SITE_SUBDIR= ghostscript
PKGNAMESUFFIX= -ft
DISTNAME= ${PKGNAME}
DISTFILES= ${PCL3_DRV} ${DECRYPT_PDF} ${GS_SOURCES} \
${VFLIB_GS} ${KFFTYPE} ${KFFTYPE_PATCH} \
${HFFTYPE} ${GS_CID_PATCH}
EXTRACT_ONLY= ${GS_SOURCES} ${PCL3_DRV}
PORTVERSION= 5.50
PKGNAMESUFFIX= -httf
CATEGORIES= print
MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/gs550/ \
http://www.erdw.ethz.ch/~bonk/ftp/gs-driver-distrib/ \
http://www.ozemail.com.au/~geoffk/pdfencrypt/
DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
${HP850_DRV} ${DECRYPT_PDF}
PATCH_SITES= ftp://ftp.kr.FreeBSD.org/pub/users/cjh/gs-ko/
PATCHFILES= gs5.50-httf-19990114.diff
PATCH_DIST_STRIP= -p1
MAINTAINER= cjh@FreeBSD.org
RUN_DEPENDS= $(LOCALBASE)/share/ghostscript/fonts:${PORTSDIR}/print/gsfonts \
$(LOCALBASE)/share/ghostscript/fonts/CMap:${PORTSDIR}/korean/munhwafonts-cid \
$(X11BASE)/lib/X11/fonts/TrueType/gulim.ttf:${PORTSDIR}/korean/baekmukfonts-ttf
Y2K= http://www.cs.wisc.edu/~ghost/aladdin/y2k.html
BUILD_DEPENDS= /nonexistent:${PORTSDIR}/graphics/jpeg:extract \
/nonexistent:${PORTSDIR}/graphics/png:extract
/nonexistent:${PORTSDIR}/graphics/png:extract \
unzip:${PORTSDIR}/archivers/unzip
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
ttf.4:${PORTSDIR}/print/freetype
RUN_DEPENDS= $(X11BASE)/lib/X11/fonts/TrueType/gulim.ttf:${PORTSDIR}/korean/baekmukfonts-ttf
USE_XLIB= YES
WRKSRC= ${WRKDIR}/gs5.10
USE_XLIB= yes
EXTRACT_ONLY= ${GS_SOURCES}
WRKSRC= ${WRKDIR}/gs5.50
USE_GMAKE= yes
MAKEFILE= unix-gcc.mak
#MAKE_FLAGS= prefix=${PREFIX} CFLAGS="${CFLAGS}" -f
MAKE_FLAGS= prefix=${PREFIX} -f
MAN1= gs.1 pdf2dsc.1 pdf2ps.1 ps2ascii.1 ps2epsi.1 ps2pdf.1 gs-hpdj.1
MAN1= gs.1 pdf2dsc.1 pdf2ps.1 ps2ascii.1 ps2epsi.1 ps2pdf.1 ps2ps.1
GS_SOURCES= ghostscript-5.10.tar.gz
GS_SOURCES= ghostscript-5.50.tar.gz
GS_SOURCES+= ghostscript-5.50gnu.tar.gz
# Note: the following two are real files that have symlinks with
# later version numbers pointing to them. To avoid unnecessarily
# downloading distfiles, do not change these when upgrading the port
# unless the files really change.
GS_FONTS_STD= ghostscript-fonts-std-5.50.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-5.50.tar.gz
# Additional driver for HP PCL3 Printers
PCL3_DRV= hpdj-2.6.tar.gz
# Additional driver HP 850, see http://www.erdw.ethz.ch/~bonk/hp850/hp850.html
HP850_DRV= hp8xxs13.zip
# replacement for pdf_sec.ps, that allows you to read encrypted PDF files
DECRYPT_PDF= pdf_sec.ps
.if defined(NO_A4)
.else
CFLAGS+= -DA4
.endif
# Korean patch files
# vflib patch
VFLIB_GS= gs5.10-vflib-1.1.tar.gz
# kfftype
KFFTYPE= gs5-kfftype.tar.gz
# kfftype patches
KFFTYPE_PATCH= gs5-kfftype-patch1.diff gs5-kfftype-patch2.diff
# hfftype patch
HFFTYPE= gs5-hfftype-0.2.tar.gz
# cid-keyed font bug patch for 5.10
GS_CID_PATCH= gs5.10-cid-bugfix.diff
pre-fetch:
.if !defined(NO_A4)
@${ECHO_MSG} "Type \"make NO_A4=yes\" if you want not set A4 paper default."
.else
@${ECHO_MSG} "Default paper size is A4."
.endif
post-extract:
${LN} -s ${WRKDIRPREFIX}${.CURDIR}/../../graphics/jpeg/work/jpeg-* ${WRKSRC}/jpeg
${LN} -s ${WRKDIRPREFIX}${.CURDIR}/../../graphics/png/work/libpng-* ${WRKSRC}/libpng
# additional PCL3 driver
$(TAR) -xvf ${WRKDIR}/hpdj-2.6/hpdj.tar -C $(WRKSRC)
@${CAT} ${WRKSRC}/devs.mak-5.10.add >> ${WRKSRC}/devs.mak
@${PATCH} -d ${WRKSRC} --forward --quiet -E < ${WRKSRC}/zmedia2.c-5.10.diff
pre-patch:
cd ${WRKSRC} && tar -xzf ${DISTDIR}/${VFLIB_GS} && \
${PATCH} -s -p1 < gs5.10-vflib-1.1/gs5.10-vflib-1.1.diff
cd ${WRKSRC} && tar -xzf ${DISTDIR}/${KFFTYPE} && \
cd ${WRKSRC}/kfftype && \
for file in ${KFFTYPE_PATCH}; do \
${PATCH} -s -p0 < ${DISTDIR}/$$file; \
done && \
${CP} -r ${WRKSRC}/kfftype/* ${WRKSRC}/
cd ${WRKSRC} && tar -xzf ${DISTDIR}/${HFFTYPE} && \
${CP} -r ${WRKSRC}/gs5-hfftype-0.2/* ${WRKSRC}/
cd ${WRKSRC} && ${PATCH} -s -p1 < \
${WRKSRC}/gs5-hfftype-0.2/gs5.10-hfftype.diff
cd ${WRKSRC} && ${PATCH} ${PATCH_DIST_ARGS} < \
${DISTDIR}/${GS_CID_PATCH}
${MV} ${WRKSRC}/devs.mak ${WRKSRC}/devs.mak.bak
cd ${WRKSRC} && unzip -Lao ${DISTDIR}/${HP850_DRV}
${MV} ${WRKSRC}/devs.mak.bak ${WRKSRC}/devs.mak
do-configure:
@(cd ${WRKSRC}; ${SH} tar_cat )
.if defined(BATCH)
@${SETENV} WRKSRC=${WRKSRC} ${SH} ${SCRIPTDIR}/configure.batch
.else
@${SETENV} WRKSRC=${WRKSRC} ${SH} ${SCRIPTDIR}/configure
.endif
pre-build:
${SED} -e "s@%%PREFIX%%@${X11BASE}@g" \
${MKDIR} ${WRKSRC}/obj
${SED} -e "s@%%PREFIX%%@${X11BASE}@g" \
${FILESDIR}/hconfig.ps.in > \
${WRKSRC}/hangul/hconfig.ps
pre-install:
@${MKDIR} ${PREFIX}/share/ghostscript ${PREFIX}/bin ${PREFIX}/man/man1
(cd ${PREFIX}/share/ghostscript ; \
${TAR} -xzf ${DISTDIR}/${GS_FONTS_STD})
(cd ${PREFIX}/share/ghostscript/fonts ; \
${TAR} -xzf ${DISTDIR}/${GS_FONTS_OTHER})
# install the readme and license file of the hp8xxx driver as well
post-install:
strip ${PREFIX}/bin/gs
${INSTALL_DATA} ${DISTDIR}/${DECRYPT_PDF} \
${PREFIX}/share/ghostscript/5.10ft
$(MKDIR) ${PREFIX}/libexec/lpr
${INSTALL_SCRIPT} $(WRKSRC)/pj-gs.sh ${PREFIX}/libexec/lpr
${INSTALL_SCRIPT} $(WRKSRC)/sysvlp.sh ${PREFIX}/libexec/lpr
${INSTALL_SCRIPT} $(WRKSRC)/if-hpdj ${PREFIX}/libexec/lpr
${INSTALL_DATA} ${WRKSRC}/gs5-hfftype-0.2/README \
${PREFIX}/share/ghostscript/5.10ft/doc/README.ko
${INSTALL_SCRIPT} ${WRKSRC}/unix-lpr.sh ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/lprsetup.sh ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/license.hp8 \
${PREFIX}/share/ghostscript/5.50httf/doc
${INSTALL_DATA} ${WRKSRC}/readme.hp8 \
${PREFIX}/share/ghostscript/5.50httf/doc
${RMDIR} ${PREFIX}/share/ghostscript/5.50httf/hangul/fonts
.if defined(PDFENCRYPT)
${INSTALL_DATA} ${DISTDIR}/pdf_sec.ps ${PREFIX}/share/ghostscript/5.50httf
.endif
# encrypted PDF support. can't be packaged due to export control issues.
.if defined(PDFENCRYPT)
MASTER_SITES+= http://www.ozemail.com.au/~geoffk/pdfencrypt/
DISTFILES+= pdf_sec.ps
RESTRICTED= "Crypto; export controlled, RC4 in PostScript code included"
.endif
.include <bsd.port.mk>
+6 -9
View File
@@ -1,9 +1,6 @@
MD5 (hpdj-2.6.tar.gz) = dcc402281f36afd2041144e0e97917be
MD5 (pdf_sec.ps) = 92cd6af5b4d7219e91e61b8351f0f7c4
MD5 (ghostscript-5.10.tar.gz) = b8dbc2595c06305f452a9c38bd0effef
MD5 (gs5.10-vflib-1.1.tar.gz) = 856599571b5c9845595d830ad2b31b5f
MD5 (gs5-kfftype.tar.gz) = 960047c6530e3678ee340d62adfbc3a8
MD5 (gs5-kfftype-patch1.diff) = 1fd23208c9355a2df242ecaa1b8ea8f7
MD5 (gs5-kfftype-patch2.diff) = 0babbfde38132acc9e5128672660a6c4
MD5 (gs5-hfftype-0.2.tar.gz) = c78230aa7f2488ecc1a298f3da908275
MD5 (gs5.10-cid-bugfix.diff) = 9675c4e4eeb795eee45956ddd6ed67c4
MD5 (ghostscript-5.50.tar.gz) = f51e92976c4cda9a05de5388fdbbbbbd
MD5 (ghostscript-5.50gnu.tar.gz) = 4930c9d2feea3294904fc683bf8b8beb
MD5 (ghostscript-fonts-std-5.50.tar.gz) = 8462a429e2672d332a510da076dca6d2
MD5 (ghostscript-fonts-other-5.50.tar.gz) = e3540578f33caf5dfc384e5518890f57
MD5 (hp8xxs13.zip) = e46bcac0aed0c511c8cc88a1093cc586
MD5 (gs5.50-httf-19990114.diff) = b8075766ef7d6b132d03784175f08fe1
+150 -172
View File
@@ -1,172 +1,150 @@
*** gcc-head.mak.orig Thu Dec 17 19:56:19 1998
--- gcc-head.mak Fri Dec 25 19:23:30 1998
***************
*** 41,50 ****
# If your system has installbsd, change install to installbsd in the next line.
INSTALL = install -c
! INSTALL_PROGRAM = $(INSTALL) -m 755
! INSTALL_DATA = $(INSTALL) -m 644
! prefix = /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
scriptdir = $(bindir)
--- 41,50 ----
# If your system has installbsd, change install to installbsd in the next line.
INSTALL = install -c
! INSTALL_PROGRAM = $(BSD_INSTALL_SCRIPT)
! INSTALL_DATA = $(BSD_INSTALL_DATA)
! prefix ?= /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
scriptdir = $(bindir)
***************
*** 101,107 ****
# You may need to change this if the IJG library version changes.
# See jpeg.mak for more information.
! JSRCDIR=jpeg-6a
JVERSION=6
# Define the directory where the PNG library sources are stored,
--- 101,107 ----
# You may need to change this if the IJG library version changes.
# See jpeg.mak for more information.
! JSRCDIR=jpeg
JVERSION=6
# Define the directory where the PNG library sources are stored,
***************
*** 116,122 ****
# what its name is.
# See gs.mak and make.txt for more information.
! SHARE_LIBPNG=0
LIBPNG_NAME=png
# Define the directory where the zlib sources are stored.
--- 116,122 ----
# what its name is.
# See gs.mak and make.txt for more information.
! SHARE_LIBPNG=1
LIBPNG_NAME=png
# Define the directory where the zlib sources are stored.
***************
*** 128,134 ****
# what its name is (usually libz, but sometimes libgz).
# See gs.mak and make.txt for more information.
! SHARE_ZLIB=0
#ZLIB_NAME=gz
ZLIB_NAME=z
--- 128,134 ----
# what its name is (usually libz, but sometimes libgz).
# See gs.mak and make.txt for more information.
! SHARE_ZLIB=1
#ZLIB_NAME=gz
ZLIB_NAME=z
***************
*** 172,185 ****
# 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=
! CFLAGS=-O $(GCFLAGS) $(XCFLAGS)
# Define platform flags for ld.
# SunOS 4.n may need -Bstatic.
# XLDFLAGS can be set from the command line.
! XLDFLAGS=
LDFLAGS=$(XLDFLAGS)
--- 172,185 ----
# 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=-I$(prefix)/include
! CFLAGS+=-O $(GCFLAGS) $(XCFLAGS)
# Define platform flags for ld.
# SunOS 4.n may need -Bstatic.
# XLDFLAGS can be set from the command line.
! XLDFLAGS=-L$(prefix)/lib
LDFLAGS=$(XLDFLAGS)
***************
*** 199,205 ****
# Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
# not in $(XINCLUDE).
! XINCLUDE=-I/usr/local/X/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
--- 199,205 ----
# Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
# not in $(XINCLUDE).
! 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
***************
*** 211,222 ****
#XLIBDIRS=-L/usr/openwin/lib
#XLIBDIR=/usr/openwin/lib
# X11R6 (on any platform) may need
! #XLIBS=Xt SM ICE Xext X11
#XLIBDIRS=-L/usr/local/X/lib
! XLIBDIRS=-L/usr/X11/lib
XLIBDIR=
! XLIBS=Xt Xext X11
# Define whether this platform has floating point hardware:
# FPU_TYPE=2 means floating point is faster than fixed point.
--- 211,222 ----
#XLIBDIRS=-L/usr/openwin/lib
#XLIBDIR=/usr/openwin/lib
# X11R6 (on any platform) may need
! XLIBS=Xt SM ICE Xext X11
#XLIBDIRS=-L/usr/local/X/lib
! XLIBDIRS=-L$(X11BASE)/lib
XLIBDIR=
! #XLIBS=Xt Xext X11
# Define whether this platform has floating point hardware:
# FPU_TYPE=2 means floating point is faster than fixed point.
***************
*** 260,268 ****
DEVICE_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11gray2.dev x11mono.dev
DEVICE_DEVS1=
! DEVICE_DEVS2=
DEVICE_DEVS3=deskjet.dev djet500.dev laserjet.dev ljetplus.dev ljet2p.dev ljet3.dev ljet4.dev
! DEVICE_DEVS4=cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev pjxl.dev pjxl300.dev
DEVICE_DEVS5=uniprint.dev
DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev
DEVICE_DEVS7=faxg3.dev faxg32d.dev faxg4.dev
--- 260,268 ----
DEVICE_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11gray2.dev x11mono.dev
DEVICE_DEVS1=
! DEVICE_DEVS2=epson.dev eps9high.dev epsonc.dev ibmpro.dev
DEVICE_DEVS3=deskjet.dev djet500.dev laserjet.dev ljetplus.dev ljet2p.dev ljet3.dev ljet4.dev
! DEVICE_DEVS4=cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev pjxl.dev hpdj.dev
DEVICE_DEVS5=uniprint.dev
DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev
DEVICE_DEVS7=faxg3.dev faxg32d.dev faxg4.dev
--- unix-gcc.mak.orig Mon Jul 3 01:08:34 2000
+++ unix-gcc.mak Mon Jul 3 01:10:16 2000
@@ -53,11 +53,10 @@
# initialization files (gs_*.ps) and the fonts.
# If your system has installbsd, change install to installbsd in the next line.
-INSTALL = installbsd -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)
@@ -145,7 +144,7 @@
# 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.
@@ -157,7 +156,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
@@ -176,7 +175,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.
@@ -209,7 +208,7 @@
# gcc to accept ANSI-style function prototypes and function definitions.
XCFLAGS=
-CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
+#CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
# Define platform flags for ld.
# SunOS 4.n may need -Bstatic.
@@ -218,7 +217,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$(prefix)/lib
LDFLAGS=$(XLDFLAGS) -fno-common
@@ -231,7 +230,7 @@
#EXTRALIBS=
# Path of FreeType library
-EXTRALIBS= -L/usr/local/lib
+EXTRALIBS= -L$(prefix)/lib
# Define the include switch(es) for the X11 header files.
# This can be null if handled in some other way (e.g., the files are
@@ -241,7 +240,7 @@
# Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
# not in $(XINCLUDE).
-XINCLUDE=-I/usr/local/X/include
+XINCLUDE=-I$(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
@@ -253,12 +252,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/X11/lib
+XLIBDIRS=-L$(X11BASE)/lib
XLIBDIR=
-XLIBS=Xt Xext X11
+#XLIBS=Xt X11
# Define whether this platform has floating point hardware:
# FPU_TYPE=2 means floating point is faster than fixed point.
@@ -299,27 +298,6 @@
FILE_IMPLEMENTATION=stdio
-# Choose the device(s) to include. See devs.mak for details,
-# devs.mak and contrib.mak for the list of available devices.
-
-DEVICE_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11gray2.dev x11gray4.dev x11mono.dev
-#DEVICE_DEVS1=bmpmono.dev bmpamono.dev posync.dev
-DEVICE_DEVS1=
-DEVICE_DEVS2=
-DEVICE_DEVS3=deskjet.dev djet500.dev laserjet.dev ljetplus.dev ljet2p.dev ljet3.dev ljet4.dev
-DEVICE_DEVS4=cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev pjxl.dev pjxl300.dev
-DEVICE_DEVS5=uniprint.dev
-DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev
-DEVICE_DEVS7=faxg3.dev faxg32d.dev faxg4.dev
-DEVICE_DEVS8=pcxmono.dev pcxgray.dev pcx16.dev pcx256.dev pcx24b.dev pcxcmyk.dev
-DEVICE_DEVS9=pbm.dev pbmraw.dev pgm.dev pgmraw.dev pgnm.dev pgnmraw.dev pnm.dev pnmraw.dev ppm.dev ppmraw.dev pkm.dev pkmraw.dev
-DEVICE_DEVS10=tiffcrle.dev tiffg3.dev tiffg32d.dev tiffg4.dev tifflzw.dev tiffpack.dev
-DEVICE_DEVS11=tiff12nc.dev tiff24nc.dev
-DEVICE_DEVS12=psmono.dev psgray.dev psrgb.dev bit.dev bitrgb.dev bitcmyk.dev
-DEVICE_DEVS13=pngmono.dev pnggray.dev png16.dev png256.dev png16m.dev
-DEVICE_DEVS14=jpeg.dev jpeggray.dev
-DEVICE_DEVS15=pdfwrite.dev pswrite.dev epswrite.dev pxlmono.dev pxlcolor.dev
-
# ---------------------------- End of options --------------------------- #
# Define the name of the partial makefile that specifies options --
@@ -327,16 +305,10 @@
MAKEFILE=$(GLSRC)unix-gcc.mak
-# Define the ANSI-to-K&R dependency. There isn't one, but we do have to
-# detect whether we're running a version of gcc with the const optimization
-# bug.
-
-AK=$(GLGENDIR)/cc.tr
-
# Define the compilation rules and flags.
CCFLAGS=$(GENOPT) $(CFLAGS)
-CC_=$(CC) `cat $(AK)` $(CCFLAGS)
+CC_=$(CC) $(CCFLAGS)
CCAUX=$(CC)
#We can't use -fomit-frame-pointer with -pg....
#CC_LEAF=$(CC_)
@@ -358,7 +330,3 @@
include $(GLSRC)unixtail.mak
include $(GLSRC)unix-end.mak
include $(GLSRC)unixinst.mak
-
-# This has to come last so it won't be taken as the default target.
-$(AK):
- if ( gcc --version | grep "2.7.[01]" >/dev/null || test `gcc --version` = 2.7.2 ); then echo -Dconst= >$(AK); else echo -Wcast-qual -Wwrite-strings >$(AK); fi
+3 -29
View File
@@ -1,15 +1,6 @@
--- gs_init.ps.orig Tue Feb 1 09:29:08 2000
+++ gs_init.ps Tue Feb 1 09:34:09 2000
@@ -73,7 +73,7 @@
systemdict /.languagelevel known not { /.languagelevel 1 def } if
% Optionally choose a default paper size other than U.S. letter.
-% (a4) /PAPERSIZE where { pop pop } { /PAPERSIZE exch def } ifelse
+(a4) /PAPERSIZE where { pop pop } { /PAPERSIZE exch def } ifelse
% Turn on array packing for the rest of initialization.
true setpacking
@@ -1470,3 +1470,24 @@
--- gs_init.ps.orig Thu Jan 2 19:23:13 1997
+++ gs_init.ps Thu Jan 2 19:24:46 1997
@@ -1363,3 +1363,7 @@
(END GC) VMDEBUG
% The interpreter will run the initial procedure (start).
@@ -17,20 +8,3 @@
+% unofficial patch:
+% make it possible to print from within acroread pdf viewer
+/Default currenthalftone /Halftone defineresource pop
+
+% load initial CID-keyed fonts(Korean. KSC-EUC-H).
+% It should be in Fontmap, but to avoid loading two or more time.
+% (it can stop the interpreter - /rangecheck error)
+%
+QUIET not { (Initializing Korean CID fonts: ) print } if
+% font loading start
+(Munhwa-Regular-KSC-EUC-H.gsf) runlibfile
+QUIET not { (Munhwa-Regular-KSC-EUC-H ) print } if
+(Munhwa-Bold-KSC-EUC-H.gsf) runlibfile
+QUIET not { (Munhwa-Bold-KSC-EUC-H ) print } if
+(MunhwaGothic-Regular-KSC-EUC-H.gsf) runlibfile
+QUIET not { (MunhwaGothic-Regular-KSC-EUC-H ) print } if
+(MunhwaGothic-Bold-KSC-EUC-H.gsf) runlibfile
+QUIET not { (MunhwaGothic-Bold-KSC-EUC-H ) print } if
+% end of font loading
+QUIET not { (\n) print } if
+21 -19
View File
@@ -1,19 +1,21 @@
*** unix-end.mak.orig Fri Dec 25 10:45:04 1998
--- unix-end.mak Fri Dec 25 10:47:40 1998
***************
*** 91,97 ****
do if ( test -f $$f ); then $(INSTALL_PROGRAM) $$f $(scriptdir)/$$f; fi;\
done'
! MAN1_PAGES=gs pdf2dsc pdf2ps ps2ascii ps2epsi ps2pdf
install-data: gs.1
-mkdir $(mandir)
-mkdir $(man1dir)
--- 91,97 ----
do if ( test -f $$f ); then $(INSTALL_PROGRAM) $$f $(scriptdir)/$$f; fi;\
done'
! MAN1_PAGES=gs pdf2dsc pdf2ps ps2ascii ps2epsi ps2pdf gs-hpdj
install-data: gs.1
-mkdir $(mandir)
-mkdir $(man1dir)
--- contrib.mak.orig Tue Sep 15 04:03:52 1998
+++ contrib.mak Tue Dec 1 15:37:58 1998
@@ -435,6 +435,18 @@
cdj850.dev: $(cdeskjet8_) page.dev
$(SETPDEV) cdj850 $(cdeskjet8_)
+cdj670.dev: $(cdeskjet8_) page.dev
+ $(SETPDEV) cdj670 $(cdeskjet8_)
+
+cdj890.dev: $(cdeskjet8_) page.dev
+ $(SETPDEV) cdj890 $(cdeskjet8_)
+
+cdj1600.dev: $(cdeskjet8_) page.dev
+ $(SETPDEV) cdj1600 $(cdeskjet8_)
+
+$(GLOBJ)gdevcd8.$(OBJ): $(GLSRC)gdevcd8.c $(GLSRC)gdevcd8.h $(PDEVH)
+ $(GLCC) $(GLO_)gdevcd8.$(OBJ) $(C_) $(GLSRC)gdevcd8.c
+
### ------------ The H-P PaintJet color printer device ----------------- ###
### Note: this driver also supports the DEC LJ250 color printer, which ###
### has a PaintJet-compatible mode, and the PaintJet XL. ###
+1 -1
View File
@@ -1 +1 @@
Aladdin Postscript interpreter with Korean Truetype fonts support
Aladdin Postscript interpreter with Korean truetype support
+24 -14
View File
@@ -1,20 +1,30 @@
GNU Ghostscript is the name of a set of software that provides:
This is Aladdin Ghostscript, the non-GPL version that comes 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 !
- An interpreter for the PostScript (TM) language, and
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.
- A set of C procedures (the Ghostscript library) that implement
the graphics capabilities that appear as primitive operations in the
PostScript language.
Official ghostscript homepage, see:
http://www.cs.wisc.edu/~ghost/index.html
GNU Ghostscript comes with NO WARRANTY and NO SUPPORT.
This FreeBSD port includes two useful add-on packages:
o Support for HP DeskJet 670, 690, 850, 855, 870, 890, 1100 and 1600,
see announcement on
http://www.erdw.ethz.ch/~bonk/hp850/hp850.html
o Support for pdfencrypt, see description on
http://www.ozemail.com.au/~geoffk/pdfencrypt/
Thomas Merz has written a Ghostscript manual in PDF format:
http://www.cs.wisc.edu/~ghost/merz.html
Also included with this package is the PCL3 driver written by Martin
Lottermoser with defaults for a Deskjet 560C.
This version can handle Korean(and Japanese) Truetype fonts
using FreeType library. It also has some bugfix for correctly working
CID-Keyed fonts.
The manual is also available in German language, see:
http://www.muc.de/~tm/free/free.html
For Korean truetype patch, see
http://www.kr.FreeBSD.org/~cjh/freetime/printing/freetype-gs/
--
Ports by CHOI Junho <cjh@FreeBSD.org>
WWW: http://www.kr.freebsd.org/~cjh/freetime/printings/gs-ko/
CHOI Junho <cjh@FreeBSD.org>
WWW: http://www.kr.FreeBSD.org/~cjh/freetime/printing/freetype-gs/
+366 -200
View File
@@ -1,4 +1,5 @@
bin/bdftops
bin/dvipdf
bin/font2c
bin/gs
bin/gsbj
@@ -7,210 +8,375 @@ bin/gsdj500
bin/gslj
bin/gslp
bin/gsnd
bin/lprsetup.sh
bin/pdf2dsc
bin/pdf2ps
bin/printafm
bin/ps2ascii
bin/ps2epsi
bin/ps2pdf
bin/ps2ps
bin/unix-lpr.sh
bin/wftopfa
libexec/lpr/if-hpdj
libexec/lpr/pj-gs.sh
libexec/lpr/sysvlp.sh
share/ghostscript/5.10ft/Fontmap
share/ghostscript/5.10ft/acctest.ps
share/ghostscript/5.10ft/align.ps
share/ghostscript/5.10ft/bdftops.ps
share/ghostscript/5.10ft/bjc610a0.upp
share/ghostscript/5.10ft/bjc610a1.upp
share/ghostscript/5.10ft/bjc610a2.upp
share/ghostscript/5.10ft/bjc610a3.upp
share/ghostscript/5.10ft/bjc610a4.upp
share/ghostscript/5.10ft/bjc610a5.upp
share/ghostscript/5.10ft/bjc610a6.upp
share/ghostscript/5.10ft/bjc610a7.upp
share/ghostscript/5.10ft/bjc610a8.upp
share/ghostscript/5.10ft/bjc610b1.upp
share/ghostscript/5.10ft/bjc610b2.upp
share/ghostscript/5.10ft/bjc610b3.upp
share/ghostscript/5.10ft/bjc610b4.upp
share/ghostscript/5.10ft/bjc610b6.upp
share/ghostscript/5.10ft/bjc610b7.upp
share/ghostscript/5.10ft/bjc610b8.upp
share/ghostscript/5.10ft/caption.ps
share/ghostscript/5.10ft/cbjc600.ppd
share/ghostscript/5.10ft/cbjc800.ppd
share/ghostscript/5.10ft/cdj550.upp
share/ghostscript/5.10ft/decrypt.ps
share/ghostscript/5.10ft/doc/COPYING
share/ghostscript/5.10ft/doc/NEWS
share/ghostscript/5.10ft/doc/README
share/ghostscript/5.10ft/doc/README.ko
share/ghostscript/5.10ft/doc/bug-form.txt
share/ghostscript/5.10ft/doc/c-style.txt
share/ghostscript/5.10ft/doc/current.txt
share/ghostscript/5.10ft/doc/devices.txt
share/ghostscript/5.10ft/doc/drivers.txt
share/ghostscript/5.10ft/doc/fonts.txt
share/ghostscript/5.10ft/doc/helpers.txt
share/ghostscript/5.10ft/doc/hershey.txt
share/ghostscript/5.10ft/doc/history1.txt
share/ghostscript/5.10ft/doc/history2.txt
share/ghostscript/5.10ft/doc/history3.txt
share/ghostscript/5.10ft/doc/humor.txt
share/ghostscript/5.10ft/doc/install.txt
share/ghostscript/5.10ft/doc/language.txt
share/ghostscript/5.10ft/doc/lib.txt
share/ghostscript/5.10ft/doc/make.txt
share/ghostscript/5.10ft/doc/new-user.txt
share/ghostscript/5.10ft/doc/ps2epsi.txt
share/ghostscript/5.10ft/doc/ps2pdf.txt
share/ghostscript/5.10ft/doc/psfiles.txt
share/ghostscript/5.10ft/doc/public.txt
share/ghostscript/5.10ft/doc/unix-lpr.txt
share/ghostscript/5.10ft/doc/use.txt
share/ghostscript/5.10ft/doc/xfonts.txt
share/ghostscript/5.10ft/docie.ps
share/ghostscript/5.10ft/examples/alphabet.ps
share/ghostscript/5.10ft/examples/cheq.ps
share/ghostscript/5.10ft/examples/chess.ps
share/ghostscript/5.10ft/examples/colorcir.ps
share/ghostscript/5.10ft/examples/escher.ps
share/ghostscript/5.10ft/examples/golfer.ps
share/ghostscript/5.10ft/examples/grayalph.ps
share/ghostscript/5.10ft/examples/ridt91.eps
share/ghostscript/5.10ft/examples/snowflak.ps
share/ghostscript/5.10ft/examples/tiger.ps
share/ghostscript/5.10ft/examples/waterfal.ps
share/ghostscript/5.10ft/font2c.ps
share/ghostscript/5.10ft/gs_btokn.ps
share/ghostscript/5.10ft/gs_ccfnt.ps
share/ghostscript/5.10ft/gs_cff.ps
share/ghostscript/5.10ft/gs_cidfn.ps
share/ghostscript/5.10ft/gs_cmap.ps
share/ghostscript/5.10ft/gs_dbt_e.ps
share/ghostscript/5.10ft/gs_diskf.ps
share/ghostscript/5.10ft/gs_dpnxt.ps
share/ghostscript/5.10ft/gs_dps.ps
share/ghostscript/5.10ft/gs_dps1.ps
share/ghostscript/5.10ft/gs_dps2.ps
share/ghostscript/5.10ft/gs_epsf.ps
share/ghostscript/5.10ft/gs_fonts.ps
share/ghostscript/5.10ft/gs_init.ps
share/ghostscript/5.10ft/gs_iso_e.ps
share/ghostscript/5.10ft/gs_kanji.ps
share/ghostscript/5.10ft/gs_ksb_e.ps
share/ghostscript/5.10ft/gs_l2img.ps
share/ghostscript/5.10ft/gs_lev2.ps
share/ghostscript/5.10ft/gs_mex_e.ps
share/ghostscript/5.10ft/gs_mro_e.ps
share/ghostscript/5.10ft/gs_pdf.ps
share/ghostscript/5.10ft/gs_pdf_e.ps
share/ghostscript/5.10ft/gs_pdfwr.ps
share/ghostscript/5.10ft/gs_pfile.ps
share/ghostscript/5.10ft/gs_res.ps
share/ghostscript/5.10ft/gs_setpd.ps
share/ghostscript/5.10ft/gs_statd.ps
share/ghostscript/5.10ft/gs_std_e.ps
share/ghostscript/5.10ft/gs_sym_e.ps
share/ghostscript/5.10ft/gs_ttf.ps
share/ghostscript/5.10ft/gs_typ42.ps
share/ghostscript/5.10ft/gs_type1.ps
share/ghostscript/5.10ft/gs_wan_e.ps
share/ghostscript/5.10ft/gslp.ps
share/ghostscript/5.10ft/hangul/allhangul.ps
share/ghostscript/5.10ft/hangul/hbase.ps
share/ghostscript/5.10ft/hangul/hbitmap.ps
share/ghostscript/5.10ft/hangul/hcomp.ps
share/ghostscript/5.10ft/hangul/hconfig.ps
share/ghostscript/5.10ft/hangul/hfftype.ps
share/ghostscript/5.10ft/hangul/kinit.ps
share/ghostscript/5.10ft/hangul/noneo.ps
share/ghostscript/5.10ft/impath.ps
share/ghostscript/5.10ft/kanji/allkanji.ps
share/ghostscript/5.10ft/kanji/article9.ps
share/ghostscript/5.10ft/kanji/fmaptype.ps
share/ghostscript/5.10ft/kanji/hankaku.ps
share/ghostscript/5.10ft/kanji/kbase.ps
share/ghostscript/5.10ft/kanji/kbitmap.ps
share/ghostscript/5.10ft/kanji/kcomp.ps
share/ghostscript/5.10ft/kanji/kconfig.ps
share/ghostscript/5.10ft/kanji/kfftype.ps
share/ghostscript/5.10ft/kanji/kfvflib.ps
share/ghostscript/5.10ft/kanji/kinit.ps
share/ghostscript/5.10ft/kanji/kmapping.ps
share/ghostscript/5.10ft/kanji/koutline.ps
share/ghostscript/5.10ft/kanji/metrics2.ps
share/ghostscript/5.10ft/kanji/vchars.ps
share/ghostscript/5.10ft/landscap.ps
share/ghostscript/5.10ft/level1.ps
share/ghostscript/5.10ft/lines.ps
share/ghostscript/5.10ft/markhint.ps
share/ghostscript/5.10ft/markpath.ps
share/ghostscript/5.10ft/necp2x.upp
share/ghostscript/5.10ft/necp2x6.upp
share/ghostscript/5.10ft/packfile.ps
share/ghostscript/5.10ft/pcharstr.ps
share/ghostscript/5.10ft/pdf2dsc.ps
share/ghostscript/5.10ft/pdf_2ps.ps
share/ghostscript/5.10ft/pdf_base.ps
share/ghostscript/5.10ft/pdf_draw.ps
share/ghostscript/5.10ft/pdf_font.ps
share/ghostscript/5.10ft/pdf_main.ps
share/ghostscript/5.10ft/pdf_sec.ps
share/ghostscript/5.10ft/pfbtogs.ps
share/ghostscript/5.10ft/ppath.ps
share/ghostscript/5.10ft/prfont.ps
share/ghostscript/5.10ft/printafm.ps
share/ghostscript/5.10ft/ps2ai.ps
share/ghostscript/5.10ft/ps2ascii.ps
share/ghostscript/5.10ft/ps2epsi.ps
share/ghostscript/5.10ft/ps2image.ps
share/ghostscript/5.10ft/quit.ps
share/ghostscript/5.10ft/ras1.upp
share/ghostscript/5.10ft/ras24.upp
share/ghostscript/5.10ft/ras3.upp
share/ghostscript/5.10ft/ras32.upp
share/ghostscript/5.10ft/ras4.upp
share/ghostscript/5.10ft/ras8m.upp
share/ghostscript/5.10ft/showchar.ps
share/ghostscript/5.10ft/showpage.ps
share/ghostscript/5.10ft/stc.upp
share/ghostscript/5.10ft/stc1520h.upp
share/ghostscript/5.10ft/stc2.upp
share/ghostscript/5.10ft/stc2_h.upp
share/ghostscript/5.10ft/stc2s_h.upp
share/ghostscript/5.10ft/stc500p.upp
share/ghostscript/5.10ft/stc500ph.upp
share/ghostscript/5.10ft/stc600ih.upp
share/ghostscript/5.10ft/stc600p.upp
share/ghostscript/5.10ft/stc600pl.upp
share/ghostscript/5.10ft/stc800ih.upp
share/ghostscript/5.10ft/stc800p.upp
share/ghostscript/5.10ft/stc800pl.upp
share/ghostscript/5.10ft/stc_h.upp
share/ghostscript/5.10ft/stc_l.upp
share/ghostscript/5.10ft/stcany.upp
share/ghostscript/5.10ft/stcinfo.ps
share/ghostscript/5.10ft/stcolor.ps
share/ghostscript/5.10ft/traceimg.ps
share/ghostscript/5.10ft/traceop.ps
share/ghostscript/5.10ft/type1enc.ps
share/ghostscript/5.10ft/type1ops.ps
share/ghostscript/5.10ft/uninfo.ps
share/ghostscript/5.10ft/unprot.ps
share/ghostscript/5.10ft/viewcmyk.ps
share/ghostscript/5.10ft/viewgif.ps
share/ghostscript/5.10ft/viewjpeg.ps
share/ghostscript/5.10ft/viewpbm.ps
share/ghostscript/5.10ft/viewpcx.ps
share/ghostscript/5.10ft/viewps2a.ps
share/ghostscript/5.10ft/wftopfa.ps
share/ghostscript/5.10ft/winmaps.ps
share/ghostscript/5.10ft/wrfont.ps
share/ghostscript/5.10ft/zeroline.ps
@dirrm share/ghostscript/5.10ft/doc
@dirrm share/ghostscript/5.10ft/examples
@dirrm share/ghostscript/5.10ft/hangul
@dirrm share/ghostscript/5.10ft/kanji
@dirrm share/ghostscript/5.10ft
share/ghostscript/5.50httf/Fontmap
share/ghostscript/5.50httf/acctest.ps
share/ghostscript/5.50httf/align.ps
share/ghostscript/5.50httf/bdftops.ps
share/ghostscript/5.50httf/bjc610a0.upp
share/ghostscript/5.50httf/bjc610a1.upp
share/ghostscript/5.50httf/bjc610a2.upp
share/ghostscript/5.50httf/bjc610a3.upp
share/ghostscript/5.50httf/bjc610a4.upp
share/ghostscript/5.50httf/bjc610a5.upp
share/ghostscript/5.50httf/bjc610a6.upp
share/ghostscript/5.50httf/bjc610a7.upp
share/ghostscript/5.50httf/bjc610a8.upp
share/ghostscript/5.50httf/bjc610b1.upp
share/ghostscript/5.50httf/bjc610b2.upp
share/ghostscript/5.50httf/bjc610b3.upp
share/ghostscript/5.50httf/bjc610b4.upp
share/ghostscript/5.50httf/bjc610b6.upp
share/ghostscript/5.50httf/bjc610b7.upp
share/ghostscript/5.50httf/bjc610b8.upp
share/ghostscript/5.50httf/caption.ps
share/ghostscript/5.50httf/cbjc600.ppd
share/ghostscript/5.50httf/cbjc800.ppd
share/ghostscript/5.50httf/cdj550.upp
share/ghostscript/5.50httf/cid2code.ps
share/ghostscript/5.50httf/decrypt.ps
share/ghostscript/5.50httf/doc/Bug-form.htm
share/ghostscript/5.50httf/doc/C-style.htm
share/ghostscript/5.50httf/doc/Commprod.htm
share/ghostscript/5.50httf/doc/Copying.htm
share/ghostscript/5.50httf/doc/Current.htm
share/ghostscript/5.50httf/doc/DLL.htm
share/ghostscript/5.50httf/doc/Devices.htm
share/ghostscript/5.50httf/doc/Drivers.htm
share/ghostscript/5.50httf/doc/Fonts.htm
share/ghostscript/5.50httf/doc/Helpers.htm
share/ghostscript/5.50httf/doc/Hershey.htm
share/ghostscript/5.50httf/doc/History1.htm
share/ghostscript/5.50httf/doc/History2.htm
share/ghostscript/5.50httf/doc/History3.htm
share/ghostscript/5.50httf/doc/History4.htm
share/ghostscript/5.50httf/doc/Htmstyle.htm
share/ghostscript/5.50httf/doc/Humor.htm
share/ghostscript/5.50httf/doc/Install.htm
share/ghostscript/5.50httf/doc/Language.htm
share/ghostscript/5.50httf/doc/Lib.htm
share/ghostscript/5.50httf/doc/Make.htm
share/ghostscript/5.50httf/doc/New-user.htm
share/ghostscript/5.50httf/doc/News.htm
share/ghostscript/5.50httf/doc/PUBLIC
share/ghostscript/5.50httf/doc/Ps2pdf.htm
share/ghostscript/5.50httf/doc/Psfiles.htm
share/ghostscript/5.50httf/doc/Public.htm
share/ghostscript/5.50httf/doc/Readme.htm
share/ghostscript/5.50httf/doc/Source.htm
share/ghostscript/5.50httf/doc/Unix-lpr.htm
share/ghostscript/5.50httf/doc/Use.htm
share/ghostscript/5.50httf/doc/Xfonts.htm
share/ghostscript/5.50httf/doc/license.hp8
share/ghostscript/5.50httf/doc/ps2epsi.txt
share/ghostscript/5.50httf/doc/readme.hp8
share/ghostscript/5.50httf/docie.ps
share/ghostscript/5.50httf/examples/alphabet.ps
share/ghostscript/5.50httf/examples/cheq.ps
share/ghostscript/5.50httf/examples/chess.ps
share/ghostscript/5.50httf/examples/colorcir.ps
share/ghostscript/5.50httf/examples/escher.ps
share/ghostscript/5.50httf/examples/golfer.ps
share/ghostscript/5.50httf/examples/grayalph.ps
share/ghostscript/5.50httf/examples/ridt91.eps
share/ghostscript/5.50httf/examples/snowflak.ps
share/ghostscript/5.50httf/examples/tiger.ps
share/ghostscript/5.50httf/examples/vasarely.ps
share/ghostscript/5.50httf/examples/waterfal.ps
share/ghostscript/5.50httf/font2c.ps
share/ghostscript/5.50httf/font2pcl.ps
share/ghostscript/5.50httf/gs_btokn.ps
share/ghostscript/5.50httf/gs_ccfnt.ps
share/ghostscript/5.50httf/gs_cff.ps
share/ghostscript/5.50httf/gs_cidfn.ps
share/ghostscript/5.50httf/gs_cmap.ps
share/ghostscript/5.50httf/gs_dbt_e.ps
share/ghostscript/5.50httf/gs_diskf.ps
share/ghostscript/5.50httf/gs_dpnxt.ps
share/ghostscript/5.50httf/gs_dps.ps
share/ghostscript/5.50httf/gs_dps1.ps
share/ghostscript/5.50httf/gs_dps2.ps
share/ghostscript/5.50httf/gs_epsf.ps
share/ghostscript/5.50httf/gs_fonts.ps
share/ghostscript/5.50httf/gs_init.ps
share/ghostscript/5.50httf/gs_iso_e.ps
share/ghostscript/5.50httf/gs_kanji.ps
share/ghostscript/5.50httf/gs_ksb_e.ps
share/ghostscript/5.50httf/gs_l2img.ps
share/ghostscript/5.50httf/gs_lev2.ps
share/ghostscript/5.50httf/gs_ll3.ps
share/ghostscript/5.50httf/gs_mex_e.ps
share/ghostscript/5.50httf/gs_mro_e.ps
share/ghostscript/5.50httf/gs_pdf_e.ps
share/ghostscript/5.50httf/gs_pdfwr.ps
share/ghostscript/5.50httf/gs_pfile.ps
share/ghostscript/5.50httf/gs_res.ps
share/ghostscript/5.50httf/gs_setpd.ps
share/ghostscript/5.50httf/gs_statd.ps
share/ghostscript/5.50httf/gs_std_e.ps
share/ghostscript/5.50httf/gs_sym_e.ps
share/ghostscript/5.50httf/gs_ttf.ps
share/ghostscript/5.50httf/gs_typ32.ps
share/ghostscript/5.50httf/gs_typ42.ps
share/ghostscript/5.50httf/gs_type1.ps
share/ghostscript/5.50httf/gs_wan_e.ps
share/ghostscript/5.50httf/gslp.ps
share/ghostscript/5.50httf/hangul/allhangul.ps
share/ghostscript/5.50httf/hangul/hbase.ps
share/ghostscript/5.50httf/hangul/hbitmap.ps
share/ghostscript/5.50httf/hangul/hcomp.ps
share/ghostscript/5.50httf/hangul/hconfig.ps
share/ghostscript/5.50httf/hangul/hinit.ps
share/ghostscript/5.50httf/hangul/hmapping.ps
share/ghostscript/5.50httf/hangul/houtline.ps
share/ghostscript/5.50httf/hangul/httf.ps
share/ghostscript/5.50httf/hangul/metrics2.ps
share/ghostscript/5.50httf/hangul/noneo.ps
share/ghostscript/5.50httf/impath.ps
share/ghostscript/5.50httf/landscap.ps
share/ghostscript/5.50httf/level1.ps
share/ghostscript/5.50httf/lines.ps
share/ghostscript/5.50httf/markhint.ps
share/ghostscript/5.50httf/markpath.ps
share/ghostscript/5.50httf/necp2x.upp
share/ghostscript/5.50httf/necp2x6.upp
share/ghostscript/5.50httf/packfile.ps
share/ghostscript/5.50httf/pcharstr.ps
share/ghostscript/5.50httf/pdf2dsc.ps
share/ghostscript/5.50httf/pdf_base.ps
share/ghostscript/5.50httf/pdf_draw.ps
share/ghostscript/5.50httf/pdf_font.ps
share/ghostscript/5.50httf/pdf_main.ps
share/ghostscript/5.50httf/pdf_ops.ps
share/ghostscript/5.50httf/pdf_sec.ps
share/ghostscript/5.50httf/pf2afm.ps
share/ghostscript/5.50httf/ppath.ps
share/ghostscript/5.50httf/prfont.ps
share/ghostscript/5.50httf/printafm.ps
share/ghostscript/5.50httf/ps2ai.ps
share/ghostscript/5.50httf/ps2ascii.ps
share/ghostscript/5.50httf/ps2epsi.ps
share/ghostscript/5.50httf/quit.ps
share/ghostscript/5.50httf/ras1.upp
share/ghostscript/5.50httf/ras24.upp
share/ghostscript/5.50httf/ras3.upp
share/ghostscript/5.50httf/ras32.upp
share/ghostscript/5.50httf/ras4.upp
share/ghostscript/5.50httf/ras8m.upp
share/ghostscript/5.50httf/showchar.ps
share/ghostscript/5.50httf/showpage.ps
share/ghostscript/5.50httf/stc.upp
share/ghostscript/5.50httf/stc1520h.upp
share/ghostscript/5.50httf/stc2.upp
share/ghostscript/5.50httf/stc2_h.upp
share/ghostscript/5.50httf/stc2s_h.upp
share/ghostscript/5.50httf/stc500p.upp
share/ghostscript/5.50httf/stc500ph.upp
share/ghostscript/5.50httf/stc600ih.upp
share/ghostscript/5.50httf/stc600p.upp
share/ghostscript/5.50httf/stc600pl.upp
share/ghostscript/5.50httf/stc800ih.upp
share/ghostscript/5.50httf/stc800p.upp
share/ghostscript/5.50httf/stc800pl.upp
share/ghostscript/5.50httf/stc_h.upp
share/ghostscript/5.50httf/stc_l.upp
share/ghostscript/5.50httf/stcany.upp
share/ghostscript/5.50httf/stcinfo.ps
share/ghostscript/5.50httf/stcolor.ps
share/ghostscript/5.50httf/traceimg.ps
share/ghostscript/5.50httf/traceop.ps
share/ghostscript/5.50httf/type1enc.ps
share/ghostscript/5.50httf/type1ops.ps
share/ghostscript/5.50httf/uninfo.ps
share/ghostscript/5.50httf/unprot.ps
share/ghostscript/5.50httf/viewcmyk.ps
share/ghostscript/5.50httf/viewgif.ps
share/ghostscript/5.50httf/viewjpeg.ps
share/ghostscript/5.50httf/viewpbm.ps
share/ghostscript/5.50httf/viewpcx.ps
share/ghostscript/5.50httf/viewps2a.ps
share/ghostscript/5.50httf/wftopfa.ps
share/ghostscript/5.50httf/winmaps.ps
share/ghostscript/5.50httf/wrfont.ps
share/ghostscript/5.50httf/zeroline.ps
share/ghostscript/fonts/a010013l.afm
share/ghostscript/fonts/a010013l.pfb
share/ghostscript/fonts/a010013l.pfm
share/ghostscript/fonts/a010015l.afm
share/ghostscript/fonts/a010015l.pfb
share/ghostscript/fonts/a010015l.pfm
share/ghostscript/fonts/a010033l.afm
share/ghostscript/fonts/a010033l.pfb
share/ghostscript/fonts/a010033l.pfm
share/ghostscript/fonts/a010035l.afm
share/ghostscript/fonts/a010035l.pfb
share/ghostscript/fonts/a010035l.pfm
share/ghostscript/fonts/b018012l.afm
share/ghostscript/fonts/b018012l.pfb
share/ghostscript/fonts/b018012l.pfm
share/ghostscript/fonts/b018015l.afm
share/ghostscript/fonts/b018015l.pfb
share/ghostscript/fonts/b018015l.pfm
share/ghostscript/fonts/b018032l.afm
share/ghostscript/fonts/b018032l.pfb
share/ghostscript/fonts/b018032l.pfm
share/ghostscript/fonts/b018035l.afm
share/ghostscript/fonts/b018035l.pfb
share/ghostscript/fonts/b018035l.pfm
share/ghostscript/fonts/bchb.afm
share/ghostscript/fonts/bchb.pfa
share/ghostscript/fonts/bchbi.afm
share/ghostscript/fonts/bchbi.pfa
share/ghostscript/fonts/bchr.afm
share/ghostscript/fonts/bchr.pfa
share/ghostscript/fonts/bchri.afm
share/ghostscript/fonts/bchri.pfa
share/ghostscript/fonts/c059013l.afm
share/ghostscript/fonts/c059013l.pfb
share/ghostscript/fonts/c059013l.pfm
share/ghostscript/fonts/c059016l.afm
share/ghostscript/fonts/c059016l.pfb
share/ghostscript/fonts/c059016l.pfm
share/ghostscript/fonts/c059033l.afm
share/ghostscript/fonts/c059033l.pfb
share/ghostscript/fonts/c059033l.pfm
share/ghostscript/fonts/c059036l.afm
share/ghostscript/fonts/c059036l.pfb
share/ghostscript/fonts/c059036l.pfm
share/ghostscript/fonts/d050000l.afm
share/ghostscript/fonts/d050000l.pfb
share/ghostscript/fonts/d050000l.pfm
share/ghostscript/fonts/fcyr.afm
share/ghostscript/fonts/fcyr.gsf
share/ghostscript/fonts/fcyri.afm
share/ghostscript/fonts/fcyri.gsf
share/ghostscript/fonts/fhirw.gsf
share/ghostscript/fonts/fhirw.pfm
share/ghostscript/fonts/fkarw.gsf
share/ghostscript/fonts/fkarw.pfm
share/ghostscript/fonts/hrger.pfa
share/ghostscript/fonts/hrgerb.gsf
share/ghostscript/fonts/hrgerd.gsf
share/ghostscript/fonts/hrgero.gsf
share/ghostscript/fonts/hrgkc.gsf
share/ghostscript/fonts/hrgks.gsf
share/ghostscript/fonts/hrgrr.pfa
share/ghostscript/fonts/hrgrrb.gsf
share/ghostscript/fonts/hrgrro.gsf
share/ghostscript/fonts/hritr.pfa
share/ghostscript/fonts/hritrb.gsf
share/ghostscript/fonts/hritro.gsf
share/ghostscript/fonts/hrpld.pfa
share/ghostscript/fonts/hrpldb.gsf
share/ghostscript/fonts/hrpldbi.gsf
share/ghostscript/fonts/hrpldi.pfa
share/ghostscript/fonts/hrplr.gsf
share/ghostscript/fonts/hrplrb.gsf
share/ghostscript/fonts/hrplrbo.gsf
share/ghostscript/fonts/hrplro.gsf
share/ghostscript/fonts/hrpls.gsf
share/ghostscript/fonts/hrplsb.gsf
share/ghostscript/fonts/hrplsbo.gsf
share/ghostscript/fonts/hrplso.gsf
share/ghostscript/fonts/hrplt.pfa
share/ghostscript/fonts/hrpltb.gsf
share/ghostscript/fonts/hrpltbi.gsf
share/ghostscript/fonts/hrplti.pfa
share/ghostscript/fonts/hrscc.pfa
share/ghostscript/fonts/hrsccb.gsf
share/ghostscript/fonts/hrscco.gsf
share/ghostscript/fonts/hrscs.pfa
share/ghostscript/fonts/hrscsb.gsf
share/ghostscript/fonts/hrscso.gsf
share/ghostscript/fonts/hrsyr.gsf
share/ghostscript/fonts/n019003l.afm
share/ghostscript/fonts/n019003l.pfb
share/ghostscript/fonts/n019003l.pfm
share/ghostscript/fonts/n019004l.afm
share/ghostscript/fonts/n019004l.pfb
share/ghostscript/fonts/n019004l.pfm
share/ghostscript/fonts/n019023l.afm
share/ghostscript/fonts/n019023l.pfb
share/ghostscript/fonts/n019023l.pfm
share/ghostscript/fonts/n019024l.afm
share/ghostscript/fonts/n019024l.pfb
share/ghostscript/fonts/n019024l.pfm
share/ghostscript/fonts/n019043l.afm
share/ghostscript/fonts/n019043l.pfb
share/ghostscript/fonts/n019043l.pfm
share/ghostscript/fonts/n019044l.afm
share/ghostscript/fonts/n019044l.pfb
share/ghostscript/fonts/n019044l.pfm
share/ghostscript/fonts/n019063l.afm
share/ghostscript/fonts/n019063l.pfb
share/ghostscript/fonts/n019063l.pfm
share/ghostscript/fonts/n019064l.afm
share/ghostscript/fonts/n019064l.pfb
share/ghostscript/fonts/n019064l.pfm
share/ghostscript/fonts/n021003l.afm
share/ghostscript/fonts/n021003l.pfb
share/ghostscript/fonts/n021003l.pfm
share/ghostscript/fonts/n021004l.afm
share/ghostscript/fonts/n021004l.pfb
share/ghostscript/fonts/n021004l.pfm
share/ghostscript/fonts/n021023l.afm
share/ghostscript/fonts/n021023l.pfb
share/ghostscript/fonts/n021023l.pfm
share/ghostscript/fonts/n021024l.afm
share/ghostscript/fonts/n021024l.pfb
share/ghostscript/fonts/n021024l.pfm
share/ghostscript/fonts/n022003l.afm
share/ghostscript/fonts/n022003l.pfb
share/ghostscript/fonts/n022003l.pfm
share/ghostscript/fonts/n022004l.afm
share/ghostscript/fonts/n022004l.pfb
share/ghostscript/fonts/n022004l.pfm
share/ghostscript/fonts/n022023l.afm
share/ghostscript/fonts/n022023l.pfb
share/ghostscript/fonts/n022023l.pfm
share/ghostscript/fonts/n022024l.afm
share/ghostscript/fonts/n022024l.pfb
share/ghostscript/fonts/n022024l.pfm
share/ghostscript/fonts/p052003l.afm
share/ghostscript/fonts/p052003l.pfb
share/ghostscript/fonts/p052003l.pfm
share/ghostscript/fonts/p052004l.afm
share/ghostscript/fonts/p052004l.pfb
share/ghostscript/fonts/p052004l.pfm
share/ghostscript/fonts/p052023l.afm
share/ghostscript/fonts/p052023l.pfb
share/ghostscript/fonts/p052023l.pfm
share/ghostscript/fonts/p052024l.afm
share/ghostscript/fonts/p052024l.pfb
share/ghostscript/fonts/p052024l.pfm
share/ghostscript/fonts/putb.pfa
share/ghostscript/fonts/putbi.pfa
share/ghostscript/fonts/putr.pfa
share/ghostscript/fonts/putri.pfa
share/ghostscript/fonts/s050000l.afm
share/ghostscript/fonts/s050000l.pfb
share/ghostscript/fonts/s050000l.pfm
share/ghostscript/fonts/u003043t.afm
share/ghostscript/fonts/u003043t.gsf
share/ghostscript/fonts/u003043t.pfm
share/ghostscript/fonts/u004006t.afm
share/ghostscript/fonts/u004006t.gsf
share/ghostscript/fonts/u004006t.pfm
share/ghostscript/fonts/z003034l.afm
share/ghostscript/fonts/z003034l.pfb
share/ghostscript/fonts/z003034l.pfm
@dirrm share/ghostscript/fonts
@dirrm share/ghostscript/5.50httf/doc
@dirrm share/ghostscript/5.50httf/examples
@dirrm share/ghostscript/5.50httf/hangul
@dirrm share/ghostscript/5.50httf
@dirrm share/ghostscript
+190
View File
@@ -0,0 +1,190 @@
#! /bin/sh
# driverselection
/usr/bin/dialog --title "Ghostscript 5 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\
"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 HL 720 and HL 730" OFF \
"bj10e" "Canon BubbleJet BJ10e" ON \
"bj200" "Canon BubbleJet BJ200 and BJC-240(b&w)" ON \
"bjc600" "Canon Color BJC-240/600/4000/70 + Apple StyleWriter 2x00" ON \
"bjc800" "Canon Color BubbleJet BJC-240/800" ON \
"lbp8" "Canon LBP-8II laser printer" OFF \
"lips3" "Canon LIPS III laser printer in English/CaPSL mode" OFF \
"m8510" "C.Itoh M8510 printer" OFF \
"uniprint" "Configurable Color ESC/P,ESC/P2,HP-RTL/PCL mono/color driver" ON \
"la50" "DEC LA50 printer" OFF \
"la70" "DEC LA70 printer" OFF \
"la75" "DEC LA75 printer" OFF \
"la75plus" "DEC LA75plus printer" OFF \
"lj250" "DEC LJ250 Companion color printer" OFF \
"declj250" "DEC LJ250 driver (alternate)" OFF \
"ln03" "DEC LN03 printer" OFF \
"ap3250" "Epson AP3250" OFF \
"epson" "Epson-compatible dot matrix, 9/24-pin" OFF \
"eps9mid" "Epson-compatible 9-pin, medium resol" OFF \
"eps9high" "Epson-compatible 9-pin, high resol" OFF \
"lp8000" "Epson LP-8000 line printer" OFF \
"lq850" "Epson LQ-850 (360x360), ok for Canon BJ300 in LQ850 emul" OFF \
"epsonc" "Epson LQ-2550 and Fujitsu 3400/2400/1200 color" OFF \
"st800" "Epson Stylus 800 printer" OFF \
"stcolor" "Epson Stylus Color" OFF \
"lp2563" "HP 2563B line printer" OFF \
"dnj650c" "HP DesignJet 650C" OFF \
"deskjet" "HP DeskJet and DeskJet Plus" ON \
"djet500" "HP DeskJet 500" 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, 24 bit/pixel color + FS dithering" ON \
"cdjmono" "HP DeskJet 500/510/520/540C b/w printing" ON \
"cdj500" "HP DeskJet 500C (same as cdjcolor)" OFF \
"cdj550" "HP DeskJet 550C/560C" ON \
"cdj670" "HP DeskJet 670/690" OFF \
"cdj850" "HP DeskJet 850/855/870/1100" OFF \
"cdj890" "HP DeskJet 890" OFF \
"cdj1600" "HP DeskJet 1600" OFF \
"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" OFF \
"ljet4" "HP LaserJet 4 (defaults to 600 dpi)" ON \
"lj4dith" "HP LaserJet 4 with Floyd-Steinberg dithering" OFF \
"cljet5" "HP LaserJet 5/5M Color " OFF \
"lj5mono" "HP LaserJet 5 and 6 family (PCL5 / PCL XL), bitmap" OFF \
"lj5gray" "HP LaserJet 5 and 6 family, gray-scale bitmap" OFF \
"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 color printer (also for 1200C)" ON \
"pxlmono" "HP PCL XL black-and-white printers (LaserJet 5 and 6 family)" ON \
"pxlcolor" "HP PCL XL color printers (none available yet)" ON \
"ibmpro" "IBM 9-pin Proprinter" OFF \
"jetp3852" "IBM Jetprinter ink-jet color (Model #3852)" OFF \
"imagen" "Imagen ImPress printers" OFF \
"cp50" "Mitsubishi CP50 color" OFF \
"necp6" "NEC P6/P6+/P60, 360x360 DPI resol" OFF \
"oce9050" "OCE 9050 printer" OFF \
"oki182" "Okidata MicroLine 182" OFF \
"okiibm" "Okidata MicroLine IBM-compatible printers" OFF \
"r4081" "Ricoh 4081 laser printer" OFF \
"sj48" "StarJet 48 inkjet printer" OFF \
"xes" "Xerox XES printers (2700, 3700, 4045, etc.)" OFF \
"bmpmono" "BMP Monochrome" OFF \
"bmp16" "BMP 4-bit EGA/VGA" OFF \
"bmp256" "BMP 8-bit 256-color" OFF \
"bmp16m" "BMP 24-bit" OFF \
"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 \
"sxlcrt" "CRT sixels, e.g. for VT240-like terminals" 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 \
"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 \
"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 \
"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 \
"x11" "X Windows version 11, release >=4" ON \
"x11alpha" "X Windows masquer. as device with alpha capability" ON \
"x11cmyk" "X Windows masquer. as 1-bit-per-plane CMYK device" ON \
"x11cmyk2" "X Windows as a 2-bit-per-plane CMYK device" OFF \
"x11cmyk4" "X Windows as a 4-bit-per-plane CMYK device" OFF \
"x11cmyk8" "X Windows as an 8-bit-per-plane CMYK device" OFF \
"x11gray2" "X Windows as a 2-bit gray-scale device" ON \
"x11gray4" "X Windows as a 4-bit gray-scale device" ON \
"x11mono" "X Windows masquer. as black-and-white device" ON \
2> /tmp/checklist.tmp.$$
retval=$?
choice=`cat /tmp/checklist.tmp.$$`
rm -f /tmp/checklist.tmp.$$
case $retval in
0) if [ -z "$choice" ]; then
echo "Nothing selected"
exit 1;
fi
;;
1) echo "Cancel pressed."
exit 1
;;
esac
# bring it into the right format with '.dev' appended to each driver name
echo "DEVICE_DEVS=$choice" \
| sed -e "s/\"//g" \
| sed -e "s/ /.dev /g" \
| sed -e "s/$/.dev/g" \
> ${WRKSRC}/unix-gcc.mak.new
# create one new Makefile, where DEVICE_DEVS contains all wanted devices
cat ${WRKSRC}/unix-gcc.mak >> ${WRKSRC}/unix-gcc.mak.new
mv ${WRKSRC}/unix-gcc.mak.new ${WRKSRC}/unix-gcc.mak
@@ -0,0 +1,9 @@
#! /bin/sh
cat - > ${WRKSRC}/unix-gcc.mak.new << !EOT
DEVICE_DEVS=appledmp.dev iwhi.dev iwlo.dev iwlq.dev hl7x0.dev bj10e.dev bj200.dev bjc600.dev bjc800.dev lbp8.dev lips3.dev m8510.dev uniprint.dev la50.dev la70.dev la75.dev la75plus.dev lj250.dev declj250.dev ln03.dev ap3250.dev epson.dev eps9mid.dev eps9high.dev lp8000.dev lq850.dev epsonc.dev st800.dev stcolor.dev lp2563.dev dnj650c.dev deskjet.dev djet500.dev cdeskjet.dev djet500c.dev cdjcolor.dev cdjmono.dev cdj500.dev cdj550.dev cdj670.dev cdj850.dev cdj890.dev cdj1600.dev laserjet.dev ljetplus.dev ljet2p.dev ljet3.dev ljet3d.dev ljet4.dev lj4dith.dev cljet5.dev lj5mono.dev lj5gray.dev pj.dev pjetxl.dev pjxl.dev paintjet.dev pjxl300.dev pxlmono.dev pxlcolor.dev ibmpro.dev jetp3852.dev imagen.dev cp50.dev necp6.dev oce9050.dev oki182.dev okiibm.dev r4081.dev sj48.dev xes.dev bmpmono.dev bmp16.dev bmp256.dev bmp16m.dev ccr.dev cgmmono.dev cgm8.dev cgm24.dev sxlcrt.dev dfaxhigh.dev dfaxlow.dev faxg3.dev faxg32d.dev faxg4.dev bit.dev bitrgb.dev bitcmyk.dev cif.dev miff24.dev inferno.dev jpeg.dev jpeggray.dev mgrmono.dev mgrgray2.dev mgrgray4.dev mgrgray8.dev mgr4.dev mgr8.dev pcxmono.dev pcxgray.dev pcx16.dev pcx256.dev pcx24b.dev pcxcmyk.dev pdfwrite.dev plan9bm.dev pbm.dev pbmraw.dev pgm.dev pgmraw.dev pgnm.dev pgnmraw.dev pnm.dev pnmraw.dev ppm.dev ppmraw.dev pkm.dev pkmraw.dev pngmono.dev pnggray.dev png16.dev png256.dev png16m.dev psmono.dev psgray.dev psrgb.dev pswrite.dev epswrite.dev sgirgb.dev t4693d2.dev t4693d4.dev t4693d8.dev tek4696.dev tiffcrle.dev tiffg3.dev tiffg32d.dev tiffg4.dev tiff12nc.dev tiff24nc.dev tifflzw.dev tiffpack.dev x11.dev x11alpha.dev x11cmyk.dev x11cmyk2.dev x11cmyk4.dev x11cmyk8.dev x11gray2.dev x11gray4.dev x11mono.dev
!EOT
# create one new Makefile, where DEVICE_DEVS contains all wanted devices
cat ${WRKSRC}/unix-gcc.mak >> ${WRKSRC}/unix-gcc.mak.new
mv ${WRKSRC}/unix-gcc.mak.new ${WRKSRC}/unix-gcc.mak