manpath

Rainer Müller raimue at macports.org
Sun Oct 26 23:29:34 PDT 2008


Shawn Protsman wrote:
> To my surprise I got no entry found when I did a 'man port'. What is  
> the recommended method to add port manpages to the path?
> 
> Create a '/etc/paths.d/macports'?
> 
> Or add to .profile:
> 
> export MANPATH=/opt/local/share/man:$MANPATH

The latter. Using paths.d would append the MANPATH at the end, but
usually you want to add new items in front of the system provided ones.

Rainer


More information about the macports-users mailing list