Document that DATADIR, DOCSDIR and EXAMPLESDIR are exported
to PLIST_SUB.
This commit is contained in:
parent
1e26482f41
commit
b473854a90
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=21244
1 changed files with 10 additions and 1 deletions
|
@ -6818,7 +6818,7 @@ post-install:
|
|||
${INSTALL_MAN} ${WRKSRC}/docs/xvdocs.ps ${DOCSDIR}
|
||||
.endif</programlisting>
|
||||
|
||||
<para>Here are some variables and how they are expanded
|
||||
<para>Here are some handy variables and how they are expanded
|
||||
by default when used
|
||||
in the <filename>Makefile</filename>:</para>
|
||||
|
||||
|
@ -6839,6 +6839,15 @@ post-install:
|
|||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>These variables are exported to <makevar>PLIST_SUB</makevar>.
|
||||
Their values will appear there as pathnames relative to
|
||||
<filename><makevar>PREFIX</makevar></filename> if possible.
|
||||
That is, <filename>share/doc/<makevar>PORTNAME</makevar></filename>
|
||||
will be substituted for <literal>%%DOCSDIR%%</literal>
|
||||
in the packing list by default, and so on.
|
||||
(See more on <filename>pkg-plist</filename> substitution
|
||||
<link linkend="porting-plist">here</link>.)</para>
|
||||
|
||||
<para>All documentation files and directories installed should
|
||||
be included in <filename>pkg-plist</filename> with the
|
||||
<literal>%%PORTDOCS%%</literal> prefix, for example:</para>
|
||||
|
|
Loading…
Reference in a new issue