$ port install vim$ port installed$ port deps python27$ port rdeps python27$ port dependents python27$ port contents python27Tells important information concerning setup and use of the port, for example that in order to set a python flavor to be default you have to do this step manually:
$ sudo port select --set python python27
$ port notes python27Shows available versions and the currently active version of a package ( port select virtualenv virtualenv27 )
$ port select virtualenv$ port -y install python27$ sudo port uninstall --follow-dependents python27$ sudo port uninstall python27 and installed$ sudo port uninstall python27 and installed py27-pip gtk2 and installed$ sudo port -u uninstall$ sudo port selfupdate$ sudo port upgrade outdated$ locate variants.conf$ locate macports.confInformation taken from: Wiki Titan2x
More information in: Trac Mac Ports