aboutsummaryrefslogtreecommitdiff
path: root/print/ghostscript7/scripts
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-11 19:12:20 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-11 19:12:20 +0000
commitf239ea291484a95575cd2ad99a43268434f80947 (patch)
tree277d612725807514b6721dbc45df94f3e0009f55 /print/ghostscript7/scripts
parentad46a2a0b33f8ead2843ea0270414bd3532cebf7 (diff)
downloadports-f239ea291484a95575cd2ad99a43268434f80947.tar.gz
ports-f239ea291484a95575cd2ad99a43268434f80947.zip
Notes
Diffstat (limited to 'print/ghostscript7/scripts')
-rw-r--r--print/ghostscript7/scripts/configure143
-rw-r--r--print/ghostscript7/scripts/configure.batch13
2 files changed, 97 insertions, 59 deletions
diff --git a/print/ghostscript7/scripts/configure b/print/ghostscript7/scripts/configure
index 518e25b9706f..47eef6b4e3cf 100644
--- a/print/ghostscript7/scripts/configure
+++ b/print/ghostscript7/scripts/configure
@@ -1,7 +1,7 @@
#! /bin/sh
# driverselection
-/usr/bin/dialog --title "Ghostscript 5 driver configuration" --clear \
+/usr/bin/dialog --title "GNU 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\
@@ -13,77 +13,103 @@ Have fun with this new configuration style ! -andreas \n\n\
"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 \
+ "hl7x0" "Brother HL720 and HL730 (HL760=PCL), MFC6550MC Fax Machine" 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 \
+ "bjc600" "Canon Color BJC-600/4xxx/70 + Apple StyleWriter 2x00" ON \
"bjc800" "Canon Color BubbleJet BJC-240/800" ON \
"lbp8" "Canon LBP-8II laser printer" OFF \
- "lips3" "Canon LIPS III laser printer in English/CaPSL mode" 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 \
+ "coslw2p" "CoStar LabelWriter II II/Plus" OFF \
+ "coslwxl" "CoStar LabelWriter XL" OFF \
+ "stp" "Configurable Canon/Epson/Lexmark/HP driver (Gimp-Print)" ON \
+ "uniprint" "Configurable ESC/P,ESC/P2,HP-RTL/PCL,P2X mono/color driver" ON \
+ "dl2100" "DEClaser 2100" OFF \
+ "la50" "DEC LA50" OFF \
+ "la70" "DEC LA70" OFF \
+ "la75" "DEC LA75" OFF \
+ "la75plus" "DEC LA75plus" OFF \
"lj250" "DEC LJ250 Companion color printer" OFF \
"declj250" "DEC LJ250 driver (alternate)" OFF \
- "ln03" "DEC LN03 printer" OFF \
- "ap3250" "Epson AP3250" OFF \
+ "ln03" "DEC LN03" OFF \
+ "ap3250" "Epson ActionPrinter 3250" 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 \
+ "eps9mid" "Epson-compatible 9-pin, interleaved lines, medium resol" OFF \
+ "eps9high" "Epson-compatible 9-pin, interleaved lines, triple resol" OFF \
"lp8000" "Epson LP-8000 line printer" OFF \
"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 \
+ "stcolor" "Epson Stylus Color and II/IIs/1500 (see driver docu)" OFF \
+ "photoex" "Epson Stylus Color Photo, Photo EX, Photo 700" OFF \
"lp2563" "HP 2563B line printer" OFF \
"dnj650c" "HP DesignJet 650C" OFF \
"deskjet" "HP DeskJet and DeskJet Plus" ON \
- "djet500" "HP DeskJet 500" ON \
+ "djet500" "HP DeskJet 500 (for DeskJet 600 use -r600)" ON \
"cdeskjet" "HP DeskJet 500C, 1 bit/pixel color" ON \
"djet500c" "HP DeskJet 500C alternate driver, not for 550/560C" OFF \
- "cdjcolor" "HP DeskJet 500C/540C, 24 bit/pixel color + FS dithering" ON \
+ "cdjcolor" "HP DeskJet 500C/540C, 24bit/pxl+FS dith, Citizen Projet IIc" ON \
"cdjmono" "HP DeskJet 500/510/520/540C b/w printing" ON \
- "cdj500" "HP DeskJet 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 \
+ "cdj500" "HP DeskJet 500/540C (same as cdjcolor)" OFF \
+ "cdj550" "HP DeskJet 550C/560C/660C/660Cse" ON \
+ "cdj670" "HP DeskJet 670/690 (HP8XX driver)" ON \
+ "cdj850" "HP DeskJet 850/855/870/1100 (HP8XX driver)" ON \
+ "cdj880" "HP DeskJet 880 (HP8XX driver)" ON \
+ "cdj890" "HP DeskJet 890 (HP8XX driver)" ON \
+ "cdj1600" "HP DeskJet 1600 (HP8XX driver)" ON \
+ "cdj970" "HP DeskJet 970CXi (HP970 driver)" ON \
"laserjet" "HP LaserJet" ON \
"ljetplus" "HP LaserJet Plus" ON \
"ljet2p" "HP LaserJet IId/IIp/III* with TIFF compression" ON \
"ljet3" "HP LaserJet III* with Delta Row compression" ON \
- "ljet3d" "HP LaserJet IIID with duplex capability" OFF \
- "ljet4" "HP LaserJet 4 (defaults to 600 dpi)" ON \
+ "ljet3d" "HP LaserJet IIID with duplex capability" ON \
+ "ljet4" "HP LaserJet 4 and 5L/5P (not real LJ5), defaults to 600 dpi" ON \
+ "ljet4d" "HP LaserJet 4 (defaults to 600 dpi) with duplex" ON \
"lj4dith" "HP LaserJet 4 with Floyd-Steinberg dithering" OFF \
- "cljet5" "HP LaserJet 5/5M Color " OFF \
- "lj5mono" "HP LaserJet 5 and 6 family (PCL5 / PCL XL), bitmap" OFF \
- "lj5gray" "HP LaserJet 5 and 6 family, gray-scale bitmap" OFF \
+ "cljet5" "HP LaserJet 5/5M Color (new driver, old=cljet5pr)" ON \
+ "cljet5c" "HP LaserJet 5/5M Color Simple" ON \
+ "cljet5pr" "HP LaserJet 5/5M Color (old drv. with rotation hacks/flaws)" ON \
+ "lj5mono" "HP LaserJet 5 and 6 family (PCL5 / PCL XL), bitmap" ON \
+ "lj5gray" "HP LaserJet 5 and 6 family, gray-scale bitmap" ON \
"pj" "HP PaintJet XL driver " ON \
"pjetxl" "HP PaintJet XL driver (alternate)" OFF \
"pjxl" "HP PaintJet XL color printer" ON \
"paintjet" "HP PaintJet color printer (alternate)" OFF \
- "pjxl300" "HP PaintJet XL300 color printer (also for 1200C)" ON \
+ "pjxl300" "HP PaintJet XL300, DeskJet 1200C color printer, HP CopyJet" ON \
"pxlmono" "HP PCL XL black-and-white printers (LaserJet 5 and 6 family)" ON \
- "pxlcolor" "HP PCL XL color printers (none available yet)" ON \
+ "pxlcolor" "HP PCL XL color printers (Color LaserJet 4500/5000)" ON \
+ "pcl3" "HP PCL 3+ (DeskJet 500/500C/510/520/540/550C/560C/850C/855C)" ON \
+ "hpdj" "HP PCL 3+ (old drv.)" ON \
+ "hpijs" "HP PhotoSmart/DeskJet series (HP developed driver)" ON \
"ibmpro" "IBM 9-pin Proprinter" OFF \
"jetp3852" "IBM Jetprinter ink-jet color (Model #3852)" OFF \
"imagen" "Imagen ImPress printers" OFF \
+ "fs600" "Kyocera FS-600 (600 dpi)" OFF \
+ "lxm5700m" "Lexmark 5700 monotone" OFF \
"cp50" "Mitsubishi CP50 color" OFF \
- "necp6" "NEC P6/P6+/P60, 360x360 DPI resol" OFF \
+ "necp6" "NEC PinWriter P6/P6+/P60, 360x360 DPI resol" OFF \
"oce9050" "OCE 9050 printer" OFF \
"oki182" "Okidata MicroLine 182" OFF \
"okiibm" "Okidata MicroLine IBM-compatible printers" OFF \
+ "atx23" "Practical Automation ATX-23 label printer" OFF \
+ "atx24" "Practical Automation ATX-24 label printer" OFF \
+ "atx38" "Practical Automation ATX-38 label printer" OFF \
"r4081" "Ricoh 4081 laser printer" OFF \
"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 \
+ "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 \
+ "xes" "Xerox XES 2700/3700/4045" OFF \
+ "bmpmono" "BMP Monochrome" ON \
+ "bmpgray" "BMP 8-bit gray" ON \
+ "bmp16" "BMP 4-bit EGA/VGA" ON \
+ "bmp256" "BMP 8-bit 256-color" ON \
"bmp16m" "BMP 24-bit" ON \
+ "bmp32b" "BMP 32-bit pseudo-.BMP" ON \
+ "bmpsep1" "BMP Separated 1-bit CMYK" ON \
+ "bmpsep8" "BMP Separated 8-bit CMYK" ON \
"ccr" "CalComp Raster format" OFF \
"cgmmono" "CGM Monochrome -- LOW LEVEL OUTPUT ONLY" OFF \
"cgm8" "CGM 8-bit 256-color -- DITTO" OFF \
@@ -128,38 +154,39 @@ Have fun with this new configuration style ! -andreas \n\n\
"ppmraw" "Portable Pixmap, raw format RGB" ON \
"pkm" "Portable inKmap (plain format) (4-bit CMYK => RGB)" ON \
"pkmraw" "Portable inKmap (raw format) (4-bit CMYK => RGB)" ON \
+ "pksm" "Portable Separated map (plain) (4-bit CMYK => 4 pages)" ON \
+ "pksmraw" "Portable Separated map (raw) (4-bit CMYK => 4 pages)" ON \
"pngmono" "PNG Monochrome Portable Network Graphics" ON \
"pnggray" "PNG 8-bit gray Portable Network Graphics" ON \
"png16" "PNG 4-bit color Portable Network Graphics" ON \
"png256" "PNG 8-bit color Portable Network Graphics" ON \
"png16m" "PNG 24-bit color Portable Network Graphics" ON \
- "psmono" "PostScript, Level 1, monochrome image" ON \
+ "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 \
+ "sunhmono" "Harlequin variant of 1-bit Sun raster file" OFF \
"tiffcrle" "TIFF CCITT RLE 1 dim = Group 3 fax with no EOLs" ON \
"tiffg3" "TIFF Group 3 fax with EOLs" ON \
"tiffg32d" "TIFF Group 3 2-D fax" ON \
"tiffg4" "TIFF Group 4 fax" ON \
"tiff12nc" "TIFF 12-bit RGB, no compression" ON \
- "tiff24nc" "TIFF 24-bit RGB, no compression, NeXT std. format)" ON \
+ "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 \
+ "x11" "X Window System version 11, release >=4" ON \
+ "x11alpha" "X Window System masquer. as device with alpha capability" ON \
+ "x11cmyk" "X Window System masquer. as 1-bit-per-plane CMYK device" ON \
+ "x11cmyk2" "X Window System as a 2-bit-per-plane CMYK device" OFF \
+ "x11cmyk4" "X Window System as a 4-bit-per-plane CMYK device" OFF \
+ "x11cmyk8" "X Window System as an 8-bit-per-plane CMYK device" OFF \
+ "x11gray2" "X Window System as a 2-bit gray-scale device" ON \
+ "x11gray4" "X Window System as a 4-bit gray-scale device" ON \
+ "x11mono" "X Window System masquer. as black-and-white device" ON \
+ "x11rg16x" "X Window System with G5/B5/R6 pixel layout for testing" ON \
+ "x11rg32x" "X Window System with G11/B10/R11 pixel layout for testing" ON \
2> /tmp/checklist.tmp.$$
retval=$?
@@ -179,12 +206,18 @@ case $retval in
esac
# bring it into the right format with '.dev' appended to each driver name
+#old:
+#echo "DEVICE_DEVS=$choice" \
+# | sed -e "s/\"//g" \
+# | sed -e "s/ /.dev /g" \
+# | sed -e "s/$/.dev/g" \
+# > ${WRKSRC}/src/unix-gcc.mak.new
+# XXX new:
echo "DEVICE_DEVS=$choice" \
- | sed -e "s/\"//g" \
- | sed -e "s/ /.dev /g" \
- | sed -e "s/$/.dev/g" \
- > ${WRKSRC}/unix-gcc.mak.new
+ | perl -pe 's|"([a-z0-9]+)"|\$(DD)\1.dev|g' \
+ > ${WRKSRC}/src/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
+sed -e '/^DEVICE_DEVS=/d' ${WRKSRC}/src/unix-gcc.mak \
+ >> ${WRKSRC}/src/unix-gcc.mak.new
+mv ${WRKSRC}/src/unix-gcc.mak.new ${WRKSRC}/src/unix-gcc.mak
diff --git a/print/ghostscript7/scripts/configure.batch b/print/ghostscript7/scripts/configure.batch
index 75c2755395b9..b4d015d2b98c 100644
--- a/print/ghostscript7/scripts/configure.batch
+++ b/print/ghostscript7/scripts/configure.batch
@@ -1,9 +1,14 @@
#! /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
+cat - > ${WRKSRC}/src/unix-gcc.mak.new << !EOT
+ifndef WITHOUT_X11
+DEVICE_DEVS= \$(DD)x11.dev \$(DD)x11alpha.dev \$(DD)x11cmyk.dev \$(DD)x11cmyk2.dev \$(DD)x11cmyk4.dev \$(DD)x11cmyk8.dev \$(DD)x11gray2.dev \$(DD)x11gray4.dev \$(DD)x11mono.dev \$(DD)x11rg16x.dev \$(DD)x11rg32x.dev
+endif
+
+DEVICE_DEVS+= \$(DD)appledmp.dev \$(DD)iwhi.dev \$(DD)iwlo.dev \$(DD)iwlq.dev \$(DD)hl7x0.dev \$(DD)bj10e.dev \$(DD)bj200.dev \$(DD)bjc600.dev \$(DD)bjc800.dev \$(DD)lbp8.dev \$(DD)lips3.dev \$(DD)m8510.dev \$(DD)coslw2p.dev \$(DD)coslwxl.dev \$(DD)stp.dev \$(DD)uniprint.dev \$(DD)dl2100.dev \$(DD)la50.dev \$(DD)la70.dev \$(DD)la75.dev \$(DD)la75plus.dev \$(DD)lj250.dev \$(DD)declj250.dev \$(DD)ln03.dev \$(DD)ap3250.dev \$(DD)epson.dev \$(DD)eps9mid.dev \$(DD)eps9high.dev \$(DD)lp8000.dev \$(DD)lq850.dev \$(DD)epsonc.dev \$(DD)st800.dev \$(DD)stcolor.dev \$(DD)photoex.dev \$(DD)lp2563.dev \$(DD)dnj650c.dev \$(DD)deskjet.dev \$(DD)djet500.dev \$(DD)cdeskjet.dev \$(DD)djet500c.dev \$(DD)cdjcolor.dev \$(DD)cdjmono.dev \$(DD)cdj500.dev \$(DD)cdj550.dev \$(DD)cdj670.dev \$(DD)cdj850.dev \$(DD)cdj880.dev \$(DD)cdj890.dev \$(DD)cdj1600.dev \$(DD)cdj970.dev \$(DD)laserjet.dev \$(DD)ljetplus.dev \$(DD)ljet2p.dev \$(DD)ljet3.dev \$(DD)ljet3d.dev \$(DD)ljet4.dev \$(DD)ljet4d.dev \$(DD)lj4dith.dev \$(DD)cljet5.dev \$(DD)cljet5c.dev \$(DD)cljet5pr.dev \$(DD)lj5mono.dev \$(DD)lj5gray.dev \$(DD)pj.dev \$(DD)pjetxl.dev \$(DD)pjxl.dev \$(DD)paintjet.dev \$(DD)pjxl300.dev \$(DD)pxlmono.dev \$(DD)pxlcolor.dev \$(DD)pcl3.dev \$(DD)hpdj.dev \$(DD)hpijs.dev \$(DD)ibmpro.dev \$(DD)jetp3852.dev \$(DD)imagen.dev \$(DD)fs600.dev \$(DD)lxm5700m.dev \$(DD)cp50.dev \$(DD)necp6.dev \$(DD)oce9050.dev \$(DD)oki182.dev \$(DD)okiibm.dev \$(DD)atx23.dev \$(DD)atx24.dev \$(DD)atx38.dev \$(DD)r4081.dev \$(DD)sj48.dev \$(DD)t4693d2.dev \$(DD)t4693d4.dev \$(DD)t4693d8.dev \$(DD)tek4696.dev \$(DD)xes.dev \$(DD)bmpmono.dev \$(DD)bmpgray.dev \$(DD)bmp16.dev \$(DD)bmp256.dev \$(DD)bmp16m.dev \$(DD)bmp32b.dev \$(DD)bmpsep1.dev \$(DD)bmpsep8.dev \$(DD)ccr.dev \$(DD)cgmmono.dev \$(DD)cgm8.dev \$(DD)cgm24.dev \$(DD)cif.dev \$(DD)sxlcrt.dev \$(DD)dfaxhigh.dev \$(DD)dfaxlow.dev \$(DD)faxg3.dev \$(DD)faxg32d.dev \$(DD)faxg4.dev \$(DD)miff24.dev \$(DD)inferno.dev \$(DD)jpeg.dev \$(DD)jpeggray.dev \$(DD)mgrmono.dev \$(DD)mgrgray2.dev \$(DD)mgrgray4.dev \$(DD)mgrgray8.dev \$(DD)mgr4.dev \$(DD)mgr8.dev \$(DD)pcxmono.dev \$(DD)pcxgray.dev \$(DD)pcx16.dev \$(DD)pcx256.dev \$(DD)pcx24b.dev \$(DD)pcxcmyk.dev \$(DD)pdfwrite.dev \$(DD)bit.dev \$(DD)bitrgb.dev \$(DD)bitcmyk.dev \$(DD)plan9bm.dev \$(DD)pbm.dev \$(DD)pbmraw.dev \$(DD)pgm.dev \$(DD)pgmraw.dev \$(DD)pgnm.dev \$(DD)pgnmraw.dev \$(DD)pnm.dev \$(DD)pnmraw.dev \$(DD)ppm.dev \$(DD)ppmraw.dev \$(DD)pkm.dev \$(DD)pkmraw.dev \$(DD)pksm.dev \$(DD)pksmraw.dev \$(DD)pngmono.dev \$(DD)pnggray.dev \$(DD)png16.dev \$(DD)png256.dev \$(DD)png16m.dev \$(DD)psmono.dev \$(DD)psgray.dev \$(DD)psrgb.dev \$(DD)pswrite.dev \$(DD)epswrite.dev \$(DD)sgirgb.dev \$(DD)sunhmono.dev \$(DD)tiffcrle.dev \$(DD)tiffg3.dev \$(DD)tiffg32d.dev \$(DD)tiffg4.dev \$(DD)tiff12nc.dev \$(DD)tiff24nc.dev \$(DD)tifflzw.dev \$(DD)tiffpack.dev
!EOT
# create one new Makefile, where DEVICE_DEVS contains all wanted devices
-cat ${WRKSRC}/unix-gcc.mak >> ${WRKSRC}/unix-gcc.mak.new
-mv ${WRKSRC}/unix-gcc.mak.new ${WRKSRC}/unix-gcc.mak
+sed -e '/^DEVICE_DEVS=/d' ${WRKSRC}/src/unix-gcc.mak \
+ >> ${WRKSRC}/src/unix-gcc.mak.new
+mv ${WRKSRC}/src/unix-gcc.mak.new ${WRKSRC}/src/unix-gcc.mak