[93090] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Mon May 14 16:56:20 PDT 2012


Revision: 93090
          https://trac.macports.org/changeset/93090
Author:   ryandesign at macports.org
Date:     2012-05-14 16:56:20 -0700 (Mon, 14 May 2012)
Log Message:
-----------
php-crack: unified port

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

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

Modified: trunk/dports/php/php-crack/Portfile
===================================================================
--- trunk/dports/php/php5-crack/Portfile	2012-05-14 23:47:56 UTC (rev 93089)
+++ trunk/dports/php/php-crack/Portfile	2012-05-14 23:56:20 UTC (rev 93090)
@@ -2,9 +2,10 @@
 # $Id$
 
 PortSystem      1.0
-PortGroup       php5extension 1.0
+PortGroup       php 1.0
 
-php5extension.setup crack 0.4 pecl
+php.setup       crack 0.4 pecl
+php.branches    5.3
 license         PHP
 categories      php mail devel
 platforms       darwin
@@ -21,16 +22,17 @@
                 sha1    aa1554747ef2d1c96e4a47fdb0057828661a918a \
                 rmd160  335b1cecb0ccd958fa01c499a636e0e22a5a46ea
 
-depends_lib-append \
-    port:cracklib
-
-use_parallel_build yes
-
-test.run        yes
-
-post-destroot {
-    set docdir ${prefix}/share/doc/${name}
-    xinstall -d ${destroot}${docdir}
-    xinstall -m 644 -W ${worksrcpath} CREDITS \
-        ${destroot}${docdir}
+if {${name} != ${subport}} {
+    depends_lib-append  port:cracklib
+    
+    use_parallel_build  yes
+    
+    test.run            yes
+    
+    post-destroot {
+        set docdir ${prefix}/share/doc/${subport}
+        xinstall -d ${destroot}${docdir}
+        xinstall -m 644 -W ${worksrcpath} CREDITS \
+            ${destroot}${docdir}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120514/3e82f96d/attachment-0001.html>


More information about the macports-changes mailing list