diff options
| author | Adam Vandenberg | 2010-08-13 08:08:20 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-13 08:08:20 -0700 |
| commit | 2d441d2ac194994998859c00f98eed09bc4e8d9f (patch) | |
| tree | bb901522580cb2f3f62817aa14e154f5730344c5 /Library/Formula | |
| parent | b3960e4187fe184f3a2c72baf253dc000f5a9c40 (diff) | |
| download | homebrew-2d441d2ac194994998859c00f98eed09bc4e8d9f.tar.bz2 | |
Update Gant to Homebrew Java style
Homebrew's preferred method for installing packaged software is to
install into the Cellar's libexec, and then symlink or wrap just
the binaries into bin.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gant.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/gant.rb b/Library/Formula/gant.rb index eea240a0b..5360e4120 100644 --- a/Library/Formula/gant.rb +++ b/Library/Formula/gant.rb @@ -11,6 +11,10 @@ class Gant <Formula def install rm_f Dir["bin/*.bat"] # gant-starter.conf is found relative to bin - prefix.install %w[bin lib conf] + libexec.install %w[bin lib conf] + (bin+'gant').write <<-EOS.undent + #!/bin/bash + exec #{libexec}/bin/gant + EOS end end |
