summaryrefslogtreecommitdiffstats
path: root/print/ghostscript-gnu/Makefile
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1997-06-14 09:36:31 +0000
committerandreas <andreas@FreeBSD.org>1997-06-14 09:36:31 +0000
commit7f76aa7464618fff8a3c7550b35bc74ad392c31c (patch)
tree71c982df5b04ad224c4cf022b282fde52b36827e /print/ghostscript-gnu/Makefile
parentcffe837d69847701f3b28cb982b4e4face420eeb (diff)
downloadFreeBSD-ports-7f76aa7464618fff8a3c7550b35bc74ad392c31c.zip
FreeBSD-ports-7f76aa7464618fff8a3c7550b35bc74ad392c31c.tar.gz
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 ???
Diffstat (limited to 'print/ghostscript-gnu/Makefile')
-rw-r--r--print/ghostscript-gnu/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/print/ghostscript-gnu/Makefile b/print/ghostscript-gnu/Makefile
index 82eb042..15d368b 100644
--- a/print/ghostscript-gnu/Makefile
+++ b/print/ghostscript-gnu/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
OpenPOWER on IntegriCloud