Migrating MacPorts apps through major OS upgrades
I have become dependent on many command line applications I have installed through the open source MacPorts effort, and if you have too you’ll really appreciate this guide. When upgrading Mac OS X to a new major OS (say, upgrading Tiger to Snow Leopard) you may notice that some MacPorts installations get screwy and no longer work… but no worries, this simple walkthrough on MacPorts.org shows us how to easily reinstall all of our existing MacPorts software in just a few simple commands. Highly recommended reading for all MacPorts users:
MacPorts: Migrating a MacPorts install to a new major OS version or CPU architecture