6
So I haven't cleaned up after MacPorts in, um, ever and I'm trying to cut down on the disk space it's using. The source code for several (but not all) of the ports are still on my disk. Since I've already compiled and installed those ports, is there any reason to keep the source? How can I get MacPorts to remove the source and just keep the compiled binaries? (Or is that the intended behavior; am I finding ports that don't properly clean their sources?)
I've done port uninstall inactive
and port clean --all installed
. They both greatly helped clean up other stuff, but neither of them got rid of the source code.
Thanks.
1So the files I was asking about are in /opt/local/var/macports/software. That's where the installed files go; apparently some ports install .c files. (That was news to me.) Thanks for pointing me in the right direction. – Evan – 2010-11-15T18:18:49.053
Ah, I see. If you want to verify what files come with a port, you can use
port contents <portname>
. The .c files should show up, indicating that they are meant to be installed, and not just from the source package. – fideli – 2010-11-15T19:27:29.657