Changes between Version 3 and Version 4 of howto/InstallingOlderPort


Ignore:
Timestamp:
Feb 19, 2009, 11:10:00 PM (15 years ago)
Author:
blb@…
Comment:

Add section about using svn to grab the port directory instead of everything manually with a browser

Legend:

Unmodified
Added
Removed
Modified
  • howto/InstallingOlderPort

    v3 v4  
    1 
    2 
    31[wiki:howto <- Back to the HOWTO section]
    42
     
    2321Finally, use the Terminal to `cd` to the directory where you downloaded the Portfile and type "`sudo port install`".
    2422
     23== Alternative method to getting the port ==
     24
     25Subversion can be used as well to fetch an older port, and is simpler for one that has a files/ subdirectory.
     26
     27=== Step 1: '''Finding the right revision''' ===
     28Follow Step 1 earlier to find the right revision for the port you need, eg, 30810.
     29
     30=== Step 2: '''Checking out the port''' ===
     31Check 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:
     32{{{
     33svn co -r 30810 http://svn.macports.org/repository/macports/trunk/dports/lang/tcl
     34}}}
     35This 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.
     36
    2537[wiki:howto <- Back to the HOWTO section]