http://de.wikipedia.org/wiki/MacPorts
MacPorts provides an infrastructure for building, installing, and packaging open source software. It is designed to match the functionality of the FreeBSD Ports system and to be extensible for future enhancements.
Installation von Xcode und danach der Xcode-Commandline-Tools
sudo port install watch
sudo port install nmap