aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt2011-04-27 22:05:47 +0200
committerAdam Vandenberg2011-05-05 06:47:43 -0700
commitf1b101038334e079b4a218495d92ef6c93ee1428 (patch)
tree929a2c48dd4842de9c2089f87fa9696e60a2b2f2 /Library/Formula
parentf3d4f9ca0980823a3b40de304b67444612be6626 (diff)
downloadhomebrew-f1b101038334e079b4a218495d92ef6c93ee1428.tar.bz2
Gant 1.9.4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gant.rb15
1 files changed, 8 insertions, 7 deletions
diff --git a/Library/Formula/gant.rb b/Library/Formula/gant.rb
index 16bf90173..a4a9666e3 100644
--- a/Library/Formula/gant.rb
+++ b/Library/Formula/gant.rb
@@ -1,10 +1,10 @@
require 'formula'
class Gant < Formula
- url 'http://dist.codehaus.org/gant/distributions/gant-1.9.3-_groovy-1.7.3.tgz'
- version '1.9.3'
+ url 'http://dist.codehaus.org/gant/distributions/gant-1.9.4-_groovy-1.8.0.tgz'
+ version '1.9.4'
homepage 'http://gant.codehaus.org/'
- md5 '4a56ef11a7e7beaadbce59fe8510ef5b'
+ sha1 'cdefba538de14a89400f71fd3273ba4bf8b06641'
depends_on 'groovy'
@@ -12,9 +12,10 @@ class Gant < Formula
rm_f Dir["bin/*.bat"]
# gant-starter.conf is found relative to bin
libexec.install %w[bin lib conf]
- (bin+'gant').write <<-EOS.undent
- #!/bin/bash
- exec #{libexec}/bin/gant
- EOS
+ bin.mkpath
+ Dir["#{libexec}/bin/*"].each do |f|
+ next unless File.extname(f).empty?
+ ln_s f, bin+File.basename(f)
+ end
end
end