Date: Sun, 26 Aug 2001 17:28:08 +0100 From: Tom Hukins <tom@FreeBSD.org> To: Pete Fritchman <petef@databits.net> Cc: freebsd-ports@freebsd.org, doc@freebsd.org Subject: Re: NOPORTDOCS and make package Message-ID: <20010826172808.A63257@eborcom.com> In-Reply-To: <20010826120304.A94436@databits.net>; from petef@databits.net on Sun, Aug 26, 2001 at 12:03:04PM -0400 References: <20010824121353.A1047@shall.anarcat.dyndns.org> <20010824193300.C532@ringworld.oblivion.bg> <20010826161858.A62947@eborcom.com> <20010826120304.A94436@databits.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On Sun, Aug 26, 2001 at 12:03:04PM -0400, Pete Fritchman wrote:
> ++ 26/08/01 16:18 +0100 - Tom Hukins:
> | + <para>Documentation should be included in
> | + <filename>pkg-plist</filename> with the
> | + <literal>%%NOPORTDOCS%%</literal> prefix, for
> ^^^^^^^^^^^^^^
> %%PORTDOCS%%
Thanks!
> | + <programlisting>%%PORTDOCS%%share/doc/pure-ftpd/AUTHORS
> | +%%PORTDOCS%%share/doc/pure-ftpd/CONTACT</programlisting>
>
> 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
[-- Attachment #2 --]
--- 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</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>%%PORTDOCS%%</literal> prefix, for example:</para>
+
+ <programlisting>%%PORTDOCS%%share/doc/pure-ftpd/AUTHORS
+%%PORTDOCS%%share/doc/pure-ftpd/CONTACT
+%%PORTDOCS%%@dirrm share/doc/pure-ftpd</programlisting>
<para>You can also use the <filename>pkg-message</filename> file to
display messages upon installation. See the <link
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010826172808.A63257>
