[MacPorts] #18373: create variant +with_default_names
MacPorts
noreply at macports.org
Wed Feb 4 12:09:49 PST 2009
#18373: create variant +with_default_names
------------------------------+---------------------------------------------
Reporter: snc@… | Owner: mww@…
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Enhancements
Component: ports | Version: 1.7.0
Keywords: | Port: gnutar
------------------------------+---------------------------------------------
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]
}
}
}
}
}}}
--
Ticket URL: <http://trac.macports.org/ticket/18373>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list