Install port without man page

Matthew Seaman m.seaman at infracaninophile.co.uk
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
> http://code.google.com/p/tinybsdap/wiki/InstallingPorts (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

or 

    # portinstall -m NOPORTDOCS=yes some/port

and half a dozen or more variations on those methods.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     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 : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080415/25444174/signature.pgp


More information about the freebsd-questions mailing list