[104056] trunk/doc-new/guide/xml/portfile-phase.xml

raimue at macports.org raimue at macports.org
Thu Mar 14 03:00:02 PDT 2013


Revision: 104056
          https://trac.macports.org/changeset/104056
Author:   raimue at macports.org
Date:     2013-03-14 03:00:02 -0700 (Thu, 14 Mar 2013)
Log Message:
-----------
guide:
Add brief documentation for -replace with two arguments and -strsed.

Modified Paths:
--------------
    trunk/doc-new/guide/xml/portfile-phase.xml

Modified: trunk/doc-new/guide/xml/portfile-phase.xml
===================================================================
--- trunk/doc-new/guide/xml/portfile-phase.xml	2013-03-14 09:35:38 UTC (rev 104055)
+++ trunk/doc-new/guide/xml/portfile-phase.xml	2013-03-14 10:00:02 UTC (rev 104056)
@@ -172,16 +172,19 @@
     not phase declarations have been explicitly defined in a Portfile.</para>
 
     <section id="reference.phases.installation.list-modifiers">
-      <title>Keyword List Modifiers (-append, -delete, -replace)</title>
+      <title>Keyword List Modifiers (-append, -delete, -replace, -strsed)</title>
 
       <para>Keyword list modifiers are keywords that end in -append, -delete or
       -replace. Keywords that support list modifiers are identified under
       appropriate reference sections below.</para>
 
       <para>-append adds a value to the keyword, -delete removes a previously
-      added item. -replace treats the keyword value as a string and filters it
-      through <link linkend="reference.tcl-extensions.strsed">strsed</link>
-      using a given pattern.</para>
+      added item. -replace takes two arguments and replaces the first value
+      from the keyword with the second value. -strsed treats the keyword value
+      as a string and filters it through
+      <link linkend="reference.tcl-extensions.strsed">strsed</link> using the
+      given pattern. There is also a deprecated syntax for -replace which takes
+      only one argument and behaves the same as -strsed.</para>
 
       <para>Keyword list modifiers are most frequently used for these three
       purposes:</para>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130314/76a58363/attachment.html>


More information about the macports-changes mailing list