Ignore:
Timestamp:
Mar 10, 2011, 2:01:14 PM (9 years ago)
Author:
afb@…
Message:

add gnubin manpages (#27434)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/gwhich/Portfile

    r73585 r76845  
    3535        ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
    3636    }
     37    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1
     38    foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] {
     39        ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz
     40    }
    3741}
    3842
Note: See TracChangeset for help on using the changeset viewer.