From 5c6fab8bdaca12c4b91a7ef7a62eeb27cd44cc64 Mon Sep 17 00:00:00 2001 From: John Harrison Date: Sun, 22 Jul 2012 23:13:39 -0700 Subject: MESS 146u3 Signed-off-by: Adam Vandenberg --- Library/Formula/mess.rb | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Library/Formula/mess.rb (limited to 'Library') diff --git a/Library/Formula/mess.rb b/Library/Formula/mess.rb new file mode 100644 index 000000000..0befcc5c6 --- /dev/null +++ b/Library/Formula/mess.rb @@ -0,0 +1,26 @@ +require 'formula' + +class Mess < Formula + homepage 'http://www.mess.org/' + url 'svn://messdev.no-ip.org/mess', :revision => 15603 + version '146u3' + + head 'svn://messdev.no-ip.org/mess' + + depends_on :x11 + depends_on 'sdl' + + def install + ENV['MACOSX_USE_LIBSDL'] = '1' + ENV['INCPATH'] = "-I./src/lib/util -I#{MacOS.x11_prefix}/include" + ENV['PTR64'] = (MacOS.prefer_64_bit? ? '1' : '0') + + system 'make' + + if MacOS.prefer_64_bit? + bin.install 'mess64' => 'mess' + else + bin.install 'mess' + end + end +end -- cgit v1.2.3