Java software tends to come with its own mini file layout including bin, lib and other folders. The lib folder typically holds jars, which can conflict between packages if linked into HOMEBREW_PREFIX/lib and aren't needed to compile other .dylib based software anyway. The recommendation for Java software is to install to "libexec" and then symlink or wrap binaries from libexec/bin to bin in the Cellar.
Homebrew
Features and usage are summarized on the homepage.
Quick Install to /usr/local
This script will prompt for confirmation before it does anything:
ruby -e "$(curl -fsS http://gist.github.com/raw/323731/install_homebrew.rb)"
Afterwards, install Xcode.
Umm… I thought I could install it anywhere?
Indeed, you can. Refer to our complete installation instructions.
Dude! Just give me a one-liner!
Okay then, but please note this installs Homebrew as root and we recommend against that.
curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1
More Documentation
The wiki is your friend.
Who Are You?
I'm Max Howell and I'm a splendid chap.
4.6.25
Latest
Languages
Ruby
92%
Shell
5.2%
Roff
2.1%
HTML
0.5%