Ticket #18373 (closed enhancement: fixed)
create variant +with_default_names
| Reported by: | snc@… | Owned by: | mww@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | ||
| Port: | gnutar |
Description
It might be useful to have gnutar install without the "gnu" in front of the binary name.
Coreutils has accomplished this feat:
variant with_default_names description {Install files without 'g' prefix} {
post-destroot {
foreach {d} {bin share/man/man1} {
foreach {f} [glob -tails -directory ${destroot}${prefix}/${d} g*] {
ln -sf ${f} ${destroot}${prefix}/${d}/[string range ${f} 1 end]
}
}
}
}
Change History
Note: See
TracTickets for help on using
tickets.

