Feb 15, 2010

Homebrew is the new macports

Yeah, you heard me! I’ve made the switch and so should you! Or, you don’t have to, but it is a really sweet and simple solution for dealing with packages for Mac OS X.

So of course I’ve rewritten the haxe/neko port to a Homebrew formula! Unfortunately, until they’ve added it to the official repository you’ll gonna have to go through some extra steps to get haxe and neko using brew install haxe:

  1. Install homebrew using the instructions here (unless you have already): http://github.com/mxcl/homebrew/

  2. Install git (no need if you already had it installed):

    # brew install git

  3. cd into the directory where you installed homebrew:

    # cd `brew --prefix`

  4. Pull in my github fork:

    # git remote add slaskis git://github.com/slaskis/homebrew.git
    # git pull slaskis master

  5. Install haxe (it will install neko as well as it’s a dependency):

    # brew install haxe

    or (if you want to use the latest source from the svn trunk)

    # brew install haxe --HEAD

  6. Follow the instructions from the install to get haxelib working properly.

By the way, I’ve only really tested this on OS X 10.6 so let me know if it’s working on 10.5 as well!

If you vote for the formula it might be accepted a bit faster.

Comment
About
developing software is fun.
sitting in a pleasant sofa is fun.
combine for double the fun.
Search