aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/griffon.rb
blob: b3c2091558958d8a61db54a0edead1d4b1d1cb68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'formula'

class Griffon < Formula
  homepage 'http://griffon.codehaus.org/'
  url 'http://dist.codehaus.org/griffon/griffon/0.9.x/griffon-0.9.5-bin.tgz'
  md5 '2f3f579e09c8460e7265e567582a49cc'

  def install
    rm_f Dir["bin/*.bat"]

    prefix.install %w[LICENSE README.md]
    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