Changeset 28538 for trunk/doc


Ignore:
Timestamp:
Sep 3, 2007, 8:32:56 AM (12 years ago)
Author:
markd@…
Message:

Rename the startupitem category from "non-executable" to "wrapper".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/guide/new/xml/portfileref.xml

    r28491 r28538  
    162162      <title>depends_lib</title>
    163163
    164       <para>Library dependencies are needed both at build time (for headers
    165       and libraries to link against) and at run time.</para>
     164      <para>The list of dependencies to check before phases
     165      <option>configure</option>, <option>build</option>,
     166      <option>destroot</option>, <option>install</option>, and
     167      <option>package</option>. Library dependencies are needed both at build
     168      time (for headers and libraries to link against) and at run time.</para>
    166169
    167170      <programlisting>depends_lib         port:rrdtool</programlisting>
     
    171174      <title>depends_build</title>
    172175
    173       <para>Build dependencies are needed when software is compiled, but not
    174       needed at all once the software is compiled and installed.</para>
     176      <para>The list of dependencies to check before phases
     177      <option>build</option>, <option>destroot</option>,
     178      <option>install</option>, and <option>package</option>. Build
     179      dependencies are needed when software is compiled, but not needed at all
     180      once the software is compiled and installed.</para>
    175181
    176182      <programlisting>depends_build       port:gcc42</programlisting>
     
    180186      <title>depends_run</title>
    181187
    182       <para>Run dependencies are needed when the software is run, but not to
    183       compile it.</para>
     188      <para>The list of dependencies to check before phases
     189      <option>destroot</option>, <option>install</option>, and
     190      <option>package</option>. Run dependencies are needed when the software
     191      is run, but not to compile it.</para>
    184192
    185193      <programlisting>depends_run         port:apache2</programlisting>
     
    228236    installed.</para>
    229237
    230     <para>There are two types of StartupItems, executable and non-executable,
    231     but first we'll list the StartupItem keywords common to both types.</para>
     238    <para>There are two types of StartupItems, executable and wrapper, but
     239    first we'll list the StartupItem keywords common to both types.</para>
    232240
    233241    <section>
    234       <title>StartupItem Common Keywords</title>
     242      <title>Common StartupItem Keywords</title>
    235243
    236244      <para>The keywords in this section may be used with executable or
    237       non-executable StartupItems.</para>
     245      wrapper StartupItems.</para>
    238246
    239247      <variablelist>
     
    323331      specify the name of the daemon to be run in the background.
    324332      <command>launchd</command> monitors the daemon to make sure it stays
    325       running. Executable StartupItems may not be used together with any of
    326       the non-executable StartupItem keywords.</para>
     333      running. Executable StartupItem keywords may not be used together with
     334      any of the wrapper StartupItem keywords.</para>
    327335
    328336      <variablelist>
     
    379387
    380388    <section>
    381       <title>Non-Executable StartupItems</title>
    382 
    383       <para>Non-executable StartupItems use <command>daemondo</command>, a
    384       wrapper program provided by MacPorts base that runs daemons.
    385       <command>daemondo</command> works as an adapter between OS X's launchd
    386       and daemons that are normally started via traditional rc.d style
     389      <title>Wrapper StartupItems</title>
     390
     391      <para>Wrapper StartupItems use <command>daemondo</command>, a wrapper
     392      program provided by MacPorts base made to execute startup scripts for
     393      daemons. <command>daemondo</command> works as an adapter between OS X's
     394      launchd and daemons that are normally started via traditional rc.d style
    387395      scripts.</para>
    388396
     
    401409              <member>Default: <option>no</option></member>
    402410
    403               <member>Values: <option>shell code</option></member>
     411              <member>Values: <literal>shell script</literal></member>
    404412            </simplelist>
    405413
     
    932940
    933941          <listitem>
    934             <para>The top line of every Portfile. The PortSystem line wraps
    935             the loading of TCL libraries appropriate for a given version of
    936             MacPorts.</para>
    937 
    938             <programlisting>PortSystem   1.0</programlisting>
     942            <para>The top line of every Portfile; it must be followed by a
     943            blank line. It defines which version of the Portfile interpreter
     944            will be used.</para>
     945
     946            <programlisting>PortSystem   1.0
     947
     948</programlisting>
    939949          </listitem>
    940950        </varlistentry>
     
    945955          <listitem>
    946956            <para>The name of the Port; it should be lowercase.</para>
     957
     958            <simplelist>
     959              <member>Type: required</member>
     960
     961              <member>Default: none</member>
     962            </simplelist>
    947963
    948964            <programlisting>name         foo</programlisting>
Note: See TracChangeset for help on using the changeset viewer.