[52351] trunk/dports/_resources/port1.0/livecheck
nox at macports.org
nox at macports.org
Sun Jun 14 16:50:32 PDT 2009
Revision: 52351
http://trac.macports.org/changeset/52351
Author: nox at macports.org
Date: 2009-06-14 16:50:31 -0700 (Sun, 14 Jun 2009)
Log Message:
-----------
_resources: Properly set livecheck.name and livecheck.distname in freshmeat, sourceforge and gnome livechecks.
Modified Paths:
--------------
trunk/dports/_resources/port1.0/livecheck/freshmeat.tcl
trunk/dports/_resources/port1.0/livecheck/gnome.tcl
trunk/dports/_resources/port1.0/livecheck/sourceforge.tcl
Modified: trunk/dports/_resources/port1.0/livecheck/freshmeat.tcl
===================================================================
--- trunk/dports/_resources/port1.0/livecheck/freshmeat.tcl 2009-06-14 19:54:09 UTC (rev 52350)
+++ trunk/dports/_resources/port1.0/livecheck/freshmeat.tcl 2009-06-14 23:50:31 UTC (rev 52351)
@@ -2,6 +2,12 @@
#
# This file contains the defaults for freshmeat.
+if {${livecheck.name} eq "default"} {
+ set livecheck.name ${name}
+}
+if {${livecheck.distname} eq "default"} {
+ set livecheck.distname ${livecheck.name}
+}
if {!$has_homepage || ${livecheck.url} eq ${homepage}} {
set livecheck.url "http://freshmeat.net/projects/${livecheck.name}/releases.atom"
}
Modified: trunk/dports/_resources/port1.0/livecheck/gnome.tcl
===================================================================
--- trunk/dports/_resources/port1.0/livecheck/gnome.tcl 2009-06-14 19:54:09 UTC (rev 52350)
+++ trunk/dports/_resources/port1.0/livecheck/gnome.tcl 2009-06-14 23:50:31 UTC (rev 52351)
@@ -2,8 +2,11 @@
#
# This file contains the defaults for gnome.
+if {${livecheck.name} eq "default"} {
+ set livecheck.name ${name}
+}
if {!$has_homepage || ${livecheck.url} eq ${homepage}} {
- set livecheck.url "http://ftp.gnome.org/pub/gnome/${livecheck.name}"
+ set livecheck.url "http://ftp.gnome.org/pub/gnome/${livecheck.name}/"
}
if {${livecheck.regex} eq ""} {
set livecheck.regex [list "\"LATEST-IS-(.*)\""]
Modified: trunk/dports/_resources/port1.0/livecheck/sourceforge.tcl
===================================================================
--- trunk/dports/_resources/port1.0/livecheck/sourceforge.tcl 2009-06-14 19:54:09 UTC (rev 52350)
+++ trunk/dports/_resources/port1.0/livecheck/sourceforge.tcl 2009-06-14 23:50:31 UTC (rev 52351)
@@ -5,6 +5,9 @@
if {!$has_homepage || ${livecheck.url} eq ${homepage}} {
set livecheck.url "http://sourceforge.net/export/rss2_projfiles.php?project=${livecheck.name}"
}
+if {${livecheck.name} eq "default"} {
+ set livecheck.name ${name}
+}
if {${livecheck.distname} eq "default"} {
set livecheck.distname ${livecheck.name}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090614/819f59db/attachment.html>
More information about the macports-changes
mailing list