Changeset 71189


Ignore:
Timestamp:
Sep 3, 2010, 11:32:12 PM (10 years ago)
Author:
raimue@…
Message:

guide: add documentation for -replace modifier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/guide/xml/portfile-phase.xml

    r70230 r71189  
    183183
    184184    <section id="reference.phases.installation.list-modifiers">
    185       <title>Keyword List Modifiers (-append / -delete)</title>
    186 
    187       <para>Keyword list modifiers are keywords that end in -append or
    188       -delete. Keywords that support list modifiers are identified under
    189       appropriate reference sections below. Keyword list modifiers are most
    190       frequently used for these three purposes:</para>
     185      <title>Keyword List Modifiers (-append, -delete, -replace)</title>
     186
     187      <para>Keyword list modifiers are keywords that end in -append, -delete or
     188      -replace. Keywords that support list modifiers are identified under
     189      appropriate reference sections below.</para>
     190
     191      <para>-append adds a value to the keyword, -delete removes a previously
     192      added item. -replace treats the keyword value as a string and filters it
     193      through <link linkend="reference.tcl-extensions.strsed">strsed</link>
     194      using a given pattern.</para>
     195
     196      <para>Keyword list modifiers are most frequently used for these three
     197      purposes:</para>
    191198
    192199      <orderedlist>
    193200        <listitem>
    194           <para>Preserve configure Defaults set by a previously executed
     201          <para>Preserve configure defaults set by a previously executed
    195202          Portfile keyword or by MacPorts base</para>
    196203
     
    235242            <listitem>
    236243              <para><code>depends_lib-append</code> or
    237               <code>depends_lib-delete</code></para>
     244              <code>depends_lib-delete</code>
     245              <code>depends_lib-replace</code>
     246              </para>
    238247            </listitem>
    239248
    240249            <listitem>
    241250              <para><code>distfiles-append</code> or
    242               <code>distfile-delete</code></para>
     251              <code>distfiles-delete</code>
     252              <code>distfiles-replace</code></para>
    243253            </listitem>
    244254
    245255            <listitem>
    246256              <para><code>patchfiles-append</code> or
    247               <code>patchfiles-delete</code></para>
     257              <code>patchfiles-delete</code>
     258              <code>patchfiles-replace</code></para>
    248259            </listitem>
    249260          </itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.