2010-02-16 01:41:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Haxe <Formula
|
2011-02-17 07:15:41 +00:00
|
|
|
url 'http://haxe.org/file/haxe-2.07-osx.tar.gz'
|
|
|
|
version '2.07'
|
2010-02-16 01:41:02 +00:00
|
|
|
homepage 'http://haxe.org/'
|
2011-02-17 07:15:41 +00:00
|
|
|
sha1 '0958a13077aedef1b304d4b43b6eb5d6041bdf88'
|
2010-02-16 01:41:02 +00:00
|
|
|
|
|
|
|
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
|