[88933] trunk/dports/_resources/port1.0/group/github-1.0.tcl

ryandesign at macports.org ryandesign at macports.org
Sat Jan 14 22:33:44 PST 2012


Revision: 88933
          http://trac.macports.org/changeset/88933
Author:   ryandesign at macports.org
Date:     2012-01-14 22:33:43 -0800 (Sat, 14 Jan 2012)
Log Message:
-----------
github-1.0.tcl: make github.master_sites option

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-01-15 06:28:46 UTC (rev 88932)
+++ trunk/dports/_resources/port1.0/group/github-1.0.tcl	2012-01-15 06:33:43 UTC (rev 88933)
@@ -36,12 +36,13 @@
 #   PortGroup               github 1.0
 #   github.setup            author project version [tag_prefix]
 
-options github.author github.project github.version github.tag_prefix github.homepage
+options github.author github.project github.version github.tag_prefix github.homepage github.master_sites
 
 default github.homepage {https://github.com/${github.author}/${github.project}}
+default github.master_sites {${github.homepage}/tarball/[join ${github.tag_prefix} ""]${github.version}}
 
 proc github.setup {gh_author gh_project gh_version {gh_tag_prefix ""}} {
-    global github.author github.project github.version github.tag_prefix github.homepage
+    global github.author github.project github.version github.tag_prefix github.homepage github.master_sites
     
     github.author           ${gh_author}
     github.project          ${gh_project}
@@ -51,7 +52,7 @@
     name                    ${github.project}
     version                 ${github.version}
     homepage                ${github.homepage}
-    master_sites            ${github.homepage}/tarball/[join ${github.tag_prefix} ""]${github.version}
+    master_sites            ${github.master_sites}
     distname                ${github.project}-${github.version}
     
     post-extract {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120114/0055b316/attachment.html>


More information about the macports-changes mailing list