Homebrew is simply the The missing package manager for OS X. Notice it’s better to not install macport on the same system with homebrew. To install it, do:
ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
Then to install say autoconf, simply do
brew install autoconf
It’s that simple!