Change the wording to push people to use variables directly and not the

%%FOO%% constructs in PLIST_FILES.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2015-12-20 16:43:48 +00:00
parent 9752a491c1
commit 7800e06337
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47897
2 changed files with 5 additions and 3 deletions

View file

@ -97,11 +97,13 @@ OPTIONS_SUB= yes</programlisting>
<varname>PLIST_DIRS</varname>. The value of each variable is
regarded as a list of pathnames to write to
<filename>TMPPLIST</filename> along with
<filename>PLIST</filename> contents. Names listed in
<filename>PLIST</filename> contents. While names listed in
<varname>PLIST_FILES</varname> and
<varname>PLIST_DIRS</varname> are subject to
<literal>%%<replaceable>VAR</replaceable>%%</literal>
substitution as described above. Except for that, names from
substitution as described above, it is better to use the
<literal>${<replaceable>VAR</replaceable>}</literal> directly.
Except for that, names from
<varname>PLIST_FILES</varname> will appear in the final packing
list unchanged, while <literal>@dir</literal>
will be prepended to names from

View file

@ -3178,7 +3178,7 @@ USE_QT4= moc_build qmake_build rcc_build uic_build</programlisting>
the name of the JAR file installed as part of the
port):</para>
<programlisting>PLIST_FILES+= %%JAVAJARDIR%%/<replaceable>myport</replaceable>.jar</programlisting>
<programlisting>PLIST_FILES+= ${JAVAJARDIR}/<replaceable>myport</replaceable>.jar</programlisting>
<para>When porting a Java application, the port usually
installs everything under a single directory (including its