Changeset 29348 for trunk/doc-new/man


Ignore:
Timestamp:
Sep 21, 2007, 9:11:14 PM (12 years ago)
Author:
simon@…
Message:

doc-new: Fixed some spelling mistakes and other minor errors in portfile.7.xml.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/man/xml/portfile.7.xml

    r29284 r29348  
    402402            <para>A one-sentence description of the ported software.</para>
    403403
    404             <epigraph>
    405               <para>ddd</para>
    406             </epigraph>
    407 
    408             <programlisting>description    A clasic shooter arcade game.</programlisting>
     404            <programlisting>description    A classic shooter arcade game.</programlisting>
    409405          </listitem>
    410406        </varlistentry>
     
    450446      <para>Free and open source software is highly modular, and MacPorts
    451447      ports often require that other ports be installed beforehand; these
    452       prerequistes for a given port are called a port's
     448      prerequisites for a given port are called a port's
    453449      <quote>dependencies</quote>.</para>
    454450
     
    601597
    602598          <listitem>
    603             <para>Default variants may be suppressed by preceeding a variant
     599            <para>Default variants may be suppressed by preceding a variant
    604600            name with a "-" as shown in this example.</para>
    605601
     
    11451141
    11461142                  <programlisting>startupitem.start ${prefix}/share/mysql/mysql.server start
    1147 startupitem.start ${prefix}/share/mysql/mysql.server stop
    1148 startupitem.start ${prefix}/share/mysql/mysql.server restart</programlisting>
     1143startupitem.stop ${prefix}/share/mysql/mysql.server stop
     1144startupitem.restart ${prefix}/share/mysql/mysql.server restart</programlisting>
    11491145                </listitem>
    11501146              </itemizedlist>
     
    11991195
    12001196                <listitem>
    1201                   <para>Defualt: [none] |
     1197                  <para>Default: [none] |
    12021198                  [<filename>${prefix}/var/run/${name}.pid</filename>]</para>
    12031199                </listitem>
     
    15941590
    15951591            <listitem>
    1596               <para>Optional for for fetching with CVS, this specifies the
     1592              <para>Optional for fetching with CVS, this specifies the
    15971593              code revision to checkout.</para>
    15981594
     
    16681664
    16691665            <listitem>
    1670               <para>Optional for fetching with CVS, this specify the url from
     1666              <para>Optional for fetching with SVN, this specify the url from
    16711667              which to fetch files.</para>
    16721668
     
    16911687
    16921688            <listitem>
    1693               <para>Optional for for fetching with Subversion, this specifies
     1689              <para>Optional tag for fetching with Subversion, this specifies
    16941690              the code revision to checkout; it corresponds to the -r option
    16951691              in the svn cli. You must use backslashes to escape characters
     
    18451841
    18461842              <listitem>
    1847                 <para>extract.post_args_default: " | tar -xf"</para>
     1843                <para>extract.post_args default: " | tar -xf"</para>
    18481844              </listitem>
    18491845
     
    18521848
    18531849                <programlisting>extract.pre_args     xf
    1854 extract.post_args    extract.post_args “| gnutar –x”</programlisting>
     1850extract.post_args    "| gnutar –x"</programlisting>
    18551851              </listitem>
    18561852            </itemizedlist>
     
    19381934
    19391935            <programlisting>patchfiles-append   patch-configure
    1940 patchfiles-append   patch-src-Makefile.in
     1936patchfiles-delete   patch-src-Makefile.in
    19411937</programlisting>
    19421938          </listitem>
     
    19781974
    19791975              <listitem>
    1980                 <para>patch.post_args_default: none</para>
     1976                <para>patch.post_args default: none</para>
    19811977              </listitem>
    19821978
     
    20272023                <para>Example:</para>
    20282024
    2029                 <programlisting>configure.args    --bindir=${prefix}/bin
    2030 
    2031 </programlisting>
     2025                <programlisting>configure.env   CFLAGS=-I${prefix}/include/qt3</programlisting>
    20322026              </listitem>
    20332027            </itemizedlist>
     
    20372031            <para>List modifier examples:</para>
    20382032
    2039             <programlisting>configure.args-append   --with-mysql5
    2040 configure.args-delete   --without-x11</programlisting>
     2033            <programlisting>configure.env-append   CFLAGS=-${prefix}/include/qt3
     2034configure.env-delete   LDFLAGS=-L${prefix}/lib</programlisting>
    20412035          </listitem>
    20422036        </varlistentry>
     
    21852179
    21862180              <listitem>
    2187                 <para>configure.post_args_default: none</para>
     2181                <para>configure.post_args default: none</para>
    21882182              </listitem>
    21892183
     
    21912185                <para>Examples:</para>
    21922186
    2193                 <programlisting>configure.pre_args --prefix=${prefix}/share/bro
    2194 configure.post_args OPT="-D__DARWIN_UNIX03"</programlisting>
     2187                <programlisting>configure.pre_args   --prefix=${prefix}/share/bro
     2188configure.post_args  OPT="-D__DARWIN_UNIX03"</programlisting>
    21952189              </listitem>
    21962190            </itemizedlist>
     
    24822476
    24832477              <listitem>
    2484                 <para>build.post_args_default: none</para>
     2478                <para>build.post_args default: none</para>
    24852479              </listitem>
    24862480
     
    25432537          <listitem>
    25442538            <para>Install command to run relative to
    2545             <varname>${worksrcdir}</varname>; defaults is
     2539            <varname>${worksrcdir}</varname>; default is
    25462540            <varname>${build.cmd}</varname>.</para>
    25472541
     
    25992593
    26002594              <listitem>
    2601                 <para>destroot.post_args_default: none</para>
     2595                <para>destroot.post_args default: none</para>
    26022596              </listitem>
    26032597
     
    26202614
    26212615          <listitem>
    2622             <para>Install taget to pass to ${destroot.cmd}; list modifiers add
     2616            <para>Install target to pass to ${destroot.cmd}; list modifiers add
    26232617            or delete items from a previous Portfile destroot.target keyword
    26242618            or the default set by MacPorts base.</para>
     
    26272621              <listitem>
    26282622                <para>Default:
    2629                 <literal>CPPFLAGS=-I${prefix}/include</literal></para>
     2623                <literal>install</literal></para>
    26302624              </listitem>
    26312625
Note: See TracChangeset for help on using the changeset viewer.