New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changes between Version 7 and Version 8 of howto/InstallingOlderPort


Ignore:
Timestamp:
05/25/09 10:15:44 (4 years ago)
Author:
ryandesign@…
Comment:

Add note on installing Subversion; reword "Checking out the port" section

Legend:

Unmodified
Added
Removed
Modified
  • howto/InstallingOlderPort

    v7 v8  
    2525Subversion can be used as well to fetch an older port, and is simpler for one that has a files/ subdirectory. 
    2626 
    27 === Step 1: '''Finding the right revision''' === 
    28 Follow Step 1 earlier to find the right revision for the port you need, eg, 30810. 
     27=== Step 1: '''Install Subversion''' === 
    2928 
    30 === Step 2: '''Checking out the port''' === 
    31 Check out the revision you found for the port, you'll need that revision number and the category/portname path to the port (lang/tcl for tcl).  Then you use svn to check out the port at that revision: 
     29Install Subversion: 
     30{{{ 
     31sudo port install subversion 
     32}}} 
     33This step is optional for Mac OS X 10.5 Leopard and later, which already include a Subversion client, but you may want to install it from MacPorts anyway because its version is likely newer than the one included with your operating system. 
     34 
     35=== Step 2: '''Finding the right revision''' === 
     36Follow Step 1 earlier to find the right revision for the port you need, e.g. r30810. 
     37 
     38=== Step 3: '''Checking out the port''' === 
     39Using the revision number, port category and port name, check out the port directory at that revision using the `svn` command: 
    3240{{{ 
    3341svn co -r 30810 http://svn.macports.org/repository/macports/trunk/dports/lang/tcl 
    3442}}} 
    35 This creates a tcl directory in your current location, and populates that with everything the port should need to build.  Replace the 30810 and lang/tcl with the correct revision and category/portname for your interested port. 
     43This creates a tcl directory in your current location, and populates that with everything the port needs to build.  Replace "30810" and "lang/tcl" with the correct revision and category/portname for the port you're interested in. 
    3644 
    3745[wiki:howto <- Back to the HOWTO section]