require 'formula' class Exult '6317' homepage 'http://exult.sourceforge.net/' version '1.4pre' head 'http://exult.svn.sourceforge.net/svnroot/exult/exult/trunk' depends_on 'sdl' depends_on 'sdl_mixer' depends_on 'libvorbis' def install # Yes, really. Goddamnit. inreplace "autogen.sh", "libtoolize", "glibtoolize" system "./autogen.sh" system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--disable-sdltest" system "make" system "make bundle" prefix.install "Exult.app" end def caveats <<-EOS.undent Cocoa app installed to: #{prefix} Note that this includes only the game engine; you will need to supply your own own legal copy of the Ultima 7 game files. Try here (Amazon.com): http://bit.ly/8JzovU EOS end end