[113997] trunk/dports/graphics/ImageMagick/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Nov 26 23:57:48 PST 2013


Revision: 113997
          https://trac.macports.org/changeset/113997
Author:   ryandesign at macports.org
Date:     2013-11-26 23:57:47 -0800 (Tue, 26 Nov 2013)
Log Message:
-----------
ImageMagick: use -replace where possible

Modified Paths:
--------------
    trunk/dports/graphics/ImageMagick/Portfile

Modified: trunk/dports/graphics/ImageMagick/Portfile
===================================================================
--- trunk/dports/graphics/ImageMagick/Portfile	2013-11-27 07:54:35 UTC (rev 113996)
+++ trunk/dports/graphics/ImageMagick/Portfile	2013-11-27 07:57:47 UTC (rev 113997)
@@ -112,37 +112,32 @@
 test.target                 check
 test.env                    DYLD_LIBRARY_PATH=${worksrcpath}/magick/.libs
 
-# ImageMagick uses .la files at runtime to find conversion modules.
+# ImageMagick uses .la files at runtime to find its coder modules.
 destroot.delete_la_files    no
 
 variant graphviz description {Support Graphviz} {
     depends_lib-append      path:bin/dot:graphviz
-    configure.args-delete   --without-gvc
-    configure.args-append   --with-gvc
+    configure.args-replace  --without-gvc --with-gvc
 }
 
 variant jbig description {Support JBIG} {
     depends_lib-append      port:jbigkit
-    configure.args-delete   --without-jbig
-    configure.args-append   --with-jbig
+    configure.args-replace  --without-jbig --with-jbig
 }
 
 variant jpeg2 description {Support JPEG-2000 using JasPer} {
     depends_lib-append      port:jasper
-    configure.args-delete   --without-jp2
-    configure.args-append   --with-jp2
+    configure.args-replace  --without-jp2 --with-jp2
 }
 
 variant lqr description {Support Liquid Rescale (experimental)} {
     depends_lib-append      port:liblqr
-    configure.args-delete   --without-lqr
-    configure.args-append   --with-lqr
+    configure.args-replace  --without-lqr --with-lqr
 }
 
 variant pango description {Support Pango} {
     depends_lib-append      path:lib/pkgconfig/pango.pc:pango
-    configure.args-delete   --without-pango
-    configure.args-append   --with-pango
+    configure.args-replace  --without-pango --with-pango
 }
 
 # Legacy perl variant to be removed after May 2014.
@@ -154,14 +149,12 @@
 
 variant rsvg description {Support SVG using librsvg} {
     depends_lib-append      port:librsvg
-    configure.args-delete   --without-rsvg
-    configure.args-append   --with-rsvg
+    configure.args-replace  --without-rsvg --with-rsvg
 }
 
 variant wmf description {Support the Windows Metafile Format} {
     depends_lib-append      port:libwmf
-    configure.args-delete   --without-wmf
-    configure.args-append   --with-wmf
+    configure.args-replace  --without-wmf --with-wmf
 }
 
 # Legacy no_x11 variant to be removed after May 2014.
@@ -171,8 +164,7 @@
     depends_lib-append      port:xorg-libX11 \
                             port:xorg-libXext \
                             port:xorg-libXt
-    configure.args-append   --with-x
-    configure.args-delete   --without-x
+    configure.args-replace  --without-x --with-x
 }
 
 if {[variant_isset no_x11]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131126/c0119ee0/attachment.html>


More information about the macports-changes mailing list