Changeset 79958
- Timestamp:
- 06/30/11 14:57:41 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/_resources/port1.0/livecheck/googlecode.tcl
r79957 r79958 3 3 # This file contains the defaults for googlecode. 4 4 5 if {$has_homepage && ${livecheck.name} eq "default" 6 && ([regexp {^http://code.google.com/p/([^/]+)} $homepage _ tag] 7 || [regexp {^http://(.*).googlecode.com} $homepage _ tag])} { 5 if {${livecheck.name} eq "default"} { 6 # Extract the googlecode project name from the homepage, if possible 7 if {$has_homepage 8 && ([regexp {^http://code.google.com/p/([^/]+)} $homepage _ tag] 9 || [regexp {^http://(.*).googlecode.com} $homepage _ tag])} { 8 10 set livecheck.name $tag 11 } else { 12 # Otherwise, fall back on the port name 13 set livecheck.name $name 14 } 9 15 } 10 16 if {!$has_homepage || ${livecheck.url} eq ${homepage}} {
Note: See TracChangeset
for help on using the changeset viewer.

