| 23 | == Alternative method to getting the port == |
| 24 | |
| 25 | Subversion 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''' === |
| 28 | Follow Step 1 earlier to find the right revision for the port you need, eg, 30810. |
| 29 | |
| 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: |
| 32 | {{{ |
| 33 | svn co -r 30810 http://svn.macports.org/repository/macports/trunk/dports/lang/tcl |
| 34 | }}} |
| 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. |
| 36 | |