aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authornathanbowser2010-02-18 23:45:45 -0500
committerAdam Vandenberg2010-02-21 21:29:07 -0800
commita6caeff4507f4502f5b9d9435ba009564e7c0669 (patch)
tree0e4df26bd1df524899bfac2b91c8d198cb7459e4 /Library
parentc494aa58cbf09ea641b012c7f592fcbe7d9b6d2b (diff)
downloadhomebrew-a6caeff4507f4502f5b9d9435ba009564e7c0669.tar.bz2
Add formula for gant.
Gant is a tool for scripting Ant tasks using Groovy instead of XML to specify the logic. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gant.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/gant.rb b/Library/Formula/gant.rb
new file mode 100644
index 000000000..58276487e
--- /dev/null
+++ b/Library/Formula/gant.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Gant <Formula
+ url 'http://dist.codehaus.org/gant/distributions/gant-1.9.1-_groovy-1.7.0.tgz'
+ version '1.9.1'
+ homepage 'http://gant.codehaus.org/'
+ md5 '646f29f42793520a3702b1f356f5d4a6'
+
+ depends_on 'groovy'
+
+ def install
+ rm_f Dir["bin/*.bat"]
+ # gant-starter.conf is found relative to bin
+ prefix.install %w[bin lib conf]
+ end
+end