diff options
| author | Patric Mueller | 2012-02-11 11:49:02 +0100 |
|---|---|---|
| committer | Misty De Meo | 2012-02-11 12:53:15 -0600 |
| commit | ef87e720c9c4e671250a184634ae4b3adb45fdde (patch) | |
| tree | 8120167040e69ddc3e05ecb2e9092075244383e4 | |
| parent | 77f223ecdd963bcbef4ba8c87e4c5506e344b4ff (diff) | |
| download | homebrew-ef87e720c9c4e671250a184634ae4b3adb45fdde.tar.bz2 | |
New formula: unnethack 3.6.1
UnNetHack is a fork of NetHack, featuring more content, better UI,
up-to-date bugfixes and a more modern open source project approach to
development than vanilla NetHack.
Closes #8035.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
| -rw-r--r-- | Library/Formula/unnethack.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/unnethack.rb b/Library/Formula/unnethack.rb new file mode 100644 index 000000000..818713b18 --- /dev/null +++ b/Library/Formula/unnethack.rb @@ -0,0 +1,18 @@ +require 'formula' + +class Unnethack < Formula + url 'https://downloads.sourceforge.net/project/unnethack/unnethack/3.6.1/unnethack-3.6.1-20120205.tar.gz' + homepage 'http://sourceforge.net/apps/trac/unnethack/' + md5 '675c00d776e513d5aedaf11f071af569' + + skip_clean "var/unnethack/bones" + skip_clean "var/unnethack/level" + skip_clean "var/unnethack/saves" + + def install + system "./configure", "--prefix=#{prefix}", + "--with-owner=#{`id -un`}", "--with-group=staff", + "--enable-wizmode=#{`id -un`}" + system "make install" + end +end |
