2011-12-23 06:17:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Griffon < Formula
|
|
|
|
homepage 'http://griffon.codehaus.org/'
|
2012-06-10 19:13:23 +00:00
|
|
|
url 'http://dist.codehaus.org/griffon/griffon/1.0.x/griffon-1.0.0-bin.zip'
|
|
|
|
sha1 '9277edc8286c9b230d9c1eede5d20f4b5d0edc68'
|
2011-12-23 06:17:50 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
rm_f Dir["bin/*.bat"]
|
|
|
|
|
2012-05-02 10:34:00 +00:00
|
|
|
prefix.install %w[LICENSE README.md]
|
2011-12-23 06:17:50 +00:00
|
|
|
libexec.install Dir['*']
|
|
|
|
bin.install_symlink Dir["#{libexec}/bin/*"]
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
You should set the environment variable GRIFFON_HOME to
|
|
|
|
#{libexec}
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|