From owner-freebsd-questions@FreeBSD.ORG Thu Apr 24 16:35:17 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 7748D1065674 for ; Thu, 24 Apr 2008 16:35:17 +0000 (UTC) (envelope-from sys@sellerbay.org) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mx1.freebsd.org (Postfix) with ESMTP id 6FEA78FC29 for ; Thu, 24 Apr 2008 16:35:17 +0000 (UTC) (envelope-from sys@sellerbay.org) Received: by rv-out-0506.google.com with SMTP id b25so2066751rvf.43 for ; Thu, 24 Apr 2008 09:35:16 -0700 (PDT) Received: by 10.140.88.11 with SMTP id l11mr1398219rvb.74.1209054916928; Thu, 24 Apr 2008 09:35:16 -0700 (PDT) Received: by 10.141.96.4 with HTTP; Thu, 24 Apr 2008 09:35:16 -0700 (PDT) Message-ID: <6a5b467e0804240935v2a8e8612ned13d94fd77c83af@mail.gmail.com> Date: Thu, 24 Apr 2008 18:35:16 +0200 From: "Ashant Chalasani" To: freebsd-questions@freebsd.org In-Reply-To: <6a5b467e0804240922g5f3d8617g2bbdce52c10c006f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6a5b467e0804150907u20d1163fo27c067c025d8b08c@mail.gmail.com> <200804151934.36301.fbsd.questions@rachie.is-a-geek.net> <20080424055311.GF1449@amilo.cenkes.org> <6a5b467e0804240922g5f3d8617g2bbdce52c10c006f@mail.gmail.com> 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: Thu, 24 Apr 2008 16:35:17 -0000 Also part of the output of [root@fbsd70 /usr/ports/net/isc-dhcp3-server]# make install clean MANPREFIX=/tmp/ PREFIX=/mnt/ is.. ..... install -c -m 444 dhcpd /mnt//sbin chmod 755 /mnt//sbin/dhcpd install -c dhcpd.man8 /mnt//man/man8/dhcpd.8 install -c dhcpd.conf.man5 /mnt//man/man5/dhcpd.conf.5 install -c dhcpd.leases.man5 /mnt//man/man5/dhcpd.leases.5 ===> Installing rc.d startup script(s) ...... ps: [root@fbsd70]# uname -a FreeBSD fbsd70.kwest.wapsol.de 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 On Thu, Apr 24, 2008 at 6:22 PM, Ashant Chalasani wrote: > 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@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@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 > 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/ > -- Ashant Chalasani http://code.google.com/p/tinybsdap/