[93028] trunk/dports/php
ryandesign at macports.org
ryandesign at macports.org
Sun May 13 23:54:37 PDT 2012
Revision: 93028
https://trac.macports.org/changeset/93028
Author: ryandesign at macports.org
Date: 2012-05-13 23:54:37 -0700 (Sun, 13 May 2012)
Log Message:
-----------
php-svn: unified port
Modified Paths:
--------------
trunk/dports/php/php-svn/Portfile
Added Paths:
-----------
trunk/dports/php/php-svn/
Modified: trunk/dports/php/php-svn/Portfile
===================================================================
--- trunk/dports/php/php5-svn/Portfile 2012-05-14 06:39:38 UTC (rev 93027)
+++ trunk/dports/php/php-svn/Portfile 2012-05-14 06:54:37 UTC (rev 93028)
@@ -2,9 +2,10 @@
# $Id$
PortSystem 1.0
-PortGroup php5extension 1.0
+PortGroup php 1.0
-php5extension.setup svn 1.0.2 pecl
+php.setup svn 1.0.2 pecl
+php.branches 5.3 5.4
categories-append devel
platforms darwin
maintainers ryandesign
@@ -16,18 +17,20 @@
checksums rmd160 c4991e9a5c4203c0374529c4ddd156b6020af0a8 \
sha256 ca0ea834e745a1aae65b456800bb5c5cfd7c4eceff281f7a8e317d30726e48cd
-depends_lib-append port:subversion
-
-patchfiles patch-hook_emailcommit.php
-
-post-patch {
- reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/examples/hook_emailcommit.php
+if {${name} != ${subport}} {
+ depends_lib-append port:subversion
+
+ patchfiles patch-hook_emailcommit.php
+
+ post-patch {
+ reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/examples/hook_emailcommit.php
+ }
+
+ configure.args-append --with-svn=${prefix} \
+ --with-svn-apr=${prefix}/bin/apr-1-config
+
+ post-destroot {
+ xinstall -d ${destroot}${prefix}/share/examples
+ copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${subport}
+ }
}
-
-configure.args-append --with-svn=${prefix} \
- --with-svn-apr=${prefix}/bin/apr-1-config
-
-post-destroot {
- xinstall -d ${destroot}${prefix}/share/examples
- copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${name}
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120513/08afd068/attachment.html>
More information about the macports-changes
mailing list