From owner-freebsd-ports@FreeBSD.ORG Fri Oct 12 14:22:40 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B634516A417 for ; Fri, 12 Oct 2007 14:22:40 +0000 (UTC) (envelope-from chess@chessgriffin.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by mx1.freebsd.org (Postfix) with ESMTP id 6FE4613C45B for ; Fri, 12 Oct 2007 14:22:40 +0000 (UTC) (envelope-from chess@chessgriffin.com) Received: by wx-out-0506.google.com with SMTP id i29so775565wxd for ; Fri, 12 Oct 2007 07:22:39 -0700 (PDT) Received: by 10.90.86.10 with SMTP id j10mr4825184agb.1192197279598; Fri, 12 Oct 2007 06:54:39 -0700 (PDT) Received: from localhost ( [69.134.34.168]) by mx.google.com with ESMTPS id 20sm1186048agd.2007.10.12.06.54.37 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 12 Oct 2007 06:54:38 -0700 (PDT) Date: Fri, 12 Oct 2007 09:54:36 -0400 From: Chess Griffin To: ports@freebsd.org Message-ID: <20071012135436.GA56248@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Subject: NOPORTDOCS and man/info pages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Chess Griffin List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2007 14:22:40 -0000 --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello- I am working on some small cleanup patches to a couple port Makefiles and had a few questions on how to handle man/info pages. =20 I have come across a couple Makefiles that have something like this in post-install: =2Eif defined(NOPORTDOCS) =2E.. =2Eelse MAN1=3D portname.1 INFO=3D portname =2Eendif It's my understanding after reading 5.9, 5.10, and 5.14.4 of the Porter's Handbook that the man and info page variables should be listed in the first part of the Makefile, before the .include or .include for example. It also states in 5.14.4 that "Note: NOPORTDOCS only controls additional documentation installed in DOCSDIR. It does not apply to standard man page and info pages." This statement seems to indicate that the above snippet would still install the man/info pages even if NOPORTDOCS was set. =20 =20 I have also seen where the manpage and info page are then also listed in pkg-plist, which I gather should not be the case according to 5.9 of the Porter's Handbook. So, my questions are: Is the above handling of the man and info pages correct? It seems the answer is no, but just thought I would check. How does one choose not to install man and info pages if NOPORTDOCS does not apply to them? I seem to recall that there is a NO_INSTALL_MANPAGES knob but am not sure if that's the answer or if there is a NO_INSTALL_INFOPAGES.=20 =20 Is is correct procedure to never include man and info pages in the pkg-plist like Porter's Handbook states? Many thanks- Chess --=20 Chess Griffin GPG Public Key: 0x0C7558C3 http://www.chessgriffin.com --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHD3ycKzd9mAx1WMMRAuWaAKCBxorNZMuSNl98OQ7zsaE+BDPS2QCcCmw3 VaLjwHY+uWfpqZ0b/4ReRMc= =UXU6 -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs--