Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding the formula for MESS

This formula builds MESS, the Multi Emulator Super System.
  • Loading branch information...
commit 407de2ba7dcbc8e2c8cb6d99db1dce0b9164e081 1 parent d86222a
@ashgti authored
Showing with 28 additions and 0 deletions.
  1. +28 −0 Library/Formula/mess.rb
View
28 Library/Formula/mess.rb
@@ -0,0 +1,28 @@
+require 'formula'
+
+class Mess < Formula
+ url 'svn://messdev.no-ip.org/mess', :revision => 15603
+ head 'svn://messdev.no-ip.org/mess'
+ homepage 'http://www.mess.org/'
+ version '146u3'
+
+ depends_on :x11
+ depends_on 'sdl'
+
+ def install
+ ENV['MACOSX_USE_LIBSDL'] = '1'
+ ENV['INCPATH'] = '-I./src/lib/util -I/usr/X11/include'
+ ENV['PTR64'] = if MacOS.prefer_64_bit? then '0' else '1' end
+
+ system 'make' # Builds MESS
+ if MacOS.prefer_64_bit?
+ bin.install 'mess64' => 'mess'
+ else
+ bin.install 'mess'
+ end
+ end
+
+ def test
+ system "mess -h"
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.