2010-02-19 04:45:45 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Gant < Formula
|
2012-02-12 19:40:53 +00:00
|
|
|
homepage 'http://gant.codehaus.org/'
|
2011-05-05 16:35:39 +00:00
|
|
|
url 'http://dist.codehaus.org/gant/distributions/gant-1.9.5-_groovy-1.8.0.tgz'
|
|
|
|
version '1.9.5'
|
|
|
|
md5 '2ea01f1a4c803fd88e15fe2d8290e969'
|
2010-02-19 04:45:45 +00:00
|
|
|
|
|
|
|
depends_on 'groovy'
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2010-02-19 04:45:45 +00:00
|
|
|
def install
|
|
|
|
rm_f Dir["bin/*.bat"]
|
|
|
|
# gant-starter.conf is found relative to bin
|
2010-08-13 15:08:20 +00:00
|
|
|
libexec.install %w[bin lib conf]
|
2012-02-12 19:40:53 +00:00
|
|
|
bin.install_symlink "#{libexec}/bin/gant"
|
2010-02-19 04:45:45 +00:00
|
|
|
end
|
|
|
|
end
|