MacPorts is the new name for DarwinPorts, a BSD-like ports system for Mac OS X from where I used to get pretty much all my UNIX packages before moving to HomeBrew.
Notes
port selfupdate
port -d sync && portindex && port clean all && port upgrade installed