Updating MacPorts

sudo port selfupdate

Then to upgrade your installed ports:

sudo port upgrade outdated
Written on December 18, 2008