[93075] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Mon May 14 14:45:01 PDT 2012


Revision: 93075
          https://trac.macports.org/changeset/93075
Author:   ryandesign at macports.org
Date:     2012-05-14 14:44:59 -0700 (Mon, 14 May 2012)
Log Message:
-----------
php-solr: unified port

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

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

Modified: trunk/dports/php/php-solr/Portfile
===================================================================
--- trunk/dports/php/php5-solr/Portfile	2012-05-14 20:33:23 UTC (rev 93074)
+++ trunk/dports/php/php-solr/Portfile	2012-05-14 21:44:59 UTC (rev 93075)
@@ -2,9 +2,10 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               php5extension 1.0
+PortGroup               php 1.0
 
-php5extension.setup     solr 1.0.2 pecl
+php.setup               solr 1.0.2 pecl
+php.branches            5.3 5.4
 categories-append       devel
 platforms               darwin
 maintainers             ryandesign openmaintainer
@@ -18,12 +19,14 @@
 checksums               rmd160  6092f515e6c443a278d72fac11c6a604bed29530 \
                         sha256  d5868daab01290f820b4b754e3c560dc6e983f82d9f6640b3146cede4d9a8581
 
-depends_build-append    port:curl \
-                        port:libxml2
-
-depends_lib-append      port:php5-curl
-
-configure.args-append   --with-curl=${prefix} \
-                        --with-libxml-dir=${prefix}
-
-use_parallel_build      yes
+if {${name} != ${subport}} {
+    depends_build-append    port:curl \
+                            port:libxml2
+    
+    depends_lib-append      port:${php}-curl
+    
+    configure.args-append   --with-curl=${prefix} \
+                            --with-libxml-dir=${prefix}
+    
+    use_parallel_build      yes
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120514/2715fffa/attachment.html>


More information about the macports-changes mailing list