[127158] trunk/dports/_resources/port1.0/livecheck/freecode.tcl

larryv at macports.org larryv at macports.org
Tue Oct 21 20:34:27 PDT 2014


Revision: 127158
          https://trac.macports.org/changeset/127158
Author:   larryv at macports.org
Date:     2014-10-21 20:34:27 -0700 (Tue, 21 Oct 2014)
Log Message:
-----------
livecheck: Restore freecode.tcl. Oops

Added Paths:
-----------
    trunk/dports/_resources/port1.0/livecheck/freecode.tcl

Copied: trunk/dports/_resources/port1.0/livecheck/freecode.tcl (from rev 127156, trunk/dports/_resources/port1.0/livecheck/freecode.tcl)
===================================================================
--- trunk/dports/_resources/port1.0/livecheck/freecode.tcl	                        (rev 0)
+++ trunk/dports/_resources/port1.0/livecheck/freecode.tcl	2014-10-22 03:34:27 UTC (rev 127158)
@@ -0,0 +1,17 @@
+# $Id$
+#
+# This file contains the livecheck defaults for freecode.
+
+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://freecode.com/projects/${livecheck.name}/releases.atom"
+}
+if {${livecheck.regex} eq ""} {
+    set livecheck.regex [list "(?i)<title>[quotemeta ${livecheck.distname}] (.*)</title>"]
+}
+set livecheck.type "regex"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141021/dcecd213/attachment.html>


More information about the macports-changes mailing list