MacPorts: The missing man pages

April 13, 2008 @ 21:17

It just hit me the other day; why havn’t I been able to browse the man pages for some of the tools that I’ve installed using MacPorts?

Turns out my shell didn’t know about the path where MacPorts installs the man pages (which on my system happen to be /opt/local/man). A quick edit of my .profile, adding the following line…

export MANPATH=$MANPATH:”/opt/local/man”

…and tada, stuff like man pages for tools installed by MacPorts works again. Happy hacking.

Tags: , , , ,

Leave a Reply