I've created formulas for haxe and neko:
Updated the haxe formula now to use the main repository and added HEAD as well.
For me this resulted in the following error:
rapid:local md$ cd brew --prefix
rapid:local md$ git remote add slaskis git://github.com/slaskis/homebrew.git
rapid:local md$ git pull slaskis master
remote: Counting objects: 77, done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 47 (delta 12), reused 36 (delta 8)
Unpacking objects: 100% (47/47), done.
Strange, it looks like it skipped the dependency of neko for some reason, what if you try to install neko first and then haxe?
Sorry: Probably this was output from my second run.
neko installed without any visible errors. And brew install neko worked fine. I now installed haxe as a binary port which worked fine.
And the neko install works for you? It looks like an environment variable might not be set properly (most likely the NEKOPATH variable) in which case neko won't work as it should, although plainly running the "neko" executable will work, as it does not seem to use any features of std.ndll.
I tried it out myself now and I get the same error message when I remove the NEKOPATH environment variable from my ~/.bash_profile and restart my terminal before trying to install again. It does work again when I set it back though (and restart terminal). I think I need to either update my instructions to say install neko separately and follow the caveats message before continuing or temporarily set NEKOPATH in the haxe formula. I'll give the second one a try first. Thanks for reporting!
I've updated my fork now with a fix to the NEKOPATH bug, if it's not too much hassle could you try and re-pull and try compiling haxe again?
This is the latest commit now regarding this formula: http://github.com/slaskis/homebrew/commit/07885a56dabecb95a465b2b941279a9ce7e480a0
More updates to the haxe formula. Rewrote it now to use the official dependency repositories.
slaskis, You missed this line:
system "ocaml install.ml -nodoc -d .. -n"
pasviegas, thanks! will push an updated one soon...
I finally have updated the haxe formula so it contains a patch for the dependencies so 2.0.5 should be working again...