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

| | Comments (0)

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.

Leave a comment

About this Entry

This page contains a single entry by steven n fettig published on May 9, 2006 1:24 PM.

Why current RFID is bad was the previous entry in this blog.

What I think of Porn/.xxx is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Contact

Steven N. Fettig
Delavan, WI - somewhere between Delavan & Darien: map link
Phone: +1 262 432 1704
Email: snfettig AT gmail.com
AIM/Yahoo/MSN/GoogleTalk-
Skype/twitter:
snfettig

Technorati

Technorati search

» Blogs that link here

Powered by Movable Type 4.21-en