Skip to content
This repository
Browse code

MESS 146u3

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
commit 5c6fab8bdaca12c4b91a7ef7a62eeb27cd44cc64 1 parent 9173ae8
John Harrison authored July 22, 2012 adamv committed July 23, 2012

Showing 1 changed file with 26 additions and 0 deletions. Show diff stats Hide diff stats

  1. 26  Library/Formula/mess.rb
26  Library/Formula/mess.rb
... ...
@@ -0,0 +1,26 @@
  1
+require 'formula'
  2
+
  3
+class Mess < Formula
  4
+  homepage 'http://www.mess.org/'
  5
+  url 'svn://messdev.no-ip.org/mess', :revision => 15603
  6
+  version '146u3'
  7
+
  8
+  head 'svn://messdev.no-ip.org/mess'
  9
+
  10
+  depends_on :x11
  11
+  depends_on 'sdl'
  12
+
  13
+  def install
  14
+    ENV['MACOSX_USE_LIBSDL'] = '1'
  15
+    ENV['INCPATH'] = "-I./src/lib/util -I#{MacOS.x11_prefix}/include"
  16
+    ENV['PTR64'] = (MacOS.prefer_64_bit? ? '1' : '0')
  17
+
  18
+    system 'make'
  19
+
  20
+    if MacOS.prefer_64_bit?
  21
+      bin.install 'mess64' => 'mess'
  22
+    else
  23
+      bin.install 'mess'
  24
+    end
  25
+  end
  26
+end

0 notes on commit 5c6fab8

Please sign in to comment.
Something went wrong with that request. Please try again.