findutils: create symbolic link man to gnuman

This commit is contained in:
MoonFruit 2019-01-11 10:00:17 +08:00 committed by FX Coudert
parent 9be7800892
commit 90bc608530

View file

@ -49,6 +49,8 @@ class Findutils < Formula
(libexec/gnupath).install_symlink f => f.basename.sub(/^g/, "")
end
end
libexec.install_symlink "gnuman" => "man"
end
def post_install
@ -60,10 +62,6 @@ class Findutils < Formula
If you need to use these commands with their normal names, you
can add a "gnubin" directory to your PATH from your bashrc like:
PATH="#{opt_libexec}/gnubin:$PATH"
Additionally, you can access their man pages with normal names if you add
the "gnuman" directory to your MANPATH from your bashrc as well:
MANPATH="#{opt_libexec}/gnuman:$MANPATH"
EOS
end