summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-04-02 23:00:50 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-04-02 23:00:50 +0000
commit0486e0af1d1b19f46b2189efc4bde47fd3e69146 (patch)
treeaa8e691129a792059712608c19e4fe771ec8f54f /Mk
parent- Convert existing ports to a new bsd.tcl.mk order (diff)
- Change default USE_GHOSTSCRIPT dependency from ghostscript-gnu to
ghostscript-gpl, which is a new preferred vendor platform Submitted by: rafan Tested on: pointyhat exp-run
Notes
Notes: svn path=/head/; revision=189055
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk25
1 files changed, 13 insertions, 12 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index e392624e9dd1..a4c9df222112 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -355,12 +355,13 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# Some installations may wish to override the default
# to specify a version without X11 and/or localized
# versions for their nationality.
-# WITH_GHOSTSCRIPT_GPL
-# - If set, this port uses the GPL version of the ghostscript
-# software instead of the GNU version, which is used otherwise.
+# Default: print/ghostscript-gpl
# WITH_GHOSTSCRIPT_AFPL
# - If set, this port uses the AFPL version of the ghostscript
-# software instead of the GNU version, which is used otherwise.
+# software instead of the GPL version, which is used otherwise.
+# WITH_GHOSTSCRIPT_GNU
+# - If set, this port uses the GNU version of the ghostscript
+# software instead of the GPL version, which is used otherwise.
##
# USE_BISON - If set, this port uses bison for building.
##
@@ -2031,20 +2032,20 @@ CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
# Set the default for the installation of Postscript(TM)-
# compatible functionality.
.if !defined(WITHOUT_X11)
-.if defined(WITH_GHOSTSCRIPT_AFPL)
+.if defined(WITH_GHOSTSCRIPT_GNU)
+GHOSTSCRIPT_PORT?= print/ghostscript-gnu
+.elif defined(WITH_GHOSTSCRIPT_AFPL)
GHOSTSCRIPT_PORT?= print/ghostscript-afpl
-.elif defined(WITH_GHOSTSCRIPT_GPL)
-GHOSTSCRIPT_PORT?= print/ghostscript-gpl
.else
-GHOSTSCRIPT_PORT?= print/ghostscript-gnu
+GHOSTSCRIPT_PORT?= print/ghostscript-gpl
.endif
.else
-.if defined(WITH_GHOSTSCRIPT_AFPL)
+.if defined(WITH_GHOSTSCRIPT_GNU)
+GHOSTSCRIPT_PORT?= print/ghostscript-gnu-nox11
+.elif defined(WITH_GHOSTSCRIPT_AFPL)
GHOSTSCRIPT_PORT?= print/ghostscript-afpl-nox11
-.elif defined(WITH_GHOSTSCRIPT_GPL)
-GHOSTSCRIPT_PORT?= print/ghostscript-gpl-nox11
.else
-GHOSTSCRIPT_PORT?= print/ghostscript-gnu-nox11
+GHOSTSCRIPT_PORT?= print/ghostscript-gpl-nox11
.endif
.endif