zz Upgrading to Snow Leopard Part 3: MacPorts
http://www.libertypages.com/clarktech/?p=743 Upgrading to Snow Leopard Part 3: MacPorts Posted by clark in System on August 30th, 2009 OK, here’s the “fun” part of the upgrade. Fixing MacPorts. Fortunately MacPorts installs stuff in mainly two places. /opt and /Applications/MacPorts. So that makes dismantling the old stuff relatively easy. Usually I start by moving the /Applications/MacPorts directory to the desktop and then simply renaming /opt to /opt.old so as to keep everything around. (Also note that I did a total disk backup prior to installing Snow Leopard in case of real catastrophic mistakes) To get rid of everything (and some of these directories are legacy) do the following: sudo rm -rf \ /opt/local \ /etc/manpaths.d/macports \ /etc/paths.d/macports \ /Applications/DarwinPorts \ /Applications/MacPorts \ /Library/LaunchDaemons/org.macports.* \ /Library/Receipts/DarwinPorts*.pkg \ /Library/Receipts/MacPorts*.pkg \ /Library/S...