diff options
| author | Adam Vandenberg | 2010-04-20 21:29:01 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-04-20 21:30:01 -0700 |
| commit | fbad8329b2786012ed8c27bd57348c18b4de1899 (patch) | |
| tree | b04edbc88b490c9e0360507363b1bc32cf6f8ecf /Library/Formula | |
| parent | 8fe73d1714d14cd5d7d79196b4951172b68dfbde (diff) | |
| download | homebrew-fbad8329b2786012ed8c27bd57348c18b4de1899.tar.bz2 | |
Nazghul 0.7.0
Nazghul is an Ultima 5-like game engine that comes with a built-in
campaign called "Haxima".
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/nazghul.rb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/nazghul.rb b/Library/Formula/nazghul.rb new file mode 100644 index 000000000..1f2d52c20 --- /dev/null +++ b/Library/Formula/nazghul.rb @@ -0,0 +1,27 @@ +require 'formula' + +class Nazghul <Formula + url 'http://downloads.sourceforge.net/project/nazghul/nazghul/nazghul-0.7.0/nazghul-0.7.0.tar.gz' + homepage 'http://myweb.cableone.net/gmcnutt/nazghul.html' + md5 '3a3b08ee180163030bc9934d6fb40de8' + + depends_on 'sdl' + depends_on 'sdl_image' + depends_on 'sdl_mixer' + depends_on 'libpng' + + def install + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--disable-sdltest" + # Not sure why the ifdef is commented out in this file + inreplace "src/skill.c", "#include <malloc.h>", "" + system "make install" + end + + def caveats + "The built-in game for this engine is called \"Haxima\".\n"+ + "To run:\n"+ + " haxima.sh" + end +end |
