homebrew-core/Formula/haxe.rb
Jack Nagel 0c89a5c8dd Remove redundant versions and update version tests
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-11 15:18:56 -05:00

19 lines
473 B
Ruby

require 'formula'
class Haxe < Formula
homepage 'http://haxe.org/'
url 'http://haxe.org/file/haxe-2.08-osx.tar.gz'
sha1 'e8758ea9155bf27606348d02240c2af1fecee67b'
def install
bin.install %w(haxe haxedoc haxelib)
(share+"haxe").install "std"
end
def caveats; <<-EOS.undent
HaXe needs to know how to find its standard library so add this to your
shell profile:
export HAXE_LIBRARY_PATH="$(brew --prefix)/share/haxe/std"
EOS
end
end