Ignore:
Timestamp:
Mar 15, 2009, 4:39:44 PM (12 years ago)
Author:
mww@…
Message:

add 'with_default_names' variant (#18373)

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.