diff options
author | max <max@FreeBSD.org> | 1997-05-01 00:03:04 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-05-01 00:03:04 +0800 |
commit | a2802607ae97a211e225af2ee2c067fd1c959b29 (patch) | |
tree | ea8ff5af03469c5cf5bca41547749dfa40360904 /japanese/vfghostscript5/scripts | |
parent | 325fff8d389e71d8ad5cc95bf68ba9ca57be555d (diff) | |
download | freebsd-ports-gnome-a2802607ae97a211e225af2ee2c067fd1c959b29.tar.gz freebsd-ports-gnome-a2802607ae97a211e225af2ee2c067fd1c959b29.tar.zst freebsd-ports-gnome-a2802607ae97a211e225af2ee2c067fd1c959b29.zip |
Update:
1. Added new driver for Cannon bubblejet BJ-10V
2. Update to Cannon lips printer driver.
3. Typo fix.
4. Integrate scripts/configure.batch into scripts/configure.
Diffstat (limited to 'japanese/vfghostscript5/scripts')
-rw-r--r-- | japanese/vfghostscript5/scripts/configure | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/japanese/vfghostscript5/scripts/configure b/japanese/vfghostscript5/scripts/configure index f9590b724201..2de28e129be3 100644 --- a/japanese/vfghostscript5/scripts/configure +++ b/japanese/vfghostscript5/scripts/configure @@ -1,8 +1,26 @@ #! /bin/sh +# Set printer drivers automatically if BATCH is set + +if [ ! "X"${BATCH} = "X" ] ; then + +PRINTER_JAPAN=' epag300.dev epag600.dev mjc180.dev mjc360.dev mjc720.dev mj500c.dev lips4.dev lips4c.dev rpdlA3.dev rpdlA4.dev rpdlB4.dev rpdlB5.dev bj10v.dev bj10vh.dev' + +sed -e "s;XINCLUDE=-I/usr/local/X/include;XINCLUDE=-I/usr/X11R6/include;" \ + -e "s;XLIBDIRS=-L/usr/X11/lib;XLIBDIRS=-L/usr/X11R6/lib;" \ + -e "s;JSRCDIR=jpeg-6a;JSRCDIR=${PORTSDIR}/graphics/jpeg/work/jpeg-6a;" \ + -e "s;PSRCDIR=libpng;PSRCDIR=${PORTSDIR}/graphics/png/work/libpng-0.89c;" \ + -e "s;ZSRCDIR=zlib;ZSRCDIR=.;" \ + -e "s;CC=gcc;CC=cc;" \ + -e "s;DEVICE_DEVS15=pdfwrite.dev;DEVICE_DEVS15=pdfwrite.dev stcolor.dev ${PRINTER_JAPAN};" \ + < ${WRKSRC}/unix-gcc.mak > ${WRKSRC}/unix-gcc.mak.bak && \ + mv ${WRKSRC}/unix-gcc.mak.bak ${WRKSRC}/unix-gcc.mak +touch ${WRKSRC}/makefile + +else + # Define the directories for the X11 library files. # This can be null if these files are in the default linker search path. - sed -e "s;XINCLUDE=-I/usr/local/X/include;XINCLUDE=-I/usr/X11R6/include;" \ -e "s;XLIBDIRS=-L/usr/X11/lib;XLIBDIRS=-L/usr/X11R6/lib;" \ -e "s;JSRCDIR=jpeg-6a;JSRCDIR=${PORTSDIR}/graphics/jpeg/work/jpeg-6a;" \ @@ -48,8 +66,10 @@ Have fun with this new configuration style ! -andreas \n\n\ "sxlcrt" "CRT sixels, e.g. for VT240-like terminals" OFF \ "ap3250" "Epson AP3250" OFF \ "appledmp" "Apple Dot Matrix Printer / Imagewriter" OFF \ - "bj10e" "Canon BubbleJet BJ10e" ON \ - "bj200" "Canon BubbleJet BJ200" ON \ + "bj10e" "Canon BubbleJet BJ10e" OFF \ + "bj10v" "Canon BubbleJet BJ10v" ON \ + "bj10vh" "Canon BubbleJet BJ10v" ON \ + "bj200" "Canon BubbleJet BJ200" OFF \ "bjc600" "Canon Color BubbleJet BJC-600/4000/70" ON \ "bjc800" "Canon Color BubbleJet BJC-800" ON \ "ccr" "CalComp Raster format" OFF \ @@ -200,3 +220,4 @@ echo "DEVICE_DEVS=$choice" \ # 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 +fi |