[91448] trunk/dports/_resources/port1.0/group/github-1.0.tcl
ryandesign at macports.org
ryandesign at macports.org
Sun Apr 1 21:59:05 PDT 2012
Revision: 91448
https://trac.macports.org/changeset/91448
Author: ryandesign at macports.org
Date: 2012-04-01 21:59:05 -0700 (Sun, 01 Apr 2012)
Log Message:
-----------
github-1.0.tcl: set master_sites as a default, so that changes in its component parts by the portfile are inherited; see #33826
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/github-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/github-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/github-1.0.tcl 2012-04-02 02:10:51 UTC (rev 91447)
+++ trunk/dports/_resources/port1.0/group/github-1.0.tcl 2012-04-02 04:59:05 UTC (rev 91448)
@@ -45,17 +45,18 @@
default github.master_sites {${github.homepage}/tarball/[join ${github.tag_prefix} ""]${github.version}}
default github.tarball_from {tags}
+default master_sites {${github.master_sites}}
+
option_proc github.tarball_from handle_tarball_from
proc handle_tarball_from {option action args} {
- global github.author github.project github.master_sites master_sites
+ global github.author github.project github.master_sites
# keeping the default at tags like many portfiles already do
# the port writer can set github.tarball_from to "downloads" and have the URI path accordingly changed
if {[string equal ${action} "set"] && $args == "downloads"} {
github.tarball_from ${args}
github.master_sites https://github.com/downloads/${github.author}/${github.project}
- master_sites ${github.master_sites}
}
}
@@ -72,7 +73,6 @@
homepage ${github.homepage}
git.url ${github.homepage}.git
git.branch [join ${github.tag_prefix}]${github.version}
- master_sites ${github.master_sites}
distname ${github.project}-${github.version}
fetch.ignore_sslcert yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120401/6dbb37be/attachment.html>
More information about the macports-changes
mailing list