[127157] trunk/dports/_resources/port1.0/livecheck

larryv at macports.org larryv at macports.org
Tue Oct 21 20:02:11 PDT 2014


Revision: 127157
          https://trac.macports.org/changeset/127157
Author:   larryv at macports.org
Date:     2014-10-21 20:02:11 -0700 (Tue, 21 Oct 2014)
Log Message:
-----------
livecheck: Rename freecode.tcl to master-sites.tcl to preserve history

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

Removed Paths:
-------------
    trunk/dports/_resources/port1.0/livecheck/freecode.tcl
    trunk/dports/_resources/port1.0/livecheck/master-sites.tcl

Deleted: trunk/dports/_resources/port1.0/livecheck/freecode.tcl
===================================================================
--- trunk/dports/_resources/port1.0/livecheck/freecode.tcl	2014-10-22 02:49:49 UTC (rev 127156)
+++ trunk/dports/_resources/port1.0/livecheck/freecode.tcl	2014-10-22 03:02:11 UTC (rev 127157)
@@ -1,17 +0,0 @@
-# $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"

Deleted: trunk/dports/_resources/port1.0/livecheck/master-sites.tcl
===================================================================
--- trunk/dports/_resources/port1.0/livecheck/master-sites.tcl	2014-10-22 02:49:49 UTC (rev 127156)
+++ trunk/dports/_resources/port1.0/livecheck/master-sites.tcl	2014-10-22 03:02:11 UTC (rev 127157)
@@ -1,17 +0,0 @@
-# $Id$
-#
-# This file contains the livecheck defaults for using port's master_sites.
-
-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 [lindex ${master_sites} 0]
-}
-if {${livecheck.regex} eq ""} {
-    set livecheck.regex [list "[quotemeta ${livecheck.distname}]-(\\d+(?:\\.\\d+)*)"]
-}
-set livecheck.type "regex"

Copied: trunk/dports/_resources/port1.0/livecheck/master-sites.tcl (from rev 127156, trunk/dports/_resources/port1.0/livecheck/freecode.tcl)
===================================================================
--- trunk/dports/_resources/port1.0/livecheck/master-sites.tcl	                        (rev 0)
+++ trunk/dports/_resources/port1.0/livecheck/master-sites.tcl	2014-10-22 03:02:11 UTC (rev 127157)
@@ -0,0 +1,17 @@
+# $Id$
+#
+# This file contains the livecheck defaults for using port's master_sites.
+
+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 [lindex ${master_sites} 0]
+}
+if {${livecheck.regex} eq ""} {
+    set livecheck.regex [list "[quotemeta ${livecheck.distname}]-(\\d+(?:\\.\\d+)*)"]
+}
+set livecheck.type "regex"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141021/d0d086b1/attachment-0001.html>


More information about the macports-changes mailing list