[60451] trunk/dports/_resources/port1.0/livecheck/googlecode.tcl

snc at macports.org snc at macports.org
Thu Nov 12 14:00:45 PST 2009


Revision: 60451
          http://trac.macports.org/changeset/60451
Author:   snc at macports.org
Date:     2009-11-12 14:00:41 -0800 (Thu, 12 Nov 2009)
Log Message:
-----------
include *.google.com for finding livecheck.name, #20900

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/livecheck/googlecode.tcl

Modified: trunk/dports/_resources/port1.0/livecheck/googlecode.tcl
===================================================================
--- trunk/dports/_resources/port1.0/livecheck/googlecode.tcl	2009-11-12 20:13:21 UTC (rev 60450)
+++ trunk/dports/_resources/port1.0/livecheck/googlecode.tcl	2009-11-12 22:00:41 UTC (rev 60451)
@@ -2,8 +2,9 @@
 #
 # This file contains the defaults for googlecode.
 
-if {$has_homepage && [regexp {^http://code.google.com/p/([^/]+)} $homepage _ tag]
-    && ${livecheck.name} eq "default"} {
+if {$has_homepage && ${livecheck.name} eq "default"
+    && ([regexp {^http://code.google.com/p/([^/]+)} $homepage _ tag]
+        || [regex {^http://(.*).googlecode.com} $homepage _ tag])} {
         set livecheck.name $tag
 }
 if {!$has_homepage || ${livecheck.url} eq ${homepage}} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091112/1e244ca6/attachment.html>


More information about the macports-changes mailing list