[MacPorts] howto/InstallingOlderPort modified

MacPorts noreply at macports.org
Thu Feb 19 15:01:06 PST 2009


Changed page "howto/InstallingOlderPort" by blb at macports.org from 75.163.228.161*
Page URL: <http://trac.macports.org/wiki/howto/InstallingOlderPort>
Diff URL: <http://trac.macports.org/wiki/howto/InstallingOlderPort?action=diff&version=3>
Revision 3
Comment: Reformat to match other howto pages

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/InstallingOlderPort
=========================================================================
--- howto/InstallingOlderPort (version: 2)
+++ howto/InstallingOlderPort (version: 3)
@@ -1,3 +1,25 @@
+
+
+[wiki:howto <- Back to the HOWTO section]
+
+= How to install an older version of a port =
+
+ * Audience: Anyone needing an older version of a port than is currently available in the repository
+ * Requires: MacPorts >=1.7
+
+== Introduction ==
+
 MacPorts does not include a feature to let you install an older version of a port. It only lets you install the current version of the port that has been created by the port author.
 
-To install an older version of the port, you'll have to manually download the files from the repository. [browser:trunk/dports Browse the repository] to find the directory of the port you want, then use the Revision Log link in the upper right to find the older version that you want to install. For example, if you wanted to install the older 8.4.16 version of tcl, browse to the [browser:trunk/dports/lang/tcl lang/tcl] directory and look at its [log:trunk/dports/lang/tcl revision log]. Here you'll note that tcl was updated to 8.5.0 in r32235, so you want the revision before that, which was r30810. Click the [browser:trunk/dports/lang/tcl at 30810 @30810] link in the revision log (not the [30810] link) to see the directory as it existed in that revision. Click the Portfile to see it, then download it to disk using the Original Format link at the bottom of the page. The tcl port doesn't have a `files` directory, but if it did, you should download each file within it as well, and place them in a `files` directory on your disk in the same place where you downloaded the Portfile. Finally, use the Terminal to `cd` to the directory where you downloaded the Portfile and type "`sudo port install`".
+== Installation ==
+
+=== Step 1: '''Finding the right revision''' ===
+To install an older version of the port, you'll have to manually download the files from the repository. [browser:trunk/dports Browse the repository] to find the directory of the port you want, then use the Revision Log link in the upper right to find the older version that you want to install. For example, if you wanted to install the older 8.4.16 version of tcl, browse to the [browser:trunk/dports/lang/tcl lang/tcl] directory and look at its [log:trunk/dports/lang/tcl revision log]. Here you'll note that tcl was updated to 8.5.0 in r32235, so you want the revision before that, which was r30810. Click the [browser:trunk/dports/lang/tcl at 30810 @30810] link in the revision log (not the [30810] link) to see the directory as it existed in that revision.
+
+=== Step 2: '''Getting the Portfile''' ===
+Click the Portfile to see it, then download it to disk using the Original Format link at the bottom of the page. The tcl port doesn't have a `files` directory, but if it did, you should download each file within it as well, and place them in a `files` directory on your disk in the same place where you downloaded the Portfile.
+
+=== Step 3: '''Building the dowloaded port''' ===
+Finally, use the Terminal to `cd` to the directory where you downloaded the Portfile and type "`sudo port install`".
+
+[wiki:howto <- Back to the HOWTO section]

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on howto/InstallingOlderPort. If it was not you, please
report to .


More information about the macports-changes mailing list