Changeset 7650 for trunk/doc


Ignore:
Timestamp:
Jul 4, 2004, 7:41:33 PM (15 years ago)
Author:
wbb4
Message:

Bug:
Submitted by: Richard.E.Brown@…
Reviewed by: wbb4@
Approved by: wbb4@
Obtained from:

Make the commands used to fetch and update DarwinPorts more verbose and their use clearer, as suggested by Richard Brown, http://www.opendarwin.org/pipermail/darwinports/2004-July/021490.html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/guide/xml/user/user.xml

    r5206 r7650  
    186186                       
    187187                        <para>To install DarwinPorts execute the following commands from the
    188                         darwinports/base directory.<programlisting><![CDATA[
    189 
     188                        darwinports/base directory.  These commands assume that you checked
     189                        out the darwinports tree from CVS in your home directory.  Modify
     190                        the <userinput>cd</userinput> command appropriately if you did
     191                        otherwise.
     192                        <programlisting><![CDATA[
     193% cd ~/darwinports/base
    190194% ./configure
    191195% make
    192196% sudo make install
    193 
    194197]]>
    195198                        </programlisting>
     
    415418                        <para>New ports are always being added to the DarwinPorts dports
    416419                        tree, you should regularly update your tree to get access to new
    417                         ports, and (hopefully) improved versions of current ports. Currently
    418                         the simplest way you can update the dports tree is to use cvs. You
    419                         should change directory to the dports directory and then execute:
    420                         <userinput>cvs -z3 update -dP</userinput>. You should see a set of
    421                         lines printed out in the terminal as the update progresses. You
    422                         may need to update your PortIndex as mentioned previously:
    423                         <userinput>portindex</userinput>. </para>
    424 
    425                        
    426                         <para>You can also use cvs to fetch an new version of the
    427                         DarwinPorts infrastructure (eg the port command and associated
    428                         libraries). To do this you should change directories to the
    429                         darwinports/base directory and execute the following commands:
    430                         <programlisting><![CDATA[
    431  
    432 % cvs -z3 update -dP
     420                        ports, and (hopefully) improved versions of current ports.  Currently
     421                        the simplest way you can update the dports tree is to use
     422                        <command>cvs</command>.  You can also use <command>cvs</command>
     423                        to fetch a new version of the DarwinPorts infrastructure (eg the
     424                        <command>port</command> command and associated libraries).</para>
     425
     426                        <variablelist>
     427                                <varlistentry>
     428                                        <term>Updating your DarwinPorts ports</term>
     429
     430                                        <listitem>
     431                                                <para>To get the latest Portfiles (the instructions for
     432                                                        building ports), you need to update your
     433                                                        <filename>dports</filename> tree from
     434                                                        <command>cvs</command>:
     435                                                        <programlisting><![CDATA[
     436% cd ~/darwinports/dports
     437% cvs -q -z3 update -dP
     438]]>
     439                                                        </programlisting></para>
     440
     441                                                <para>By using the -q flag to
     442                                                        <command>cvs</command>, you will see in the output what
     443                                                        Ports have changed or have been added.</para>
     444                                        </listitem>             
     445                                </varlistentry>
     446
     447                                <varlistentry>
     448                                        <term>Updating your DarwinPorts infrastructure</term>
     449
     450                                        <listitem>
     451                                                <para>To get the latest DarwinPorts infrastructure (or
     452                                                        "base") for building ports, you need to update your
     453                                                        <filename>base</filename> from <command>cvs</command>:
     454                                                        <programlisting><![CDATA[
     455% cd ~/darwinports/base
     456% cvs -q -z3 update -dP
    433457% ./configure
    434458% make clean && make
    435459% sudo make install
    436460]]>
    437                                 </programlisting>This will build and install the new version
    438                                 of DarwinPorts. You don't need to do this very often, although
    439                                 DarwinPorts is a young project and continually improving so we
    440                                 encourage you to keep up to date. </para>
    441 
    442                        
     461                                                        </programlisting></para>
     462                                        </listitem>
     463                                </varlistentry>
     464                        </variablelist>
    443465                </sect2>
    444466               
Note: See TracChangeset for help on using the changeset viewer.