From ef87e720c9c4e671250a184634ae4b3adb45fdde Mon Sep 17 00:00:00 2001 From: Patric Mueller Date: Sat, 11 Feb 2012 11:49:02 +0100 Subject: 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 --- Library/Formula/unnethack.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Library/Formula/unnethack.rb (limited to 'Library') 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 -- cgit v1.2.3