aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2011-06-07 22:22:23 +0800
committerhrs <hrs@FreeBSD.org>2011-06-07 22:22:23 +0800
commit57dd4578ba4cac92f1c12aa8690af51952931c85 (patch)
treeddb73d99f1d1949b9738f5c2043fb34d40b38b74 /Mk
parent9a6291805e60f952fd90d93dbb8019b5ffaf9e50 (diff)
downloadfreebsd-ports-gnome-57dd4578ba4cac92f1c12aa8690af51952931c85.tar.gz
freebsd-ports-gnome-57dd4578ba4cac92f1c12aa8690af51952931c85.tar.zst
freebsd-ports-gnome-57dd4578ba4cac92f1c12aa8690af51952931c85.zip
- Add print/ghostscript9-nox11.
- Add "9" to USE_GHOSTSCRIPT_* variables and upgrade the default version to it.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk16
1 files changed, 8 insertions, 8 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 53c274627267..08b4571a1bb8 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -353,7 +353,7 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# - If set, this port needs ghostscript to both
# build and run. If a number is specified,
# the specified version will be used.
-# The valid value is '7' or '8' in that case.
+# The valid value is '7', '8', or '9' in that case.
# USE_GHOSTSCRIPT_BUILD
# - If set, this port needs ghostscript to build.
# USE_GHOSTSCRIPT_RUN
@@ -363,10 +363,10 @@ 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.
-# Default: print/ghostscript8
+# Default: print/ghostscript9
# WITH_GHOSTSCRIPT_VER
# - If set, the specified version of ghostscript will be
-# used. The valid value is "7" or "8". Note that
+# used. The valid value is "7", "8", or "9". Note that
# this is for users, not for port maintainers. This
# should not be used in Makefile.
##
@@ -2201,10 +2201,10 @@ _USE_GHOSTSCRIPT= ${USE_GHOSTSCRIPT_RUN}
_USE_GHOSTSCRIPT= ${USE_GHOSTSCRIPT}
.endif
-.if defined(WITH_GHOSTSCRIPT_VER) && !empty(WITH_GHOSTSCRIPT_VER:M[78])
+.if defined(WITH_GHOSTSCRIPT_VER) && !empty(WITH_GHOSTSCRIPT_VER:M[789])
_USE_GHOSTSCRIPT_DEFAULT_VER= ${WITH_GHOSTSCRIPT_VER}
.else
-_USE_GHOSTSCRIPT_DEFAULT_VER= 8
+_USE_GHOSTSCRIPT_DEFAULT_VER= 9
.endif
.if defined(_USE_GHOSTSCRIPT)
@@ -2213,8 +2213,8 @@ _USE_GHOSTSCRIPT_PKGNAME_SUFFIX=
. else
_USE_GHOSTSCRIPT_PKGNAME_SUFFIX=-nox11
. endif
-. if !empty(_USE_GHOSTSCRIPT:M[78])
-_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT:M[78]}
+. if !empty(_USE_GHOSTSCRIPT:M[789])
+_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT:M[789]}
. else
_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT_DEFAULT_VER}
. endif
@@ -2224,7 +2224,7 @@ _USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT_DEFAULT_VER}
# Sanity check
.if defined(_USE_GHOSTSCRIPT) && defined(WITH_GHOSTSCRIPT_VER)
-. if empty(WITH_GHOSTSCRIPT_VER:M[78])
+. if empty(WITH_GHOSTSCRIPT_VER:M[789])
. error You set an invalid value "${WITH_GHOSTSCRIPT_VER}" in WITH_GHOSTSCRIPT_VER. Abort.
. elif ${_USE_GHOSTSCRIPT_VER} != ${WITH_GHOSTSCRIPT_VER}
. error You set WITH_GHOSTSCRIPT_VER as ${WITH_GHOSTSCRIPT_VER} but ${PKGNAME} requires print/ghostscript${_USE_GHOSTSCRIPT_VER}. Abort.