From owner-freebsd-doc  Sun Aug 26 12:22:42 2001
Delivered-To: freebsd-doc@freebsd.org
Received: from ringworld.nanolink.com (discworld.nanolink.com [217.75.135.248])
	by hub.freebsd.org (Postfix) with SMTP id 4C1A237B40C
	for <doc@freebsd.org>; Sun, 26 Aug 2001 12:22:34 -0700 (PDT)
	(envelope-from roam@ringlet.net)
Received: (qmail 1383 invoked by uid 1000); 26 Aug 2001 19:20:58 -0000
Date: Sun, 26 Aug 2001 22:20:58 +0300
From: Peter Pentchev <roam@ringlet.net>
To: Tom Hukins <tom@FreeBSD.org>
Cc: freebsd-ports@freebsd.org, doc@freebsd.org
Subject: Re: NOPORTDOCS and make package
Message-ID: <20010826222058.A1299@ringworld.oblivion.bg>
Mail-Followup-To: Tom Hukins <tom@FreeBSD.org>,
	freebsd-ports@freebsd.org, doc@freebsd.org
References: <20010824121353.A1047@shall.anarcat.dyndns.org> <20010824193300.C532@ringworld.oblivion.bg> <20010826161858.A62947@eborcom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010826161858.A62947@eborcom.com>; from tom@FreeBSD.org on Sun, Aug 26, 2001 at 04:18:58PM +0100
Sender: owner-freebsd-doc@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-doc.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-doc>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-doc>
X-Loop: FreeBSD.org

On Sun, Aug 26, 2001 at 04:18:58PM +0100, Tom Hukins wrote:
> On Fri, Aug 24, 2001 at 07:33:00PM +0300, Peter Pentchev wrote:
> > 
> > Put %%PORTDOCS%% before each file which is installed conditionally
> > depending on the NOPORTDOCS knob.  Look at e.g. ftp/pure-ftpd for
> > an example.
> 
> This isn't mentioned in the Porter's Handbook.  If nobody objects to
> the patch I'm sending with this message, I'll apply it in the next few
> days.

Looks good!

G'luck,
Peter

-- 
This sentence claims to be an Epimenides paradox, but it is lying.

> --- book.sgml.was	Sun Aug 26 07:25:23 2001
> +++ book.sgml	Sun Aug 26 16:15:31 2001
> @@ -3251,10 +3251,13 @@
>          ${INSTALL_MAN} ${WRKSRC}/docs/xvdocs.ps ${PREFIX}/share/doc/xv
>  .endif</programlisting>
>  
> -        <para>Do not forget to add them to <filename>pkg-plist</filename> too.
> -          (Do not worry about <makevar>NOPORTDOCS</makevar> here; there is
> -          currently no way for the packages to read variables from
> -          <filename>/etc/make.conf</filename>.)</para>
> +	<para>Documentation should be included in
> +	  <filename>pkg-plist</filename> with the
> +	  <literal>%%NOPORTDOCS%%</literal> prefix, for
> +	  example:</para>
> +
> +	<programlisting>%%PORTDOCS%%share/doc/pure-ftpd/AUTHORS
> +%%PORTDOCS%%share/doc/pure-ftpd/CONTACT</programlisting>
>  
>          <para>You can also use the <filename>pkg-message</filename> file to
>            display messages upon installation.  See the <link

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message