Abrir el Terminal y ejecutar los siguientes comandos:
sudo port -fp uninstall installed
sudo rm -rf \
/opt/local \
/Applications/DarwinPorts \
/Applications/MacPorts \
/Library/LaunchDaemons/org.macports.* \
/Library/Receipts/MacPorts*.pkg \
/Library/StartupItems/DarwinPortsStartup \
/Library/Tcl/macports1.0 \
~/.macports
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"