diff options
| author | Adam Vandenberg | 2009-10-20 20:51:21 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2009-10-20 20:51:21 -0700 |
| commit | 585bc3ac6af99efb041c78dc43fbf2776f137608 (patch) | |
| tree | f4c37396c913c46aa3b2642510d6e07997782c7e | |
| parent | a3bca30540c79b945a6c179cb7a334cff4917fbc (diff) | |
| download | homebrew-585bc3ac6af99efb041c78dc43fbf2776f137608.tar.bz2 | |
Formula for Exult, an Ultima 7 game engine.
| -rw-r--r-- | Library/Formula/exult.rb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Library/Formula/exult.rb b/Library/Formula/exult.rb new file mode 100644 index 000000000..36bb9cbf8 --- /dev/null +++ b/Library/Formula/exult.rb @@ -0,0 +1,32 @@ +require 'formula' + +class Exult <Formula + # Use a specific revision that is known to compile (on Snow Leopard too.) + head 'http://exult.svn.sourceforge.net/svnroot/exult/exult/trunk', :revision => '6128' + homepage 'http://exult.sourceforge.net/' + + depends_on 'sdl' + depends_on 'sdl_mixer' + + def install + # Yes, really. Goddamnit. + inreplace "autogen.sh", "libtoolize", "glibtoolize" + + system "./autogen.sh" + system "./configure", "--prefix=#{prefix}", + "--disable-debug", + "--disable-dependency-tracking", + "--disable-sdltest" + + system "make" + system "make bundle" + libexec.install "Exult.app" + end + + def caveats + "Cocoa app installed to #{libexec}\n\n"\ + "Note that this includes only the game engine; you will need to supply\n"\ + "your own legal copy of the Ultima 7 game files.\n\n"\ + "Try here:\n\thttp://www.amazon.com/gp/product/B0002SKOEC?ie=UTF8&tag=adamvandesper-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B0002SKOEC" + end +end |
