Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2008 19:44:47 +0200
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Ashant Chalasani <sys@sellerbay.org>
Subject:   Re: Install port without man page
Message-ID:  <200804151944.47548.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <4804E693.7070104@infracaninophile.co.uk>
References:  <6a5b467e0804150907u20d1163fo27c067c025d8b08c@mail.gmail.com> <4804E693.7070104@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 15 April 2008 19:32:03 Matthew Seaman wrote:
> 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).

I don't see evidence of that in /usr/ports/Mk/bsd.port.mk:
Meaning, I don't see any location where MAN# variables are merged with 
PORTDOCS or where NOPORTDOCS interacts with MAN#.

As far as I can tell, if MAN# variables are set by the port, then they are 
compressed/uncompressed based on NOMANCOMPRESS. If imake is used to install 
manpages, then NO_INSTALL_MANPAGES is respected, because the port knows 
there's a fixed target to install manpages when using imake. Gmake/autotools 
ports include the man page install in the main install target in between 10 
or 20 fake targets to support the autotools experience and making it next to 
impossible to seperate installstages.
-- 
Mel

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804151944.47548.fbsd.questions>