diff options
author | Andreas Klemm <andreas@FreeBSD.org> | 1997-06-11 06:20:47 +0000 |
---|---|---|
committer | Andreas Klemm <andreas@FreeBSD.org> | 1997-06-11 06:20:47 +0000 |
commit | 788376e24db31cdc3880bf56b13b40b05015b3a0 (patch) | |
tree | 587e74390c2f4885c85f4f5a25bf410568518f9a /print/ghostscript-afpl/scripts/configure.batch | |
parent | USE_X11 is not necessary if USE_IMAKE is defined. While I'm here, (diff) |
New ghostscript 5 port
Diffstat (limited to 'print/ghostscript-afpl/scripts/configure.batch')
-rw-r--r-- | print/ghostscript-afpl/scripts/configure.batch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/print/ghostscript-afpl/scripts/configure.batch b/print/ghostscript-afpl/scripts/configure.batch new file mode 100644 index 000000000000..d1be7c3b59bc --- /dev/null +++ b/print/ghostscript-afpl/scripts/configure.batch @@ -0,0 +1,17 @@ +#! /bin/sh + +# 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;" \ + -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;" \ + < ${WRKSRC}/unix-gcc.mak > ${WRKSRC}/unix-gcc.mak.bak && \ + mv ${WRKSRC}/unix-gcc.mak.bak ${WRKSRC}/unix-gcc.mak + +# without that no way :) +touch ${WRKSRC}/makefile |