Install port without man page

Matthew Seaman m.seaman at
Tue Apr 15 17:32:21 UTC 2008

Ashant Chalasani wrote:
> Hello All,
> 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).

Ports should honour the NOPORTDOCS make variable and not install any
documentation (including man pages).

You can add 'NOPORTDOCS=yes' to /etc/make.conf to have it apply
generally, or you can apply it while installing an individual port
by eg:

    # cd /usr/ports/some/port ; make -DNOPORTDOCS install


    # portinstall -m NOPORTDOCS=yes some/port

and half a dozen or more variations on those methods.



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP:     Ramsgate
                                                  Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-questions mailing list