Ignore:
Timestamp:
Jan 15, 2012, 6:33:43 AM (8 years ago)
Author:
ryandesign@…
Message:

github-1.0.tcl: make github.master_sites option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/github-1.0.tcl

    r88927 r88933  
    3737#   github.setup            author project version [tag_prefix]
    3838
    39 options github.author github.project github.version github.tag_prefix github.homepage
     39options github.author github.project github.version github.tag_prefix github.homepage github.master_sites
    4040
    4141default github.homepage {https://github.com/${github.author}/${github.project}}
     42default github.master_sites {${github.homepage}/tarball/[join ${github.tag_prefix} ""]${github.version}}
    4243
    4344proc github.setup {gh_author gh_project gh_version {gh_tag_prefix ""}} {
    44     global github.author github.project github.version github.tag_prefix github.homepage
     45    global github.author github.project github.version github.tag_prefix github.homepage github.master_sites
    4546   
    4647    github.author           ${gh_author}
     
    5253    version                 ${github.version}
    5354    homepage                ${github.homepage}
    54     master_sites            ${github.homepage}/tarball/[join ${github.tag_prefix} ""]${github.version}
     55    master_sites            ${github.master_sites}
    5556    distname                ${github.project}-${github.version}
    5657   
Note: See TracChangeset for help on using the changeset viewer.