Ticket #20900: googlecode-livecheck-name.patch
File googlecode-livecheck-name.patch, 753 bytes (added by 0xced (Cédric Luthi), 15 years ago) |
---|
-
dports/_resources/port1.0/livecheck/googlecode.tcl
2 2 # 3 3 # This file contains the defaults for googlecode. 4 4 5 if {$has_homepage && [regexp {^http://code.google.com/p/([^/]+)} $homepage _ tag] 6 && ${livecheck.name} eq "default"} { 5 if {$has_homepage && ${livecheck.name} eq "default" 6 && ([regexp {^http://code.google.com/p/([^/]+)} $homepage _ tag] 7 || [regexp {^http://(.*).googlecode.com} $homepage _ tag])} { 7 8 set livecheck.name $tag 8 9 } 9 10 if {!$has_homepage || ${livecheck.url} eq ${homepage}} {