docs/181080: porters-handbook: mention PLIST_DIRSTRY
Frederic Culot
culot at FreeBSD.org
Tue Aug 6 09:00:00 UTC 2013
>Number: 181080
>Category: docs
>Synopsis: porters-handbook: mention PLIST_DIRSTRY
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 06 09:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Frederic Culot
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
FreeBSD
>Environment:
System: FreeBSD freefall.freebsd.org 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r253323: Sat Jul 13 18:26:21 UTC 2013 peter at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64
>Description:
The PLIST_DIRSTRY macro is nowhere to be found in the porters-handbook,
so I propose this simple patch to mention it alongside PLIST_DIRS.
Thanks,
Frederic
>How-To-Repeat:
>Fix:
--- porters-handbook.diff begins here ---
Index: book.xml
===================================================================
--- book.xml (revision 42499)
+++ book.xml (working copy)
@@ -9930,20 +9930,25 @@
<filename><makevar>TMPPLIST</makevar></filename>.</para>
<para>Another possibility to modify port's packing list is based
- on setting the variables <makevar>PLIST_FILES</makevar> and
- <makevar>PLIST_DIRS</makevar>. The value of each variable is
+ on setting the variables <makevar>PLIST_FILES</makevar>,
+ <makevar>PLIST_DIRS</makevar>, and
+ <makevar>PLIST_DIRSTRY</makevar>. The value of each variable is
regarded as a list of pathnames to write to
<filename><makevar>TMPPLIST</makevar></filename> along with
<filename><makevar>PLIST</makevar></filename> contents. Names
- listed in <makevar>PLIST_FILES</makevar> and
- <makevar>PLIST_DIRS</makevar> are subject to
+ listed in <makevar>PLIST_FILES</makevar>,
+ <makevar>PLIST_DIRS</makevar>, and
+ <makevar>PLIST_DIRSTRY</makevar> are subject to
<literal>%%<replaceable>VAR</replaceable>%%</literal>
substitution, as described above. Except for that, names from
<makevar>PLIST_FILES</makevar> will appear in the final
- packing list unchanged, while <literal>@dirrm</literal> will
- be prepended to names from <makevar>PLIST_DIRS</makevar>. To
- take effect, <makevar>PLIST_FILES</makevar> and
- <makevar>PLIST_DIRS</makevar> must be set before
+ packing list unchanged, while <literal>@dirrm</literal> and
+ <literal>@dirrmtry</literal> will
+ be prepended to names from <makevar>PLIST_DIRS</makevar>
+ and <makevar>PLIST_DIRSTRY</makevar>, respectively. To
+ take effect, <makevar>PLIST_FILES</makevar>,
+ <makevar>PLIST_DIRS</makevar>, and
+ <makevar>PLIST_DIRSTRY</makevar> must be set before
<filename><makevar>TMPPLIST</makevar></filename> is written,
i.e., in <maketarget>pre-install</maketarget> or
earlier.</para>
@@ -10071,8 +10076,9 @@
<filename>pkg-plist</filename> file (with or without variable
substitution), or embedded into the
<filename>Makefile</filename> via
- <makevar>PLIST_FILES</makevar> and
- <makevar>PLIST_DIRS</makevar>. Even if the contents are
+ <makevar>PLIST_FILES</makevar>,
+ <makevar>PLIST_DIRS</makevar>, and
+ <makevar>PLIST_DIRSTRY</makevar>. Even if the contents are
auto-generated by a tool or a target in the Makefile
<emphasis>before</emphasis> the inclusion into the Ports
Collection by a committer, this is still considered a static
--- porters-handbook.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list