How to do \"sudo apt-get install \" on OSX?
If you really want an apt-based package management, take a look at Fink. It's the "oldest" package manager on Mac OS X and I'm not sure if the packages are properly maintained anymore. But I'm using it successfully under Snow Leopard.