#15864: coreutils +with_default_names creates broken man page symlinks -----------------------------------+---------------------------------------- Reporter: jason.dusek@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | -----------------------------------+---------------------------------------- The port creates manpage symlinks from `gmv.1` to `mv.1` but the man pages are actually `gmv.1.gz` and so on -- all compressed. I am trying to learn TCL to fix it, but my tentative change (to post-destroot) did not work. {{{ variant with_default_names description {Install files without 'g' prefix} { post-destroot { foreach {d} {bin} { foreach {f} [glob -tails -directory ${destroot}${prefix}/${d} g*] { ln -sf ${prefix}/${d}/${f} ${destroot}${prefix}/${d}/[string range ${f} 1 end] } } foreach {f} [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] { ln -sf ${prefix}/${d}/${f} ${destroot}${prefix}/${d}/[string range ${f} 1 end].gz } } } }}} In the meantime, I can just make the links myself, but it is a kludge. -- Ticket URL: <http://trac.macports.org/ticket/15864> MacPorts <http://www.macports.org/> Ports system for Mac OS