[93149] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Tue May 15 23:18:06 PDT 2012


Revision: 93149
          https://trac.macports.org/changeset/93149
Author:   ryandesign at macports.org
Date:     2012-05-15 23:18:06 -0700 (Tue, 15 May 2012)
Log Message:
-----------
php-gmagick: unified port

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

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

Modified: trunk/dports/php/php-gmagick/Portfile
===================================================================
--- trunk/dports/php/php5-gmagick/Portfile	2012-05-16 06:12:27 UTC (rev 93147)
+++ trunk/dports/php/php-gmagick/Portfile	2012-05-16 06:18:06 UTC (rev 93149)
@@ -2,9 +2,10 @@
 # $Id$
 
 PortSystem      1.0
-PortGroup       php5extension 1.0
+PortGroup       php 1.0
 
-php5extension.setup gmagick 1.1.0RC2 pecl
+php.setup       gmagick 1.1.0RC2 pecl
+php.branches    5.3 5.4
 license         PHP
 categories      php devel
 platforms       darwin
@@ -18,18 +19,18 @@
 checksums       rmd160  61bdc49cf8a87998d78b5899b9543cf826caa750 \
                 sha256  d8d54dcd6df9712196d3d8207e814670c8f3316de8b71f8f3577c52aab71b91c
 
-depends_lib-append \
-    port:GraphicsMagick
-
-patchfiles      patch-php_gmagick.h.diff
-
-configure.args-append \
-    --with-gmagick=${prefix}
-
-post-destroot {
-    set docdir ${prefix}/share/doc/${name}
-    xinstall -d ${destroot}${docdir}
-    xinstall -m 644 -W ${worksrcpath} LICENSE README ${destroot}${docdir}
+if {${name} != ${subport}} {
+    depends_lib-append      port:GraphicsMagick
+    
+    patchfiles              patch-php_gmagick.h.diff
+    
+    configure.args-append   --with-gmagick=${prefix}
+    
+    post-destroot {
+        set docdir ${prefix}/share/doc/${subport}
+        xinstall -d ${destroot}${docdir}
+        xinstall -m 644 -W ${worksrcpath} LICENSE README ${destroot}${docdir}
+    }
 }
 
-livecheck.regex {(\d+(?:\.\d+)*(?:[a-z]\d+)?)</a></th>}
+php.pecl_livecheck_stable no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120515/aaaa1115/attachment.html>


More information about the macports-changes mailing list