svn commit: r47464 - head/en_US.ISO8859-1/books/porters-handbook/plist
Mathieu Arnold
mat at FreeBSD.org
Thu Oct 1 14:34:09 UTC 2015
Author: mat
Date: Thu Oct 1 14:34:08 2015
New Revision: 47464
URL: https://svnweb.freebsd.org/changeset/doc/47464
Log:
Add "arguments" to the list of available directives for keywords files,
introduced in pkg 1.6.
Reviewed by: brd, wblock
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3755
Modified:
head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml
Modified: head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml Thu Oct 1 14:34:02 2015 (r47463)
+++ head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml Thu Oct 1 14:34:08 2015 (r47464)
@@ -794,6 +794,33 @@ etc/orbit.conf-dist
</listitem>
</varlistentry>
+ <varlistentry xml:id="plist-keywords-arguments">
+ <term><literal>arguments</literal></term>
+
+ <listitem>
+ <para>If set to <literal>true</literal>, adds argument
+ handling, splitting the whole line, <literal>%@</literal>,
+ into numbered arguments, <literal>%1</literal>,
+ <literal>%2</literal>, and so on. For example, for this
+ line:</para>
+
+ <programlisting>@foo some.content other.content</programlisting>
+
+ <para><literal>%1</literal> and <literal>%2</literal>
+ will contain:</para>
+
+ <programlisting>some.content
+other.content</programlisting>
+
+ <para>It also affects how the <link
+ linkend="plist-keywords-action"><literal>action</literal></link>
+ entry works. When there is more than one argument, the
+ argument number must be specified. For example:</para>
+
+ <programlisting>actions: [file(1)]</programlisting>
+ </listitem>
+ </varlistentry>
+
<varlistentry xml:id="plist-keywords-pre-post">
<term><literal>pre-install</literal></term>
<term><literal>post-install</literal></term>
More information about the svn-doc-head
mailing list