How do check that uninstalling Macports won't break things? Its been over a year since I installed Macports for Ruby. I want to uninstall but I can't remember if I was using for anything crucial. Can I get a nice list of ports that was directly installed?
Macports documents how to uninstall it

Uninstall the ports by

sudo port -fp uninstall installed


Then remove all the files

sudo rm -rf \
    /opt/local \
    /Applications/DarwinPorts \
    /Applications/MacPorts \
    /Library/LaunchDaemons/org.macports.* \
    /Library/Receipts/DarwinPorts*.pkg \
    /Library/Receipts/MacPorts*.pkg \
    /Library/StartupItems/DarwinPortsStartup \
    /Library/Tcl/darwinports1.0 \
    /Library/Tcl/macports1.0 \
    ~/.macports