Ignore:
Timestamp:
Feb 26, 2012, 5:25:01 PM (8 years ago)
Author:
jmr@…
Message:

change freshmeat livecheck to freecode (#32026), still allowing freshmeat as an alias

Location:
trunk/dports/_resources/port1.0/livecheck
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/livecheck/fallback.tcl

    r51435 r90212  
    44# sourced.
    55
    6 source [getdefaultportresourcepath "port1.0/livecheck"]/freshmeat.tcl
     6source [getdefaultportresourcepath "port1.0/livecheck"]/freecode.tcl
  • trunk/dports/_resources/port1.0/livecheck/freecode.tcl

    r90177 r90212  
    11# $Id$
    22#
    3 # This file contains the defaults for freshmeat.
     3# This file contains the livecheck defaults for freecode.
    44
    55if {${livecheck.name} eq "default"} {
     
    1010}
    1111if {!$has_homepage || ${livecheck.url} eq ${homepage}} {
    12     set livecheck.url "http://freshmeat.net/projects/${livecheck.name}/releases.atom"
     12    set livecheck.url "http://freecode.com/projects/${livecheck.name}/releases.atom"
    1313}
    1414if {${livecheck.regex} eq ""} {
  • trunk/dports/_resources/port1.0/livecheck/freshmeat.tcl

    r52351 r90212  
    11# $Id$
    22#
    3 # This file contains the defaults for freshmeat.
     3# Provide freshmeat as an alias for freecode
    44
    5 if {${livecheck.name} eq "default"} {
    6     set livecheck.name ${name}
    7 }
    8 if {${livecheck.distname} eq "default"} {
    9     set livecheck.distname ${livecheck.name}
    10 }
    11 if {!$has_homepage || ${livecheck.url} eq ${homepage}} {
    12     set livecheck.url "http://freshmeat.net/projects/${livecheck.name}/releases.atom"
    13 }
    14 if {${livecheck.regex} eq ""} {
    15     set livecheck.regex [list "(?i)<title>[quotemeta ${livecheck.distname}] (.*)</title>"]
    16 }
    17 set livecheck.type "regex"
     5source [getdefaultportresourcepath "port1.0/livecheck"]/freecode.tcl
Note: See TracChangeset for help on using the changeset viewer.