2009-10-21 03:51:21 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Exult <Formula
|
2010-04-07 05:58:35 +00:00
|
|
|
url 'http://exult.svn.sourceforge.net/svnroot/exult/exult/trunk', :revision => '6317'
|
2009-10-21 03:51:21 +00:00
|
|
|
homepage 'http://exult.sourceforge.net/'
|
2010-04-07 05:58:35 +00:00
|
|
|
version '1.4pre'
|
|
|
|
head 'http://exult.svn.sourceforge.net/svnroot/exult/exult/trunk'
|
2010-06-07 03:22:38 +00:00
|
|
|
|
2009-10-21 03:51:21 +00:00
|
|
|
depends_on 'sdl'
|
|
|
|
depends_on 'sdl_mixer'
|
2010-06-07 03:22:38 +00:00
|
|
|
depends_on 'libvorbis'
|
|
|
|
|
2009-10-21 03:51:21 +00:00
|
|
|
def install
|
|
|
|
# Yes, really. Goddamnit.
|
|
|
|
inreplace "autogen.sh", "libtoolize", "glibtoolize"
|
2010-06-07 03:22:38 +00:00
|
|
|
|
2009-10-21 03:51:21 +00:00
|
|
|
system "./autogen.sh"
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
2009-10-21 03:51:21 +00:00
|
|
|
"--disable-sdltest"
|
2010-06-07 03:22:38 +00:00
|
|
|
|
2009-10-21 03:51:21 +00:00
|
|
|
system "make"
|
|
|
|
system "make bundle"
|
2009-10-23 18:09:03 +00:00
|
|
|
prefix.install "Exult.app"
|
2009-10-21 03:51:21 +00:00
|
|
|
end
|
2010-06-07 03:22:38 +00:00
|
|
|
|
2010-04-07 05:58:35 +00:00
|
|
|
def caveats
|
|
|
|
<<-EOS.undent
|
|
|
|
Cocoa app installed to:
|
|
|
|
#{prefix}
|
|
|
|
|
|
|
|
Note that this includes only the game engine; you will need to supply your own
|
|
|
|
own legal copy of the Ultima 7 game files. Try here (Amazon.com):
|
|
|
|
http://bit.ly/8JzovU
|
|
|
|
EOS
|
2009-10-21 03:51:21 +00:00
|
|
|
end
|
|
|
|
end
|