Install port without man page

Mel fbsd.questions at
Tue Apr 15 17:34:37 UTC 2008

On Tuesday 15 April 2008 18:07:42 Ashant Chalasani wrote:

> Is there a way to install a port without the man-pages.  I'm trying to
> install a dhcp server onto a Tinybsd image and end up buying myself a
> bunch of files in /man, as seen at
> (hope the
> linking is not minded).

If the port controls installing the manpages, then you can set 
NO_INSTALL_MANPAGES in /etc/make.conf.
If they're installed by the underlying software's install script, then you 
can't control that from the port.
You can of course, nullfs mount the ${LOCALBASE}/man directory on the image 
build machine to a different location and then unmount it from under the 
image once all ports are installed.
Linking to /dev/null as suggested will likely screw with install targets.


Problem with today's modular software: they start with the modules
    and never get to the software part.

More information about the freebsd-questions mailing list