New install, how should I set my macports.conf

Ryan Schmidt ryandesign at
Sat Jan 23 16:15:36 PST 2010

On Jan 23, 2010, at 18:06, Scott Haneda wrote:

> It says to do this, for an uninstall:
> 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
> Where is this "/Applications/DarwinPorts" and/or "/Applications/MacPorts", I have never seen anything put into /Applications?

GUI applications, like many of the ports in the aqua category, typically install in /Applications/MacPorts. Old versions of MacPorts and DarwinPorts used /Applications/DarwinPorts.

> The rest makes sense.
> What is the harm if you do not remove receipt packages?  I was building out some local stuff with Apple's Package Maker, using it as a glorified way to put shell scripts and a launchd item where I wanted it.  I ended with a bunch of receipts, one for each build test I ran.  I have no idea if they are harmless, or I can safely delete them, or why so many were made.

The Mac OS X Installer installs the receipt after it's installed whatever software you're installing. I feel if you've later removed that software, the receipt has no reason to be there anymore and should be removed as well.

The Repair Permissions feature in Disk Utility uses the receipts to determine what the correct permissions of the files should be. Having Disk Utility process receipts for software that's no longer installed wastes time.

More information about the macports-users mailing list