From owner-freebsd-questions@FreeBSD.ORG Tue Apr 15 17:44:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F71E106566B for ; Tue, 15 Apr 2008 17:44:49 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 1DB418FC14 for ; Tue, 15 Apr 2008 17:44:49 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 11A701CC91; Tue, 15 Apr 2008 09:44:47 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Tue, 15 Apr 2008 19:44:47 +0200 User-Agent: KMail/1.9.7 References: <6a5b467e0804150907u20d1163fo27c067c025d8b08c@mail.gmail.com> <4804E693.7070104@infracaninophile.co.uk> In-Reply-To: <4804E693.7070104@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804151944.47548.fbsd.questions@rachie.is-a-geek.net> Cc: Ashant Chalasani Subject: Re: Install port without man page X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 17:44:49 -0000 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.