How to uninstall all unused versions of (mac)ports packages?

This is actually pretty easy, just run the following command:

sudo port uninstall inactive

You cannot comment on this entry