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

ryandesign at macports.org ryandesign at macports.org
Fri May 10 16:25:46 PDT 2013


Revision: 105938
          https://trac.macports.org/changeset/105938
Author:   ryandesign at macports.org
Date:     2013-05-10 16:25:46 -0700 (Fri, 10 May 2013)
Log Message:
-----------
ImageMagick: deprecate perl variant in favor of p5-perlmagick port

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

Modified: trunk/dports/graphics/ImageMagick/Portfile
===================================================================
--- trunk/dports/graphics/ImageMagick/Portfile	2013-05-10 23:10:49 UTC (rev 105937)
+++ trunk/dports/graphics/ImageMagick/Portfile	2013-05-10 23:25:46 UTC (rev 105938)
@@ -178,19 +178,10 @@
     configure.args-append   --without-x
 }
 
-variant perl description {Install PerlMagick} {
-    depends_lib-append      path:bin/perl:perl5
-    configure.args-delete   --without-perl
-    configure.args-append   --with-perl=${prefix}/bin/perl
-    post-destroot {
-        foreach packlist [exec find ${destroot} -name .packlist] {
-            ui_info "Fixing packlist ${packlist}"
-            reinplace "s|${destroot}||" ${packlist}
-        }
-        foreach badfile [exec find ${destroot} -name perllocal.pod] {
-            ui_info "Removing ${badfile}"
-            file delete ${badfile}
-        }
+# Legacy perl variant to be removed after May 2014.
+variant perl description {Obsolete variant} {
+    pre-configure {
+        return -code error "The +perl variant is no longer used\; use the separate p5-perlmagick port instead."
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130510/36082231/attachment.html>


More information about the macports-changes mailing list