[93602] trunk/dports/_resources/port1.0/group/php-1.1.tcl

ryandesign at macports.org ryandesign at macports.org
Sun May 27 15:52:04 PDT 2012


Revision: 93602
          https://trac.macports.org/changeset/93602
Author:   ryandesign at macports.org
Date:     2012-05-27 15:52:04 -0700 (Sun, 27 May 2012)
Log Message:
-----------
php-1.1.tcl: ensure stub port doesn't do anything with distfiles

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/php-1.1.tcl

Modified: trunk/dports/_resources/port1.0/group/php-1.1.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/php-1.1.tcl	2012-05-27 22:46:51 UTC (rev 93601)
+++ trunk/dports/_resources/port1.0/group/php-1.1.tcl	2012-05-27 22:52:04 UTC (rev 93602)
@@ -76,15 +76,24 @@
             if {${name} == ${subport}} {
                 supported_archs     noarch
                 depends_run         port:php[php.suffix_from_branch ${php.default_branch}]-${php.rootname}
+                
+                # Ensure the stub port does not do anything with distfiles—not
+                # if the port overrides distfiles, not if there's a post-extract
+                # block (e.g. the github portgroup).
+                distfiles
                 pre-fetch {
                     distfiles
                 }
+                fetch {}
                 pre-checksum {
                     distfiles
                 }
+                checksum {}
                 pre-extract {
                     distfiles
                 }
+                extract {}
+                
                 patch {}
                 use_configure       no
                 build {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120527/0f4f00e5/attachment.html>


More information about the macports-changes mailing list