[92739]

ryandesign at macports.org ryandesign at macports.org
Sat May 5 00:45:54 PDT 2012


Revision: 92739
          https://trac.macports.org/changeset/92739
Author:   ryandesign at macports.org
Date:     2012-05-05 00:45:54 -0700 (Sat, 05 May 2012)
Log Message:
-----------
php port and portgroup: allow bundled extension subports to override homepage, c.f. ${php}-postgresql

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/php-1.0.tcl
    users/ryandesign/ports/lang/php/Portfile

Modified: trunk/dports/_resources/port1.0/group/php-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/php-1.0.tcl	2012-05-05 07:36:23 UTC (rev 92738)
+++ trunk/dports/_resources/port1.0/group/php-1.0.tcl	2012-05-05 07:45:54 UTC (rev 92739)
@@ -255,7 +255,7 @@
     }
     
     if {${php._bundled}} {
-        homepage                http://www.php.net/${php.rootname}
+        default homepage        http://www.php.net/${php.rootname}
         
         pre-extract {
             # Speed up extraction by extracting only the modules we're going to be building.

Modified: users/ryandesign/ports/lang/php/Portfile
===================================================================
--- users/ryandesign/ports/lang/php/Portfile	2012-05-05 07:36:23 UTC (rev 92738)
+++ users/ryandesign/ports/lang/php/Portfile	2012-05-05 07:45:54 UTC (rev 92739)
@@ -9,7 +9,6 @@
 platforms               darwin freebsd
 maintainers             ryandesign jwa
 license                 PHP-3.01
-homepage                http://www.php.net/
 master_sites            php
 use_parallel_build      yes
 use_bzip2               yes
@@ -52,6 +51,10 @@
     return [expr {![is_sapi_subport]}]
 }
 
+if {![is_extension_subport]} {
+    homepage            http://www.php.net/
+}
+
 set subport_branch      [php.branch_from_subport]
 
 # Remember to increment revision of ${php}-eaccelerator when updating version of ${php}.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120505/14b4972e/attachment.html>


More information about the macports-changes mailing list