summaryrefslogtreecommitdiff
path: root/print/ghostscript8/Makefile
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1997-06-14 09:36:31 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1997-06-14 09:36:31 +0000
commit0ec0586a8d8987e4e54f0dd4e967482e9aa1a266 (patch)
treee73c9ee97d82d2badd9ee78b2047d0def240489d /print/ghostscript8/Makefile
parentUpgrade, 2.2.1 -> 2.2.2. (diff)
Major cleanup for ghostscript5 port.
- merged patch-af into patch-aa, both patches hacked unix-gcc.mak - merged the scripts/{configure,configure.batch} changes into patch-aa, so that unix-gcc.mak is hacked only by patch-aa - when doing interactive configuration, every device driver is now turned on, so you have to deselect devices - when using BATCH compilation, you now get every supported device, this one is especially for Satoshi, when making gs packages ! - Added a note into unix-gcc.mak, that DEVICE_DEVS now completely are removed in the makefile, instead of this, the two configure scripts now completely control, which devices have to be compiled in. So, the configure target "patches" the unix-gcc.mak Makefile and puts a DEVICE_DEVS line at line 1. When doing batch compilation every device is included in this line, or the wanted devices ... - The compilation option -DA4 is now included if you compile the port by saying "make A4=yes". I hope, I didn't forget a driver, look at that long line ;-) BTW, I didn't create that DEVICE_DEVS line by hand, I did the interactive installation, which created it automatically, and after that I "stealed" that DEVICE_DEVS line for inclusion into configure.batch ;-) So the devices in configure and configure.batch are exactly the same, you only have to compare devices.mak with one of the configure scripts. BTW, should we nuke ghostscript4 ??? Does somebody know if any port needs gs4 ???
Notes
Notes: svn path=/head/; revision=6928
Diffstat (limited to 'print/ghostscript8/Makefile')
-rw-r--r--print/ghostscript8/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile
index 82eb0423dccb..15d368b16921 100644
--- a/print/ghostscript8/Makefile
+++ b/print/ghostscript8/Makefile
@@ -3,7 +3,7 @@
# Date created: Tue Jun 10 21:58:54 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.2 1997/06/11 06:37:54 andreas Exp $
+# $Id: Makefile,v 1.3 1997/06/12 16:48:56 andreas Exp $
#
DISTNAME= ghostscript-5.0
@@ -33,8 +33,17 @@ GS_SOURCES+= ghostscript-5.0gnu.tar.gz
GS_FONTS_STD= ghostscript-fonts-std-4.0.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-5.0.tar.gz
-#if you are using DIN A4 paper format, keep this _here_ before MAKE_FLAGS
+.if defined(A4)
CFLAGS+= -DA4
+.endif
+
+pre-fetch:
+.if !defined(A4)
+ @${ECHO_MSG} "Type \"make A4=yes\" if you want -DA4 for compilation."
+.else
+ @${ECHO_MSG} "Using -DA4 for compilation."
+.endif
+
post-extract:
touch $(WRKSRC)/adler32.c