- Document new variables: PORTDATA and PORTEXAMPLES

Reviewed by:   mnag
This commit is contained in:
Rong-En Fan 2007-06-22 04:55:51 +00:00
parent af51ff86f8
commit cf8a33f45a
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=30321

View file

@ -4222,8 +4222,10 @@ PORTVERSION= 1.0</programlisting>
<note>
<para><makevar>NOPORTDOCS</makevar> only controls additional
documentation installed in <makevar>DOCSDIR</makevar>. It does not
apply to standard man pages, info pages and things installed in
<makevar>DATADIR</makevar>, <makevar>EXAMPLESDIR</makevar>.</para>
apply to standard man pages and info pages. Things installed in
<makevar>DATADIR</makevar> and <makevar>EXAMPLESDIR</makevar>
are controlled by <makevar>NOPORTDATA</makevar> and
<makevar>NOPORTEXAMPLES</makevar>, respectively.</para>
</note>
<para>These variables are exported to <makevar>PLIST_SUB</makevar>.
@ -4266,6 +4268,11 @@ PORTVERSION= 1.0</programlisting>
<programlisting>PORTDOCS= README.* ChangeLog docs/*</programlisting>
<note>
<para>The equivalents of <makevar>PORTDOCS</makevar> for files
installed under <makevar>DATADIR</makevar> and
<makevar>EXAMPLESDIR</makevar> are <makevar>PORTDATA</makevar>
and <makevar>PORTEXAMPLES</makevar>, respectively.</para>
<para>You can also use the <filename>pkg-message</filename> file to
display messages upon installation. See <link
linkend="porting-message">the section on using