Date: Thu, 1 Oct 2015 14:34:09 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r47464 - head/en_US.ISO8859-1/books/porters-handbook/plist Message-ID: <201510011434.t91EY98l026584@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510011434.t91EY98l026584>