Re:MacPorts 2.0 with Lion support now available
by daviddavis on Monday July 25, 2011 @10:21AM
(#2802702)
Homebrew is just a Ruby project in git so all the packages (or formulas) are just rb files inside the project:
https://github.com/mxcl/homebrew/tree/master/Library/Formula
They usually only provide the most recent stable version of each project but you can find other formulas on the web and just run:
brew install [url]
I don't use macports a lot, I think the biggest things I have installed are Python 2.7, PIL, and Hg.