Ignore:
Timestamp:
Oct 22, 2014, 3:02:11 AM (5 years ago)
Author:
larryv@…
Message:

livecheck: Rename freecode.tcl to master-sites.tcl to preserve history

Original contents of master-sites.tcl taken from r127156.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/livecheck/master-sites.tcl

    r127156 r127157  
    11# $Id$
    22#
    3 # This file contains the livecheck defaults for freecode.
     3# This file contains the livecheck defaults for using port's master_sites.
    44
    55if {${livecheck.name} eq "default"} {
     
    1010}
    1111if {!$has_homepage || ${livecheck.url} eq ${homepage}} {
    12     set livecheck.url "http://freecode.com/projects/${livecheck.name}/releases.atom"
     12    set livecheck.url [lindex ${master_sites} 0]
    1313}
    1414if {${livecheck.regex} eq ""} {
    15     set livecheck.regex [list "(?i)<title>[quotemeta ${livecheck.distname}] (.*)</title>"]
     15    set livecheck.regex [list "[quotemeta ${livecheck.distname}]-(\\d+(?:\\.\\d+)*)"]
    1616}
    1717set livecheck.type "regex"
Note: See TracChangeset for help on using the changeset viewer.