New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82536


Ignore:
Timestamp:
08/15/11 06:03:19 (4 years ago)
Author:
ryandesign@…
Message:

app-1.0.tcl: app.identifier: also include the path portion of the homepage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/app-1.0.tcl

    r82535 r82536  
    135135    } 
    136136    set identifier [lreverse ${identifier}] 
     137    set identifier [concat ${identifier} [lrange [split ${homepage} "/"] 3 end]] 
     138    if {[lindex ${identifier} end] == ""} { 
     139        set identifier [lrange ${identifier} 0 end-1] 
     140    } 
    137141    lappend identifier [string map {"." ""} ${app.name}] 
    138142    return [regsub -all -nocase {[^a-z0-9.-]} [join ${identifier} .] ""] 
Note: See TracChangeset for help on using the changeset viewer.