Skip to content

Commit

Permalink
Fix the historical "sufx botch" by renaming it to "suffix"
Browse files Browse the repository at this point in the history
Reviewed by:    fkr & darwinports mailing list

git-svn-id: https://svn.macports.org/repository/macports/trunk/doc@3977 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jordan K. Hubbard committed Nov 17, 2003
1 parent 01f21f8 commit 21777cc
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions guide/xml/commands.xml
Expand Up @@ -84,14 +84,14 @@
</varlistentry>

<varlistentry>
<term>extract.sufx</term>
<term>extract.suffix</term>

<listitem>
<synopsis>Type: optional Default: .tar.gz</synopsis>

<para>Suffix to append to ${distname}</para>

<para><userinput>extract.sufx .tgz</userinput></para>
<para><userinput>extract.suffix .tgz</userinput></para>

</listitem>
</varlistentry>
Expand All @@ -102,7 +102,7 @@
<listitem>
<synopsis>Type: optional</synopsis>

<para>Sets extract.sufx to: .zip Sets extract.cmd to:
<para>Sets extract.suffix to: .zip Sets extract.cmd to:
unzip Sets extract.pre_args to: -q Sets extract.post_args
to: "-d $portpath/$workdir"</para>

Expand Down
26 changes: 13 additions & 13 deletions guide/xml/details.xml
Expand Up @@ -267,14 +267,14 @@ formats. </userinput></programlisting></para>

</listitem>
</varlistentry>
<varlistentry id='extract.sufx'>
<term>extract.sufx</term>
<varlistentry id='extract.suffix'>
<term>extract.suffix</term>
<listitem>
<para>By default the value of ${extract.sufx} is .tar.gz.
Specifying extract.sufx is optional, only use it if the
<para>By default the value of ${extract.suffix} is .tar.gz.
Specifying extract.suffix is optional, only use it if the
suffix is not 'tar.gz.'. </para>

<para><userinput>extract.sufx .tgz</userinput></para>
<para><userinput>extract.suffix .tgz</userinput></para>

</listitem>
</varlistentry>
Expand All @@ -284,7 +284,7 @@ formats. </userinput></programlisting></para>
<para>By default distname is ${name}-${version}.
Specifying distname is optional, only use it if the
file that contains the port is not ${name}-${version}
(without the extract.sufx).</para>
(without the extract.suffix).</para>

<para><userinput>distname ${name}_${version}</userinput></para>

Expand All @@ -294,12 +294,12 @@ formats. </userinput></programlisting></para>
<varlistentry id='distfiles'>
<term>distfiles</term>
<listitem>
<para>Defaults to ${distname}.${extract.sufx}. Specifying
<para>Defaults to ${distname}.${extract.suffix}. Specifying
distfiles is optional, only use it if the file that
contains the port is not ${distname}.${extract.sufx}
contains the port is not ${distname}.${extract.suffix}
or more than one file needs to be retirieved. </para>

<para><userinput>distfiles stable.${extract.sufx}
<para><userinput>distfiles stable.${extract.suffix}
installer.sh</userinput></para>

<para>Some ports require multiple items to be fetched
Expand All @@ -310,7 +310,7 @@ formats. </userinput></programlisting></para>
long lines should be broken up with escaped
newlines. </para>
<para><userinput>distfiles
stable.${extract.sufx}:source
stable.${extract.suffix}:source
installer.sh:install</userinput></para>
</listitem>
</varlistentry>
Expand All @@ -320,7 +320,7 @@ formats. </userinput></programlisting></para>
<listitem>
<para>Specifying use_zip is optional, only use it if
the file downloades is zipped rather than tarred and
gziped. use_zip set ${extract.sufx} to .zip and
gziped. use_zip set ${extract.suffix} to .zip and
extract.cmd to unzip, extract.pre_args to -q and
extract.post_args to "-d $portpath/$workdir".</para>

Expand All @@ -333,7 +333,7 @@ formats. </userinput></programlisting></para>
<listitem>
<para>Specifying use_bzip2 is optional, only use it
if the file downloades is bzipped rather than tarred
and gziped. use_bzip2 set ${extract.sufx} to .bzip2
and gziped. use_bzip2 set ${extract.suffix} to .bzip2
and extract.cmd to bzip2.</para>

<para><userinput>use_bzip2 yes</userinput></para>
Expand Down Expand Up @@ -547,7 +547,7 @@ ftp://ftp.uu.net/archive/systems/gnu/directory/${name}/
checksum.</para>

<para><programlisting><userinput>
${distname}-${extract.sufx} md5 65b89365a65dcad71d4402b48 \
${distname}-${extract.suffix} md5 65b89365a65dcad71d4402b48 \
foo.tar.gz md5 65b89365a65dcad71d4402b44</userinput>
</programlisting></para>

Expand Down
6 changes: 3 additions & 3 deletions guide/xml/quick.xml
Expand Up @@ -442,7 +442,7 @@ http://distfiles.opendarwin.org/</programlisting>

<listitem>
<para><varname>distfile</varname> is the name and version
combined with the <varname>extract_sufx</varname> (by
combined with the <varname>extract.suffix</varname> (by
default <filename>${name}-${version}.tar.gz</filename>)
by default, and is used by DarwinPorts to fetch the
distribution file. If the name of the file on the server
Expand Down Expand Up @@ -617,7 +617,7 @@ http://distfiles.opendarwin.org/</programlisting>
<example id="expat">
<title>Expat <filename>Portfile</filename></title>
<programlisting><![CDATA[########################### libxslt Portfile ##################################
# $Id: quick.xml,v 1.14 2003/07/30 14:35:39 fkr Exp $
# $Id: quick.xml,v 1.15 2003/11/17 21:19:52 jkh Exp $
PortSystem 1.0
Expand Down Expand Up @@ -645,7 +645,7 @@ long_description Gnome library for applying XSL stylesheet transformations to \
<title>Neon <filename>Portfile</filename></title>

<programlisting><![CDATA[###########################neon Portfile####################################
# $Id: quick.xml,v 1.14 2003/07/30 14:35:39 fkr Exp $
# $Id: quick.xml,v 1.15 2003/11/17 21:19:52 jkh Exp $
PortSystem 1.0
name neon
Expand Down

0 comments on commit 21777cc

Please sign in to comment.