aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2015-07-25 17:40:34 +0800
committerkwm <kwm@FreeBSD.org>2015-07-25 17:40:34 +0800
commitaedb49c2f1952959c3c267e1ceea4ab572a03498 (patch)
treeeebbfe340a7493d75c751d23620e74b713afc7c8 /graphics
parent65feef9b9f99eab0d94e6b29cdfbf6ee3eb561c7 (diff)
downloadfreebsd-ports-gnome-aedb49c2f1952959c3c267e1ceea4ab572a03498.tar.gz
freebsd-ports-gnome-aedb49c2f1952959c3c267e1ceea4ab572a03498.tar.zst
freebsd-ports-gnome-aedb49c2f1952959c3c267e1ceea4ab572a03498.zip
Catch up with ghostscript changes.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ImageMagick7/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/graphics/ImageMagick7/Makefile b/graphics/ImageMagick7/Makefile
index f2b58a3b1c1a..7d54ac72e835 100644
--- a/graphics/ImageMagick7/Makefile
+++ b/graphics/ImageMagick7/Makefile
@@ -225,7 +225,11 @@ PLIST_SUB+= TIFF="@comment "
.if ${PORT_OPTIONS:MGSLIB}
CONFIGURE_ARGS+= --with-gslib
-USE_GHOSTSCRIPT= yes
+. if ${PORT_OPTIONS:MX11}
+USES+= ghostscript
+. else
+USES+= ghostscript:nox11
+. endif
.else
CONFIGURE_ARGS+= --without-gslib
.endif
@@ -358,7 +362,7 @@ PLIST_SUB+= PANGO="@comment "
# PDF (Adobe Portable Document Format) support
.if ${PORT_OPTIONS:MPDF}
-USE_GHOSTSCRIPT= yes
+USES+= ghostscript
.endif
.if ! ${PORT_OPTIONS:MX11}
@@ -381,7 +385,7 @@ INSTALL_TARGET= install-strip
.endif
.if ${PORT_OPTIONS:MTESTS}
-USE_GHOSTSCRIPT_BUILD=yes
+USES+= ghostscript:build
.endif
.if defined(USER) && ${USER} == kwm