While Homebrew defaults to binary, it can build from source, though it tends to leave behind a bloody mess when it does.
MacPorts has excellent housekeeping, which is controlled through port command arguments. One can choose to leave everything from the entire build, or have everything cleaned up as it builds, or clean it up after the build. Showing and eliminating leaves is also pretty simple.
Uninstalling MacPorts with these 3 commands leaves absolutely nothing behind:
>$ sudo port -dfp uninstall --follow-dependencies installed
>$ sudo port -dfp uninstall all
>$ sudo rm -rf /opt/local /Library/Tcl/macports*
Good luck completely uninstalling Homebrew without having to look everywhere to make sure it is all gone. It requires downloading and trusting the Homebrew uninstall script.
MacPorts has excellent housekeeping, which is controlled through port command arguments. One can choose to leave everything from the entire build, or have everything cleaned up as it builds, or clean it up after the build. Showing and eliminating leaves is also pretty simple.
Uninstalling MacPorts with these 3 commands leaves absolutely nothing behind:
>$ sudo port -dfp uninstall --follow-dependencies installed
>$ sudo port -dfp uninstall all
>$ sudo rm -rf /opt/local /Library/Tcl/macports*
Good luck completely uninstalling Homebrew without having to look everywhere to make sure it is all gone. It requires downloading and trusting the Homebrew uninstall script.