I've installed mac-ports which puts everything under /opt/local
. The corresponding man pages are in /opt/local/man
. I added the following line to /private/etc/man.conf
representing the man
search path for port
:
MANPATH /opt/local/man/man1
However, when I invoke man
on its own:
> man port
I get the following error:
No manual entry for port
Is this the correct way to add a new search path for man
?