aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/griffon.rb
blob: c5af2f1d0394f2367a78ae820fea605b50bc8561 (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.4-bin.tgz'
  md5 'e3f7972462d47f30a2e7d3893b360489'

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

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