[29357] trunk/doc-new/man/xml/portfile.7.xml
source_changes at macosforge.org
source_changes at macosforge.org
Fri Sep 21 18:02:31 PDT 2007
Revision: 29357
http://trac.macosforge.org/projects/macports/changeset/29357
Author: markd at macports.org
Date: 2007-09-21 18:02:31 -0700 (Fri, 21 Sep 2007)
Log Message:
-----------
Some minor corrections and format changes.
Modified Paths:
--------------
trunk/doc-new/man/xml/portfile.7.xml
Modified: trunk/doc-new/man/xml/portfile.7.xml
===================================================================
--- trunk/doc-new/man/xml/portfile.7.xml 2007-09-21 22:35:21 UTC (rev 29356)
+++ trunk/doc-new/man/xml/portfile.7.xml 2007-09-22 01:02:31 UTC (rev 29357)
@@ -1381,22 +1381,28 @@
<para>Examples:</para>
<programlisting>master_sites http://www.somesite.org/files/ \
- http://www.somemirror.org/somesite_org/files/</programlisting>
+ http://www.somemirror.org/somesite_org/files/
+</programlisting>
+
<para>You may also use mirror site lists predefined by
MacPorts. Here the sourceforge and gnu mirrors are
used.</para>
- <programlisting>master_sites sourceforge gnu</programlisting>
+ <programlisting>master_sites sourceforge gnu
+</programlisting>
+
<para>When using mirror master_sites, the subdirectory
<varname>${name}</varname> is checked on every mirror. If the
mirror subdirectory does not match ${name}, then you may
specify it using after the mirror separated by a colon.</para>
<programlisting>master_sites sourceforge:widget \
- gnu:widget</programlisting>
+ gnu:widget
+</programlisting>
+
<para>For ports that must fetch multiple download files from
different locations, you must label the files with tags and
match the tags in a distfiles statement. The format is
@@ -1513,10 +1519,13 @@
<listitem>
<para>This keyword is for downloads that are tarred and bzipped.
- When invoked, it automatically sets: extract.suffix =
- <filename>.tar.bz</filename> and extract.cmd =
- <command>bzip</command>.</para>
+ When invoked, it automatically sets:</para>
+ <literallayout>extract.suffix = .tar.bz
+extract.cmd = bzip
+
+</literallayout>
+
<itemizedlist>
<listitem>
<para>Default: yes</para>
@@ -1536,11 +1545,15 @@
<listitem>
<para>This keyword is for downloads are zipped. When invoked, it
- automatically sets: extract.suffix = .<filename>zip</filename>,
- extract.cmd = <command>unzip</command>, extract.pre_args =
- <option>-q</option>, extract.post_args = "<option>-d</option>
- <varname>${portpath}/${workdir}</varname>"</para>
+ automatically sets:</para>
+ <literallayout>extract.suffix = .zip
+extract.cmd = unzip
+extract.pre_args = -q
+extract.post_args = "-d ${portpath}/${workdir}"
+
+</literallayout>
+
<itemizedlist>
<listitem>
<para>Default: <option>yes</option></para>
@@ -1589,8 +1602,8 @@
<term>cvs.tag</term>
<listitem>
- <para>Optional for fetching with CVS, this specifies the
- code revision to checkout.</para>
+ <para>Optional for fetching with CVS, this specifies the code
+ revision to checkout.</para>
<itemizedlist>
<listitem>
@@ -1650,7 +1663,7 @@
</refsection>
<refsection>
- <title>Fetch from SVN</title>
+ <title>Fetch from Subversion</title>
<para><ulink url="http://subversion.tigris.org/">Subversion</ulink>
may be used as an alternative method of fetching distribution files
@@ -1663,8 +1676,7 @@
<term>svn.url</term>
<listitem>
- <para>Optional for fetching with SVN, this specify the url from
- which to fetch files.</para>
+ <para>This specifies the url from which to fetch files.</para>
<itemizedlist>
<listitem>
@@ -2022,7 +2034,8 @@
<listitem>
<para>Example:</para>
- <programlisting>configure.env CFLAGS=-I${prefix}/include/qt3</programlisting>
+ <programlisting>configure.env CFLAGS=-I${prefix}/include/qt3
+</programlisting>
</listitem>
</itemizedlist>
</listitem>
@@ -2613,14 +2626,13 @@
<term>destroot.target-delete</term>
<listitem>
- <para>Install target to pass to ${destroot.cmd}; list modifiers add
- or delete items from a previous Portfile destroot.target keyword
- or the default set by MacPorts base.</para>
+ <para>Install target to pass to ${destroot.cmd}; list modifiers
+ add or delete items from a previous Portfile destroot.target
+ keyword or the default set by MacPorts base.</para>
<itemizedlist>
<listitem>
- <para>Default:
- <literal>install</literal></para>
+ <para>Default: <literal>install</literal></para>
</listitem>
<listitem>
@@ -2745,4 +2757,4 @@
<para>Markus W. Weissmann <email>mww at macports.org</email></para>
</refsection>
-</refentry>
+</refentry>
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070921/f35864a5/attachment.html
More information about the macports-changes
mailing list