From owner-freebsd-ports Sun Aug 26 9:29:15 2001 Delivered-To: freebsd-ports@freebsd.org Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by hub.freebsd.org (Postfix) with ESMTP id D9D2537B40B for ; Sun, 26 Aug 2001 09:29:06 -0700 (PDT) (envelope-from tom@FreeBSD.org) Received: from eborcom.com ([62.255.97.103]) by mta05-svc.ntlworld.com (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20010826162901.DDAY20588.mta05-svc.ntlworld.com@eborcom.com> for ; Sun, 26 Aug 2001 17:29:01 +0100 Received: (qmail 63495 invoked by uid 1001); 26 Aug 2001 16:28:08 -0000 Date: Sun, 26 Aug 2001 17:28:08 +0100 From: Tom Hukins To: Pete Fritchman Cc: freebsd-ports@freebsd.org, doc@freebsd.org Subject: Re: NOPORTDOCS and make package Message-ID: <20010826172808.A63257@eborcom.com> Mail-Followup-To: Tom Hukins , Pete Fritchman , freebsd-ports@freebsd.org, doc@freebsd.org References: <20010824121353.A1047@shall.anarcat.dyndns.org> <20010824193300.C532@ringworld.oblivion.bg> <20010826161858.A62947@eborcom.com> <20010826120304.A94436@databits.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010826120304.A94436@databits.net>; from petef@databits.net on Sun, Aug 26, 2001 at 12:03:04PM -0400 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Aug 26, 2001 at 12:03:04PM -0400, Pete Fritchman wrote: > ++ 26/08/01 16:18 +0100 - Tom Hukins: > | + Documentation should be included in > | + pkg-plist with the > | + %%NOPORTDOCS%% prefix, for > ^^^^^^^^^^^^^^ > %%PORTDOCS%% Thanks! > | + %%PORTDOCS%%share/doc/pure-ftpd/AUTHORS > | +%%PORTDOCS%%share/doc/pure-ftpd/CONTACT > > Maybe something should be mentioned about prefixing @dirrm's with this > too? I think that's a good idea. I'm attaching an updated patch which deals with these issues. Tom --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="porters-handbook.patch" --- book.sgml.was Sun Aug 26 07:25:23 2001 +++ book.sgml Sun Aug 26 17:25:12 2001 @@ -3251,10 +3251,13 @@ ${INSTALL_MAN} ${WRKSRC}/docs/xvdocs.ps ${PREFIX}/share/doc/xv .endif - Do not forget to add them to pkg-plist too. - (Do not worry about NOPORTDOCS here; there is - currently no way for the packages to read variables from - /etc/make.conf.) + Documentation should be included in + pkg-plist with the + %%PORTDOCS%% prefix, for example: + + %%PORTDOCS%%share/doc/pure-ftpd/AUTHORS +%%PORTDOCS%%share/doc/pure-ftpd/CONTACT +%%PORTDOCS%%@dirrm share/doc/pure-ftpd You can also use the pkg-message file to display messages upon installation. See the