[79425] trunk/base/doc/port.1

jmr at macports.org jmr at macports.org
Mon Jun 13 01:09:09 PDT 2011


Revision: 79425
          http://trac.macports.org/changeset/79425
Author:   jmr at macports.org
Date:     2011-06-13 01:09:09 -0700 (Mon, 13 Jun 2011)
Log Message:
-----------
document select action in port man page (#29528)

Modified Paths:
--------------
    trunk/base/doc/port.1

Modified: trunk/base/doc/port.1
===================================================================
--- trunk/base/doc/port.1	2011-06-13 08:03:13 UTC (rev 79424)
+++ trunk/base/doc/port.1	2011-06-13 08:09:09 UTC (rev 79425)
@@ -381,6 +381,31 @@
 .Dl "port uninstall vim"
 .Dl "port -u uninstall"
 .Dl "port uninstall --follow-dependents python24"
+.Ss select
+For a given
+.Ar group ,
+selects a
+.Ar version
+to be the default by creating appropriate symbolic links.
+For instance,
+.Ic "python"
+might be linked to
+.Ic "python2.6" .
+Available select groups are installed as subdirectories of
+.Ar ${prefix}/etc/select/ .
+To list the available versions in a group, use
+.Fl -list .
+To see which version is currently selected for a group, use
+.Fl -show .
+To change the selected version for a group, use
+.Fl -set .
+.Pp
+For example:
+.Pp
+.Dl "port select --list python"
+.Dl "port select --show gcc"
+.Dl "port select --set gcc mp-gcc44"
+.Pp
 .Ss activate
 Activate the installed
 .Ar portname .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110613/72068a8a/attachment.html>


More information about the macports-changes mailing list