diff options
| author | Adam Vandenberg | 2009-09-30 10:56:04 -0700 |
|---|---|---|
| committer | Max Howell | 2009-10-01 15:17:30 +0100 |
| commit | 7884f2e95d1303c85b4e8bb0088241515551c7ad (patch) | |
| tree | 8d6a0eec81d686ca8871eed6b01f03298790dadf /Library/Formula | |
| parent | 75d75519e4eff7f4fa0fb0172273aeb43a784814 (diff) | |
| download | homebrew-7884f2e95d1303c85b4e8bb0088241515551c7ad.tar.bz2 | |
Formula for Chocolate Doom
Chocolate Doom is a Doom source port which aims to reproduce the
behavior of Vanilla Doom as closely as possible.
Note: No game levels are included, just the game engine.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/chocolate-doom.rb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Library/Formula/chocolate-doom.rb b/Library/Formula/chocolate-doom.rb new file mode 100644 index 000000000..f7b3612a0 --- /dev/null +++ b/Library/Formula/chocolate-doom.rb @@ -0,0 +1,30 @@ +require 'brewkit' + +class ChocolateDoom <Formula + url 'http://downloads.sourceforge.net/project/chocolate-doom/chocolate-doom/1.2.1/chocolate-doom-1.2.1.tar.gz' + homepage 'http://www.chocolate-doom.org/' + md5 'df04c380034eff789e6b9ee1c0164977' + + depends_on 'sdl' + depends_on 'sdl_net' + + def install + system "./configure", "--prefix=#{prefix}", + "--disable-debug", + "--disable-dependency-tracking", + "--disable-sdltest" + system "make install" + + # This project installs to 'games', but we want it in 'bin' so it symlinks in. + # Can't find a ./configure switch, so just rename it. + (prefix+"games").rename bin + end + + def caveats + "Note that this formula only installs a Doom game engine, and no\n"\ + "actual levels. The original Doom levels are still under copyright, \n"\ + "so you can copy them over and play them if you already own them.\n\n"\ + "Otherwise, there are tons of free levels available online.\n"\ + "Try starting here:\n\t#{homepage}" + end +end |
