New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 48158

Show
Ignore:
Timestamp:
03/15/09 09:39:44 (12 months ago)
Author:
mww@…
Message:

add 'with_default_names' variant (#18373)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/dports/archivers/gnutar/Portfile

    r47880 r48158  
    4141} 
    4242 
     43variant with_default_names description {Install files without 'gnu' prefix} { 
     44    post-destroot { 
     45        foreach {d} {bin libexec share/info} { 
     46            foreach {f} [glob -tails -directory ${destroot}${prefix}/${d} gnu*] { 
     47                ln -sf ${prefix}/${d}/${f} ${destroot}${prefix}/${d}/[string range ${f} 3 end] 
     48            } 
     49        } 
     50    } 
     51} 
     52 
     53 
    4354livecheck.check regex 
    4455livecheck.url   http://ftp.gnu.org/gnu/tar/?C=M&O=D