« Why current RFID is bad | Main | What I think of Porn/.xxx »

darwinports(.org) Hacks - Add manpages to Your Path

I started using DarwinPorts when I first received my MacBook Pro because unlike Fink, it seems to do a "more" native build of apps for which there are ports; more simply put, they said in their documentation that it was likely that the Intel line was supported without any tweaks on the part of the user (although they hadn't tested all of the ports at that point). One thing, however, that I didn't realize was that the manpages for all of the apps I was installing weren't being added to the normal man location (/usr/share/man), but to /opt/local/man. So, a quick look around the net revealed that modifying /usr/share/misc/man.conf and editing the section where it is obvious that you can add:

MANPATH_MAP /opt/local/bin /opt/local/man
MANPATH_MAP /opt/local/sbin /opt/local/man

osxhints.com shows ways of doing this in your profile (i.e. editing .profile with export MANPATH=/usr/local...), but I find the above cleaner - that's just me though. You can also create a symlink to dump all of the manpages from /opt/local/man into /usr/share/man, but again, I like editing man.conf. Use what works for you - either way, it can be done.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on May 9, 2006 1:24 PM.

The previous post in this blog was Why current RFID is bad.

The next post in this blog is What I think of Porn/.xxx.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.