freebsd-ports/print/ghostscript-gpl/scripts/configure
Rong-En Fan d23166a69c - Update to 8.60. The contributed drivers made by gs-esp are now merged in,
but still missing improved CJKV font handling functions.

PR:		ports/115395
Submitted by:	KATO Tsuguru <tkato432 at yahoo.com>
2007-08-16 15:20:30 +00:00

439 lines
24 KiB
Bash

#! /bin/sh
# $FreeBSD$
# configure - gs driver preconfiguration, manual driver selection
# by Andreas Klemm <andreas@FreeBSD.org>
tempfile=`mktemp -t checklist`
if [ -z "${WITHOUT_X11}" ]; then
x11devs="x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 \
x11gray2 x11gray4 x11mono x11rg16x x11rg32x"
fi
if [ -n "${WITH_SVGALIB}" ]; then
svgalibdevs="lvga256 vgalib"
fi
if [ -n "${WITH_ICONV}" ]; then
iconvdevs="oprp opvp"
fi
if [ ! -z "${GS_DRIVERS_LIST}" ]; then
set ${GS_DRIVERS_LIST}
else
set \
$x11devs \
$svgalibdevs \
$iconvdevs \
md2k md5k \
md50Mono md50Eco md1xMono \
appledmp iwhi iwlo iwlq hl7x0 bj10e \
bj10v bj10vh bj200 bjc600 bjc800 \
bjccmyk bjccolor bjcgray bjcmono \
lbp8 \
lbp310 lbp320 \
lips2p lips3 lips4 bjc880j lips4v \
m8510 coslw2p coslwxl uniprint \
dmprt \
dl2100 la50 la70 la75 la75plus ln03 \
lj250 declj250 ap3250 epson eps9mid eps9high lp8000 \
epag \
escpage lp2000 \
alc8600 alc8500 alc2000 alc4000 alc1900 alc4100 \
lp9800c lp9000c lp9500c lp8800c lp8300c lp8500c lp3000c \
lp8200c lp8000c \
epl6100 epl5900 epl5800 \
epl2050 epl2050p epl2120 epl2500 epl2750 \
lp9000b lp2500 lp9100 lp7900 lp7500 lp2400 lp2200 lp9400 \
lp8900 lp8700 lp8100 lp7700 lp8600f lp8400f lp8300f lp1900 \
lp9600s lp9300 lp9600 lp8600 lp1800 \
lq850 epsonc \
mj700v2c mj500c mj6000c mj8000c \
st800 stcolor photoex \
fmlbp fmpr \
lp2563 dnj650c deskjet djet500 cdeskjet \
djet500c cdjcolor cdjmono cdj500 cdj550 dj505j \
cdj670 cdj850 cdj880 cdj890 cdj1600 chp2200 cdj970 \
laserjet ljetplus ljet2p ljet3 ljet3d ljet4 ljet4d lj4dith \
ljet4pjl lj4dithp \
cljet5 cljet5c cljet5pr lj5mono lj5gray \
pj pjetxl pjxl paintjet \
pjxl300 pxlmono pxlcolor \
pcl3 \
ijs ibmpro jetp3852 imagen fs600 lxm5700m \
lxm3200 lx5000 lex2050 lex3200 lex5700 lex7000 \
cp50 \
pr1000 pr1000_4 pr150 pr201 picty180 \
necp6 \
npdl \
oce9050 oki182 okiibm \
ml600 oki4w \
atx23 atx24 atx38 r4081 \
rpdl \
gdi \
jj100 \
sj48 t4693d2 t4693d4 t4693d8 tek4696 \
xes \
bmpmono bmpgray bmp16 bmp256 bmp16m bmp32b bmpsep1 bmpsep8 \
ccr \
cgmmono cgm8 cgm24 \
cif \
dfaxhigh dfaxlow \
xcf xcfcmyk \
faxg3 faxg32d faxg4 \
miff24 inferno jpeg jpeggray \
mag16 mag256 \
mgrmono mgrgray2 mgrgray4 mgrgray8 mgr4 mgr8 \
pcxmono pcxgray pcx16 pcx256 pcx24b pcxcmyk pdfwrite \
psdrgb psdcmyk \
bit bitrgb bitcmyk plan9bm pam pbm pbmraw \
pgm pgmraw pgnm pgnmraw pnm pnmraw ppm ppmraw \
pkm pkmraw pksm pksmraw \
pngmono pnggray png16 png256 png16m pngalpha \
psmono psgray psrgb \
pswrite ps2write epswrite cfax sgirgb sunhmono \
tiffcrle tiffg3 tiffg32d tiffg4 tiffgray \
tiff12nc tiff24nc tiff32nc tiffsep tifflzw tiffpack \
bbox \
devicen perm spotcmyk \
imdi wtsimdi wtscmyk
fi
for i; do
eval status_$i=ON
done
if [ -z "${BATCH}" ]; then
/usr/bin/dialog --title "GPL Ghostscript driver configuration" --clear \
--checklist "\n\
This new ghostscript driver configuration dialog allows you to choose \n\
only those gs drivers, you really need. Don't think too economical, since \n\
other programs in the ports collection might need some of the default gs \n\
file format drivers. The gs5 default drivers are preselected. \n\
Have fun with this new configuration style ! -andreas \n\n\
Please choose options by pressing SPACE to TOGGLE an option ON/OFF ?" -1 -1 9 \
"x11" "X Window System version 11, release >=4" "$status_x11" \
"x11alpha" "X Window System masquer. as device with alpha capability" "$status_x11alpha" \
"x11cmyk" "X Window System masquer. as 1-bit-per-plane CMYK device" "$status_x11cmyk" \
"x11cmyk2" "X Window System as a 2-bit-per-plane CMYK device" "$status_x11cmyk2" \
"x11cmyk4" "X Window System as a 4-bit-per-plane CMYK device" "$status_x11cmyk4" \
"x11cmyk8" "X Window System as an 8-bit-per-plane CMYK device" "$status_x11cmyk8" \
"x11gray2" "X Window System as a 2-bit gray-scale device" "$status_x11gray2" \
"x11gray4" "X Window System as a 4-bit gray-scale device" "$status_x11gray4" \
"x11mono" "X Window System masquer. as black-and-white device" "$status_x11mono" \
"x11rg16x" "X Window System with G5/B5/R6 pixel layout for testing" "$status_x11rg16x" \
"x11rg32x" "X Window System with G11/B10/R11 pixel layout for testing" "$status_x11rg32x" \
"lvga256" "SVGAlib, 256-color VGA modes" "$status_lvga256" \
"vgalib" "SVGAlib, 16-color VGA modes" "$status_vgalib" \
"md2k" "ALPS MD-2000/2010/4000/1300/1500/5000 [contrib]" "$status_md2k" \
"md5k" "ALPS MD-5000 Eco Mode [contrib]" "$status_md5k" \
"md50Mono" "ALPS MD-5000 Monochrome [contrib]" "$status_md50Mono" \
"md50Eco" "ALPS MD-5000 Eco Mode [contrib]" "$status_md50Eco" \
"md1xMono" "ALPS MD-1x00 Monochrome [contrib]" "$status_md1xMono" \
"appledmp" "Apple Dot Matrix Printer / Imagewriter" "$status_appledmp" \
"iwhi" "Apple Imagewriter, high-resolution mode" "$status_iwhi" \
"iwlo" "Apple Imagewriter, low-resolution mode" "$status_iwlo" \
"iwlq" "Apple Imagewriter LQ in 320 x 216 dpi mode" "$status_iwlq" \
"hl7x0" "Brother HL720 and HL730 (HL760=PCL), MFC6550MC Fax Machine" "$status_hl7x0" \
"hl1240" "Brother HL-1030/240 (600x600 dpi) [contrib]" "$status_hl1250" \
"hl1250" "Brother HL-1050/1070/1250/1270N (1200x600 dpi) [contrib]" "$status_hl1250" \
"bj10e" "Canon BubbleJet BJ-10e" "$status_bj10e" \
"bj10v" "Canon BubbleJet BJ-10v [contrib]" "$status_bj10v" \
"bj10vh" "Canon BubbleJet BJ-10v, high-mergin [contrib]" "$status_bj10vh" \
"bj200" "Canon BubbleJet BJ-200 and BJC-240(b&w)" "$status_bj200" \
"bjc600" "Canon Color BJC-600/4xxx/70 + Apple StyleWriter 2x00" "$status_bjc600" \
"bjc800" "Canon Color BubbleJet BJC-240/800" "$status_bjc800" \
"bjccmyk" "Canon Color BubbleJet BJC-210/240/250/265/1000 [contrib]" "$status_bjccmyk" \
"bjccolor" "Canon Color BubbleJet BJC-210 ... 1000 truecolor [contrib]" "$status_bjccolor" \
"bjcgray" "Canon Color BubbleJet BJC-210 ... 1000 grayscale [contrib]" "$status_bjcgray" \
"bjcmono" "Canon Color BubbleJet BJC-210 ... 1000 monochrome [contrib]" "$status_bjcmono" \
"lbp8" "Canon LBP-8II laser printer" "$status_lbp8" \
"lbp310" "Canon LBP-310 [contrib]" "$status_lbp310" \
"lbp320" "Canon LBP-320 Pro/LBP-350 [contrib]" "$status_lbp320" \
"lips2p" "Canon LIPS II+ [contrib]" "$status_lips2p" \
"lips3" "Canon LIPS III [contrib]" "$status_lips3" \
"lips4" "Canon LIPS IV [contrib]" "$status_lips4" \
"bjc880j" "Canon LIPS IVc (BJC-680J/880J) [contrib]" "$status_bjc880j" \
"lips4v" "Canon LIPS IV, vector output mode [contrib]" "$status_lips4v" \
"m8510" "C.Itoh M8510 printer" "$status_m8510" \
"coslw2p" "CoStar LabelWriter II II/Plus" "$status_coslw2p" \
"coslwxl" "CoStar LabelWriter XL" "$status_coslwxl" \
"uniprint" "Configurable ESC/P,ESC/P2,HP-RTL/PCL,P2X mono/color driver" "$status_uniprint" \
"dmprt" "Configurable dot matrix printer driver [contrib]" "$status_dmprt" \
"dl2100" "DEC DL2100 [contrib]" "$status_dl2100" \
"la50" "DEC LA50 [contrib]" "$status_la50" \
"la70" "DEC LA70 [contrib]" "$status_la70" \
"la75" "DEC LA75 [contrib]" "$status_la75" \
"la75plus" "DEC LA75+ [contrib]" "$status_la75plus" \
"ln03" "DEC LN03 [contrib]" "$status_ln03" \
"lj250" "DEC LJ250 Companion color printer" "$status_lj250" \
"declj250" "DEC LJ250 driver (alternate)" "$status_declj250" \
"ap3250" "Epson ActionPrinter 3250" "$status_ap3250" \
"epson" "Epson-compatible dot matrix, 9/24-pin" "$status_epson" \
"eps9mid" "Epson-compatible 9-pin, interleaved lines, medium resol" "$status_eps9mid" \
"eps9high" "Epson-compatible 9-pin, interleaved lines, triple resol" "$status_eps9high" \
"lp8000" "Epson LP-8000 line printer" "$status_lp8000" \
"epag" "Epson ESC/Page laser printer (generic) [EPAG]" "$status_epag" \
"escpage" "Epson ESC/Page laser printer (generic) [contrib]" "$status_escpage" \
"lp2000" "Epson LP-2000/3000/7000/7000G laser printer [contrib]" "$status_lp2000" \
"alc8600" "Epson AL-C8600 color laser printer [contrib]" "$status_alc8600" \
"alc8500" "Epson AL-C8500 color laser printer [contrib]" "$status_alc8500" \
"alc2000" "Epson AL-C2000 color laser printer [contrib]" "$status_alc2000" \
"alc4000" "Epson AL-C4000 color laser printer [contrib]" "$status_alc4000" \
"alc1900" "Epson AL-C1900 color laser printer [contrib]" "$status_alc1900" \
"alc4100" "Epson AL-C4100 color laser printer [contrib]" "$status_alc4100" \
"lp9800c" "Epson LP-9800C color laser printer [contrib]" "$status_lp9800c" \
"lp9000c" "Epson LP-9000C color laser printer [contrib]" "$status_lp9000c" \
"lp9500c" "Epson LP-9500C color laser printer [contrib]" "$status_lp9500c" \
"lp8800c" "Epson LP-8800C color laser printer [contrib]" "$status_lp8800c" \
"lp8300c" "Epson LP-8300C color laser printer [contrib]" "$status_lp8300c" \
"lp8500c" "Epson LP-8500C color laser printer [contrib]" "$status_lp8500c" \
"lp3000c" "Epson LP-3000C color laser printer [contrib]" "$status_lp3000c" \
"lp8200c" "Epson LP-8200C color laser printer [contrib]" "$status_lp8200c" \
"lp8000c" "Epson LP-8000C color laser printer [contrib]" "$status_lp8000c" \
"epl6100" "Epson EPL-6100 laser printer [contrib]" "$status_epl6100" \
"epl5900" "Epson EPL-5900 laser printer [contrib]" "$status_epl5900" \
"epl5800" "Epson EPL-5800 laser printer [contrib]" "$status_epl5800" \
"epl2050" "Epson EPL-N2050 laser printer [contrib]" "$status_epl2050" \
"epl2050p" "Epson EPL-N2050+ laser printer [contrib]" "$status_epl2050p" \
"epl2120" "Epson EPL-N2120 laser printer [contrib]" "$status_epl2120" \
"epl2500" "Epson EPL-N2500 laser printer [contrib]" "$status_epl2500" \
"epl2750" "Epson EPL-N2750 laser printer [contrib]" "$status_epl2750" \
"lp9000b" "Epson LP-9000B laser printer [contrib]" "$status_lp9000b" \
"lp2500" "Epson LP-2500 laser printer [contrib]" "$status_lp2500" \
"lp9100" "Epson LP-9100(R) laser printer [contrib]" "$status_lp9100" \
"lp7900" "Epson LP-7900(R) laser printer [contrib]" "$status_lp7900" \
"lp7500" "Epson LP-7500(R) laser printer [contrib]" "$status_lp7500" \
"lp2400" "Epson LP-2400 laser printer [contrib]" "$status_lp2400" \
"lp2200" "Epson LP-2200 laser printer [contrib]" "$status_lp2200" \
"lp9400" "Epson LP-9400(R) laser printer [contrib]" "$status_lp9400" \
"lp8900" "Epson LP-8900(R) laser printer [contrib]" "$status_lp8900" \
"lp8700" "Epson LP-8700(R) laser printer [contrib]" "$status_lp8700" \
"lp8100" "Epson LP-8100(R) laser printer [contrib]" "$status_lp8100" \
"lp7700" "Epson LP-7700(R) laser printer [contrib]" "$status_lp7700" \
"lp8600f" "Epson LP-8600FX(N) laser printer [contrib]" "$status_lp8600f" \
"lp8400f" "Epson LP-8400FX(N) laser printer [contrib]" "$status_lp8400f" \
"lp8300f" "Epson LP-8300F laser printer [contrib]" "$status_lp8300f" \
"lp1900" "Epson LP-1900(N) laser printer [contrib]" "$status_lp1900" \
"lp9600s" "Epson LP-9600S laser printer [contrib]" "$status_lp9600s" \
"lp9300" "Epson LP-9300 laser printer [contrib]" "$status_lp9300" \
"lp9600" "Epson LP-9600 laser printer [contrib]" "$status_lp9600" \
"lp8600" "Epson LP-8600FX(N) laser printer [contrib]" "$status_lp8600" \
"lp1800" "Epson LP-1800 laser printer [contrib]" "$status_lp1800" \
"lq850" "Epson LQ-850 (360x360), ok for Canon BJ300 in LQ850 emul" "$status_lq850" \
"epsonc" "Epson LQ-2550 and Fujitsu 3400/2400/1200 color" "$status_epsonc" \
"mj700v2c" "Epson MachJet series, CMYK [contrib]" "$status_mj700v2c" \
"mj500c" "Epson MachJet MJ-500C 360dpi, CMY or mono [contrib]" "$status_mj500c" \
"mj6000c" "Epson MachJet MJ-830C/MJ-930C/MJ-6000C [contrib]" "$status_mj6000c" \
"mj8000c" "Epson MachJet MJ-8000C [contrib]" "$status_mj8000c" \
"st800" "Epson Stylus 800 printer" "$status_st800" \
"stcolor" "Epson Stylus Color and II/IIs/1500 (see driver docu)" "$status_stcolor" \
"photoex" "Epson Stylus Color Photo, Photo EX, Photo 700" "$status_photoex" \
"fmlbp" "Fujitsu contrib2xx Page Printer [contrib]" "$status_fmlbp" \
"fmpr" "Fujitsu contrib [contrib]" "$status_fmpr" \
"lp2563" "HP 2563B line printer" "$status_lp2563" \
"dnj650c" "HP DesignJet 650C" "$status_dnj650c" \
"deskjet" "HP DeskJet and DeskJet Plus" "$status_deskjet" \
"djet500" "HP DeskJet 500 (for DeskJet 600 use -r600)" "$status_djet500" \
"cdeskjet" "HP DeskJet 500C, 1 bit/pixel color" "$status_cdeskjet" \
"djet500c" "HP DeskJet 500C alternate driver, not for 550/560C" "$status_djet500c" \
"cdjcolor" "HP DeskJet 500C/540C, 24bit/pxl+FS dith, Citizen Projet IIc" "$status_cdjcolor" \
"cdjmono" "HP DeskJet 500/510/520/540C b/w printing" "$status_cdjmono" \
"cdj500" "HP DeskJet 500/540C (same as cdjcolor)" "$status_cdj500" \
"cdj550" "HP DeskJet 550C/560C/660C/660Cse" "$status_cdj550" \
"dj505j" "HP DeskJet 505J" "$status_dj505j" \
"cdj670" "HP DeskJet 670/690 [contrib]" "$status_cdj670" \
"cdj850" "HP DeskJet 850/855/870/1100 [contrib]" "$status_cdj850" \
"cdj880" "HP DeskJet 880 [contrib]" "$status_cdj880" \
"cdj890" "HP DeskJet 890 [contrib]" "$status_cdj890" \
"cdj1600" "HP DeskJet 1600 [contrib]" "$status_cdj1600" \
"chp2200" "HP Business Inkjet 2200 [contrib]" "$status_chp2200" \
"cdj970" "HP DeskJet 970CXi [contrib]" "$status_cdj970" \
"laserjet" "HP LaserJet" "$status_laserjet" \
"ljetplus" "HP LaserJet Plus" "$status_ljetplus" \
"ljet2p" "HP LaserJet IId/IIp/III* with TIFF compression" "$status_ljet2p" \
"ljet3" "HP LaserJet III* with Delta Row compression" "$status_ljet3" \
"ljet3d" "HP LaserJet IIID with duplex capability" "$status_ljet3d" \
"ljet4" "HP LaserJet 4 and 5L/5P (not real LJ5), defaults to 600 dpi" "$status_ljet4" \
"ljet4d" "HP LaserJet 4 (defaults to 600 dpi) with duplex" "$status_ljet4d" \
"lj4dith" "HP LaserJet 4 with Floyd-Steinberg dithering" "$status_lj4dith" \
"ljet4pjl" "HP LaserJet 4V/4LJ Pro" "$status_let4pjl" \
"lj4dithp" "HP LaserJet 4V/4LJ Pro with dithering" "$status_lj4dithp" \
"cljet5" "HP LaserJet 5/5M Color (new driver, old=cljet5pr)" "$status_cljet5" \
"cljet5c" "HP LaserJet 5/5M Color Simple" "$status_cljet5c" \
"cljet5pr" "HP LaserJet 5/5M Color (old drv. with rotation hacks/flaws)" "$status_cljet5pr" \
"lj5mono" "HP LaserJet 5 and 6 family (PCL5 / PCL XL), bitmap" "$status_lj5mono" \
"lj5gray" "HP LaserJet 5 and 6 family, gray-scale bitmap" "$status_lj5gray" \
"pj" "HP PaintJet XL driver" "$status_pj" \
"pjetxl" "HP PaintJet XL driver (alternate)" "$status_pjetxl" \
"pjxl" "HP PaintJet XL color printer" "$status_pjxl" \
"paintjet" "HP PaintJet color printer (alternate)" "$status_paintjet" \
"pjxl300" "HP PaintJet XL300, DeskJet 1200C color printer, HP CopyJet" "$status_pjxl300" \
"pxlmono" "HP PCL XL black-and-white printers (LaserJet 5 and 6 family)" "$status_pxlmono" \
"pxlcolor" "HP PCL XL color printers (Color LaserJet 4500/5000)" "$status_pxlcolor" \
"pcl3" "HP PCL 3+ (generic) [contrib]" "$status_pcl3" \
"ijs" "HP Inkjet and other raster devices" "$status_ijs" \
"ibmpro" "IBM 9-pin Proprinter" "$status_ibmpro" \
"jetp3852" "IBM Jetprinter ink-jet color (Model #3852)" "$status_jetp3852" \
"imagen" "Imagen ImPress printers" "$status_imagen" \
"fs600" "Kyocera FS-600 (600 dpi)" "$status_fs600" \
"lxm5700m" "Lexmark 5700 monotone" "$status_lxm5700m" \
"lxm3200" "Lexmark 3200/Z12/Z22/Z31/Z32 [contrib]" "$status_lxm3200" \
"lx5000" "Lexmark 5000/Z51/Z82 [contrib]" "$status_lx5000" \
"lex2050" "Lexmark 2050 [contrib]" "$status_lex2050" \
"lex3200" "Lexmark 3200 [contrib]" "$status_lex3200" \
"lex5700" "Lexmark 5700 [contrib]" "$status_lex5700" \
"lex7000" "Lexmark 7000 [contrib]" "$status_lex7000" \
"cp50" "Mitsubishi CP50 color" "$status_cp50" \
"pr1000" "NEC PC-PR 1000 [contrib]" "$status_pr1000" \
"pr1000_4" "NEC PC-PR 1000/4 [contrib]" "$status_pr1000_4" \
"pr150" "NEC PC-PR 150 [contrib]" "$status_pr150" \
"pr201" "NEC PC-PR 201 [contrib]" "$status_pr201" \
"picty180" "NEC PICTY 180 (PC-PR101J/180)" "$status_picty180" \
"necp6" "NEC PinWriter P6/P6+/P60, 360x360 DPI resol" "$status_necp6" \
"npdl" "NEC Printer Description Language [contrib]" "$status_npdl" \
"oce9050" "OCE 9050 printer" "$status_oce9050" \
"oki182" "Okidata MicroLine 182" "$status_oki182" \
"okiibm" "Okidata MicroLine IBM-compatible printers" "$status_okiibm" \
"ml600" "Okidata Microline 600CL/620CL [contrib]" "$status_ml600" \
"oki4w" "Okidata OkiPage 4w+ [contrib]" "$status_oki4w" \
"oprp" "OpenPrinting Raster printer driver interface [contrib]" "$status_oprp" \
"opvp" "OpenPrinting Vecter printer driver interface [contrib]" "$status_opvp" \
"atx23" "Practical Automation ATX-23 label printer" "$status_atx23" \
"atx24" "Practical Automation ATX-24 label printer" "$status_atx24" \
"atx38" "Practical Automation ATX-38 label printer" "$status_atx38" \
"r4081" "Ricoh 4081 laser printer" "$status_r4081" \
"rpdl" "Ricoh Printer Description Language [contrib]" "$status_rpdl" \
"gdi" "Samsung SmartGDI laser printer [contrib]" "$status_gdi" \
"jj100" "Star JJ-100 [contrib]" "$status_jj100" \
"sj48" "StarJet 48 inkjet printer" "$status_sj48" \
"t4693d2" "Tektronix 4693d color, 2 bits per R/G/B component" "$status_t4693d2" \
"t4693d4" "Tektronix 4693d color, 4 bits per R/G/B component" "$status_t4693d4" \
"t4693d8" "Tektronix 4693d color, 8 bits per R/G/B component" "$status_t4693d8" \
"tek4696" "Tektronix 4695/4696 inkjet plotter" "$status_tek4696" \
"xes" "Xerox XES (2700, 3700, 4045, etc.) [contrib]" "$status_xes" \
"bmpmono" "BMP Monochrome" "$status_bmpmono" \
"bmpgray" "BMP 8-bit gray" "$status_bmpgray" \
"bmp16" "BMP 4-bit EGA/VGA" "$status_bmp16" \
"bmp256" "BMP 8-bit 256-color" "$status_bmp256" \
"bmp16m" "BMP 24-bit" "$status_bmp16m" \
"bmp32b" "BMP 32-bit pseudo-.BMP" "$status_bmp32b" \
"bmpsep1" "BMP Separated 1-bit CMYK" "$status_bmpsep1" \
"bmpsep8" "BMP Separated 8-bit CMYK" "$status_bmpsep8" \
"ccr" "CalComp Raster format" "$status_ccr" \
"cgmmono" "CGM Monochrome -- LOW LEVEL OUTPUT ONLY" "$status_cgmmono" \
"cgm8" "CGM 8-bit 256-color -- DITTO" "$status_cgm8" \
"cgm24" "CGM 24-bit color -- DITTO" "$status_cgm24" \
"cif" "CIF file format for VLSI" "$status_cif" \
"dfaxhigh" "DigiBoard, DigiFAX software format (high resol)" "$status_dfaxhigh" \
"dfaxlow" "DigiFAX low (normal) resol" "$status_dfaxlow" \
"xcf" "Gimp XCF, RGB" "$status_xcf" \
"xcfcmyk" "Gimp XCF, CMYK" "$status_xcfcmyk" \
"faxg3" "Group 3 fax, with EOLs but no header or EOD" "$status_faxg3" \
"faxg32d" "Group 3 2-D fax, with EOLs but no header or EOD" "$status_faxg32d" \
"faxg4" "Group 4 fax, with EOLs but no header or EOD" "$status_faxg4" \
"miff24" "ImageMagick MIFF, 24-bit direct color, RLE compressed" "$status_miff24" \
"inferno" "Inferno bitmaps" "$status_inferno" \
"jpeg" "JPEG format, RGB output" "$status_jpeg" \
"jpeggray" "JPEG format, gray output" "$status_jpeggray" \
"mag16" "MAG format, 16-color [contrib]" "$status_mag16" \
"mag256" "MAG format, 256-color [contrib]" "$status_mag256" \
"mgrmono" "MGR devices 1-bit monochrome" "$status_mgrmono" \
"mgrgray2" "MGR devices 2-bit gray scale" "$status_mgrgray2" \
"mgrgray4" "MGR devices 4-bit gray scale" "$status_mgrgray4" \
"mgrgray8" "MGR devices 8-bit gray scale" "$status_mgrgray8" \
"mgr4" "MGR devices 4-bit (VGA) color" "$status_mgr4" \
"mgr8" "MGR devices 8-bit color" "$status_mgr8" \
"pcxmono" "PCX file format, monochrome 1-bit b/w" "$status_pcxmono" \
"pcxgray" "PCX file format, 8-bit gray scale" "$status_pcxgray" \
"pcx16" "PCX file format, 4-bit planar EGA/VGA color" "$status_pcx16" \
"pcx256" "PCX file format, 8-bit chunky color" "$status_pcx256" \
"pcx24b" "PCX file format, 24-bit color 3x8-bit planes" "$status_pcx24b" \
"pcxcmyk" "PCX file format, 4-bit chunky CMYK color" "$status_pcxcmyk" \
"pdfwrite" "PDF output (like Adobe Acrobat Distiller)" "$status_pdfwrite" \
"psdrgb" "PhotoShop PSD, RGB" "$status_psdrgb" \
"psdcmyk" "PhotoShop PSD, CMYK" "$status_psdcmyk" \
"bit" "Plain bits, monochrome" "$status_bit" \
"bitrgb" "Plain bits, RGB" "$status_bitrgb" \
"bitcmyk" "Plain bits, CMYK" "$status_bitcmyk" \
"plan9bm" "Plan 9 bitmap format" "$status_plan9bm" \
"pam" "Portable Arbitrary Map file format" "$status_pam" \
"pbm" "Portable Bitmap, plain format" "$status_pbm" \
"pbmraw" "Portable Bitmap, raw format" "$status_pbmraw" \
"pgm" "Portable Graymap, plain format" "$status_pgm" \
"pgmraw" "Portable Graymap, raw format" "$status_pgmraw" \
"pgnm" "Portable Graymap, plain format, optim. to PBM" "$status_pgnm" \
"pgnmraw" "Portable Graymap, raw format, optim. to PBM" "$status_pgmraw" \
"pnm" "Portable Pixmap, plain format RGB, optim. to PGM/PBM" "$status_pnm" \
"pnmraw" "Portable Pixmap, raw format RGB, optim. to PGM/PBM" "$status_pnmraw" \
"ppm" "Portable Pixmap, plain format RGB" "$status_ppm" \
"ppmraw" "Portable Pixmap, raw format RGB" "$status_ppmraw" \
"pkm" "Portable inKmap (plain format) (4-bit CMYK => RGB)" "$status_pkm" \
"pkmraw" "Portable inKmap (raw format) (4-bit CMYK => RGB)" "$status_pkmraw" \
"pksm" "Portable Separated map (plain) (4-bit CMYK => 4 pages)" "$status_pksm" \
"pksmraw" "Portable Separated map (raw) (4-bit CMYK => 4 pages)" "$status_pksmraw" \
"pngmono" "PNG Monochrome Portable Network Graphics" "$status_pngmono" \
"pnggray" "PNG 8-bit gray Portable Network Graphics" "$status_pnggray" \
"png16" "PNG 4-bit color Portable Network Graphics" "$status_png16" \
"png256" "PNG 8-bit color Portable Network Graphics" "$status_png256" \
"png16m" "PNG 24-bit color Portable Network Graphics" "$status_png16m" \
"pngalpha" "PNG 32-bit RGBA color Portable Network Graphics" "$status_pngalpha" \
"psmono" "PostScript (Level 1) monochrome image" "$status_psmono" \
"psgray" "PostScript (Level 1) 8-bit gray image" "$status_psgray" \
"psrgb" "PostScript (Level 2) 24-bit color image" "$status_psrgb" \
"pswrite" "PostScript output (like PostScript Distillery)" "$status_pswrite" \
"ps2write" "PostScript (Level 2) output" "$status_ps2write" \
"epswrite" "EPS output (like PostScript Distillery)" "$status_epswrite" \
"cfax" "SFF format for CAPI fax interface" "$status_cfax" \
"sgirgb" "SGI RGB pixmap format" "$status_sgirgb" \
"sunhmono" "Harlequin variant of 1-bit Sun raster file" "$status_sunhmono" \
"tiffcrle" "TIFF CCITT RLE 1 dim = Group 3 fax with no EOLs" "$status_tiffcrle" \
"tiffg3" "TIFF Group 3 fax with EOLs" "$status_tiffg3" \
"tiffg32d" "TIFF Group 3 2-D fax" "$status_tiffg32d" \
"tiffg4" "TIFF Group 4 fax" "$status_tiffg4" \
"tiffgray" "TIFF 8-bit gray, no compression" "$status_tiffgray" \
"tiff12nc" "TIFF 12-bit RGB, no compression" "$status_tiff12nc" \
"tiff24nc" "TIFF 24-bit RGB, no compression, NeXT std. format" "$status_tiff24nc" \
"tiff32nc" "TIFF 32-bit CMYK" "$status_tiff32nc" \
"tiffsep" "TIFF gray for each colorant plus a CMYK composite" "$status_tiffsep" \
"tifflzw" "TIFF LZW, tag = 5, mono" "$status_tifflzw" \
"tiffpack" "TIFF PackBits, tag = 32773, mono" "$status_tiffpack" \
"bbox" "Bounding box output" "$status_bbox" \
"devicen" "DeviceN process color model device" "$status_devicen" \
"perm" "DeviceN which permutes color components" "$status_perm" \
"spotcmyk" "DeviceN with CMYK and spot color support" "$status_spotcmyk" \
"imdi" "IMDI color converting device" "$status_imdi" \
"wtsimdi" "WTS halftoning device" "$status_wtsimdi" \
"wtscmyk" "WTS halftoning CMYK device" "$status_wtscmyk" \
2> $tempfile
retval=$?
if [ -s $tempfile ]; then
set `sed 's/"//g' $tempfile`
fi
rm -f $tempfile
case $retval in
0) if [ -z "$*" ]; then
echo "Nothing selected"
fi
;;
1) echo "Cancel pressed."
exit 1
;;
esac
fi
exec > ${WRKSRC}/Makefile
echo "DEVICE_DEVS= \\"
for i; do
echo " \$(DD)$i.dev \\"
done
echo ""
cat "${WRKSRC}/src/unix-gcc.mak"