svn commit: r392864 - head/graphics/ImageMagick7

Koop Mast kwm at FreeBSD.org
Sat Jul 25 09:40:36 UTC 2015


Author: kwm
Date: Sat Jul 25 09:40:34 2015
New Revision: 392864
URL: https://svnweb.freebsd.org/changeset/ports/392864

Log:
  Catch up with ghostscript changes.

Modified:
  head/graphics/ImageMagick7/Makefile

Modified: head/graphics/ImageMagick7/Makefile
==============================================================================
--- head/graphics/ImageMagick7/Makefile	Sat Jul 25 07:57:10 2015	(r392863)
+++ head/graphics/ImageMagick7/Makefile	Sat Jul 25 09:40:34 2015	(r392864)
@@ -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


More information about the svn-ports-head mailing list