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

markd at macports.org markd at macports.org
Wed Oct 29 10:26:04 PDT 2008


Revision: 41272
          http://trac.macports.org/changeset/41272
Author:   markd at macports.org
Date:     2008-10-29 10:26:03 -0700 (Wed, 29 Oct 2008)
Log Message:
-----------
Add lzma fetch option.

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	2008-10-29 17:12:55 UTC (rev 41271)
+++ trunk/doc-new/guide/xml/portfile-phase.xml	2008-10-29 17:26:03 UTC (rev 41272)
@@ -527,9 +527,9 @@
             linkend="reference.phases.fetch.cvs">CVS</link>, <link
             linkend="reference.phases.fetch.svn">svn</link>, <link
             linkend="reference.phases.fetch.git">git</link> or <link
-            linkend="reference.phases.fetch.hg">hg</link> checkout is be
-            used. <option>standard</option> is used for a normal http or ftp
-            fetch using <varname>${distfiles}</varname> and is used as
+            linkend="reference.phases.fetch.hg">hg</link> checkout is be used.
+            <option>standard</option> is used for a normal http or ftp fetch
+            using <varname>${distfiles}</varname> and is used as
             default.</para>
 
             <itemizedlist>
@@ -1032,10 +1032,36 @@
       </varlistentry>
 
       <varlistentry>
+        <term>use_lzma</term>
+
+        <listitem>
+          <para>This keyword is for downloads that are compressed using the
+          lzma algorithm. When invoked, it automatically sets:</para>
+
+          <literallayout>extract.suffix    = .lzma
+extract.cmd       = lzma
+
+</literallayout>
+
+          <itemizedlist>
+            <listitem>
+              <para>Default: <option>no</option></para>
+            </listitem>
+
+            <listitem>
+              <para>Example:</para>
+
+              <programlisting>use_lzma             yes</programlisting>
+            </listitem>
+          </itemizedlist>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
         <term>use_zip</term>
 
         <listitem>
-          <para>This keyword is for downloads which are zipped. When invoked,
+          <para>This keyword is for downloads that are zipped. When invoked,
           it automatically sets:</para>
 
           <literallayout>extract.suffix    = .zip
@@ -1141,8 +1167,8 @@
         <term>extract.post_args</term>
 
         <listitem>
-          <para>Main arguments to extract.cmd; additional arguments passed
-          before and after the main arguments.</para>
+          <para>Main arguments to <varname>extract.cmd</varname>; additional
+          arguments passed before and after the main arguments.</para>
 
           <itemizedlist>
             <listitem>
@@ -1267,8 +1293,9 @@
         <term>patch.post_args</term>
 
         <listitem>
-          <para>Main arguments to patch.cmd; optional argument modifiers pass
-          arguments before and after the main arguments.</para>
+          <para>Main arguments to <varname>patch.cmd</varname>; optional
+          argument modifiers pass arguments before and after the main
+          arguments.</para>
 
           <itemizedlist>
             <listitem>
@@ -2522,9 +2549,9 @@
           <quote>yes</quote> in a given port, the option <option>-jN</option>
           is passed to <varname>${build.cmd}</varname> (if
           <varname>${build.cmd}</varname> is <command>make</command> or
-          <command>scons</command>) where
-          <option>N</option> represents the number of parallel build threads
-          defined by the variable <varname>buildmakejobs</varname> in
+          <command>scons</command>) where <option>N</option> represents the
+          number of parallel build threads defined by the variable
+          <varname>buildmakejobs</varname> in
           <filename>macports.conf</filename>. The default value of
           <varname>buildmakejobs</varname> is set to 1, therefore unless this
           variable is increased for a given MacPorts installation, parallel
@@ -2861,4 +2888,4 @@
       </varlistentry>
     </variablelist>
   </section>
-</section>
+</section>
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081029/66bde053/attachment.html>


More information about the macports-changes mailing list