From 0486e0af1d1b19f46b2189efc4bde47fd3e69146 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Mon, 2 Apr 2007 23:00:50 +0000 Subject: - 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 --- Mk/bsd.port.mk | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'Mk') 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 -- cgit v1.2.3