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/'
|
2012-10-17 21:20:46 +00:00
|
|
|
url 'http://dist.codehaus.org/gant/distributions/gant-1.9.8-_groovy-2.0.0.tgz'
|
|
|
|
version '1.9.8'
|
|
|
|
sha1 '995c33754dfdb28f2c7ab1f2c3f6d73db41a5cca'
|
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
|