Install port without man page

Ashant Chalasani sys at sellerbay.org
Thu Apr 24 16:22:30 UTC 2008


I've experimented with the isc-dhcp3-server port all 3 options -
NO_INSTALL_MANPAGES, NOPORTDOCS and MANPREFIX and in every case there
were manpages installed in /mnt/man/

[root at fbsd70 /mnt/man]# find . -name *dhcp*
./man5/dhcp-options.5
./man5/dhcp-eval.5
./man5/dhcpd.conf.5
./man5/dhcpd.leases.5
./man8/dhcpd.8

However, with
[root at fbsd70 /usr/ports/net/isc-dhcp3-server]# make install clean
MANPREFIX=/tmp/ PREFIX=/mnt/

we got...

===>   Compressing manual pages for isc-dhcp3-server-3.0.5_2
gzip: can't stat: /tmp//man/man1/omshell.1: No such file or directory
gzip: can't stat: /tmp//man/man5/dhcpd.conf.5: No such file or directory
gzip: can't stat: /tmp//man/man5/dhcpd.leases.5: No such file or directory
gzip: can't stat: /tmp//man/man5/dhcp-eval.5: No such file or directory
gzip: can't stat: /tmp//man/man5/dhcp-options.5: No such file or directory
gzip: can't stat: /tmp//man/man8/dhcpd.8: No such file or directory

Thanks for all the advice.

Ashant



On Thu, Apr 24, 2008 at 7:53 AM, Andrew Pantyukhin
<infofarmer at freebsd.org> wrote:
> On Tue, Apr 15, 2008 at 07:34:35PM +0200, Mel wrote:
>  > 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
>  > > http://code.google.com/p/tinybsdap/wiki/InstallingPorts (hope the
>  > > linking is not minded).
>  >
>  > If the port controls installing the manpages, then you can set
>  > NO_INSTALL_MANPAGES in /etc/make.conf.
>
>  NO_INSTALL_MANPAGES is traditionally just an imake-related hack,
>  which is hardly respected, but rather used. At the moment there
>  is no policy or knob to control manpage installation. However,
>  many ports respect MANPREFIX/MANxPREFIX.
>



-- 
Ashant Chalasani
http://code.google.com/p/tinybsdap/


More information about the freebsd-questions mailing list