A huge flaw of Mac OS X is the lack of a proper package manager.
Mac OS X does provide a package manager - the App Store.
Mac OS X does provide a package manager - the App Store.
Everything I've needed has been available in homebrew, and more up-to-date and better isolated and hasn't collided with anything yet. I haven't used it as long as I've used macports, but so far it has been a far more pleasant experience. And incomparably faster - I swear, macports has a sleep() call in every operation. Very much recommended if you haven't tried it, and it cleans up nicely too - you just delete its single folder.