sudo installer -pkg MacPorts-2.1.2-10.6-SnowLeopard.pkg -target /
sudo port clean --all all
sudo port -d selfupdate
sudo port upgrade outdated