2011-12-23 06:17:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Griffon < Formula
|
|
|
|
homepage 'http://griffon.codehaus.org/'
|
2012-09-24 16:52:41 +00:00
|
|
|
url 'http://dist.codehaus.org/griffon/griffon/1.1.x/griffon-1.1.0-bin.zip'
|
|
|
|
sha1 '3cb6ffa15a5bce3d3e7e2a56b210d9c40853b442'
|
2011-12-23 06:17:50 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
rm_f Dir["bin/*.bat"]
|
|
|
|
|
2012-11-11 19:20:09 +00:00
|
|
|
prefix.install_metafiles
|
2011-12-23 06:17:50 +00:00
|
|
|
libexec.install Dir['*']
|
|
|
|
bin.install_symlink Dir["#{libexec}/bin/*"]
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
2012-11-25 19:42:57 +00:00
|
|
|
You should set the environment variable GRIFFON_HOME to:
|
2011-12-23 06:17:50 +00:00
|
|
|
#{libexec}
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|