[93181] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Wed May 16 20:05:23 PDT 2012


Revision: 93181
          https://trac.macports.org/changeset/93181
Author:   ryandesign at macports.org
Date:     2012-05-16 20:05:23 -0700 (Wed, 16 May 2012)
Log Message:
-----------
php-imagick: unified port; upgrade to 3.1.0RC1 for php 5.4 compatibility

Modified Paths:
--------------
    trunk/dports/php/php-imagick/Portfile

Added Paths:
-----------
    trunk/dports/php/php-imagick/

Modified: trunk/dports/php/php-imagick/Portfile
===================================================================
--- trunk/dports/php/php5-imagick/Portfile	2012-05-17 02:51:30 UTC (rev 93179)
+++ trunk/dports/php/php-imagick/Portfile	2012-05-17 03:05:23 UTC (rev 93181)
@@ -2,9 +2,10 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               php5extension 1.0
+PortGroup               php 1.0
 
-php5extension.setup     imagick 3.0.1 pecl
+php.setup               imagick 3.1.0RC1 pecl
+php.branches            5.3 5.4
 categories-append       graphics
 platforms               darwin
 maintainers             ryandesign
@@ -16,18 +17,22 @@
 long_description        Imagick is a native PHP extension for creating and \
                         modifying images using the ImageMagick API
 
-checksums               sha1    64dd5c8ff4d43d94e65c3b35ac0b439676ecc746 \
-                        rmd160  854fafe039e85a43bc1e53c00147099620a0034a
+checksums               rmd160  d49583c48d0379add5411e52a84c7146c0823233 \
+                        sha256  bf7973c7b90d61645415956cf3bd6589a28918f6285385f6c69f6a4f9bcef251
 
-depends_lib-append      path:bin/MagickWand-config:ImageMagick
+if {${name} != ${subport}} {
+    depends_lib-append  path:bin/MagickWand-config:ImageMagick
+    
+    configure.args      --with-imagick=${prefix}
+    
+    use_parallel_build  yes
+    
+    post-destroot {
+        set docdir ${prefix}/share/doc/${subport}
+        xinstall -d ${destroot}${docdir} ${destroot}${prefix}/share/examples
+        xinstall -m 644 -W ${worksrcpath} CREDITS ${destroot}${subport}
+        copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${subport}
+    }
+}
 
-configure.args          --with-imagick=${prefix}
-
-use_parallel_build      yes
-
-post-destroot {
-    xinstall -d ${destroot}${prefix}/share/doc/${name}
-    xinstall -m 644 -W ${worksrcpath} CREDITS ${destroot}${prefix}/share/doc/${name}
-    xinstall -d ${destroot}${prefix}/share/examples
-    copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${name}
-}
+php.pecl_livecheck_stable no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120516/3a166644/attachment.html>


More information about the macports-changes mailing list