homebrew-core/Formula/exult.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

37 lines
995 B
Ruby
Executable file

require 'formula'
class Exult <Formula
url 'http://exult.svn.sourceforge.net/svnroot/exult/exult/trunk', :revision => '6317'
homepage 'http://exult.sourceforge.net/'
version '1.4pre'
head 'http://exult.svn.sourceforge.net/svnroot/exult/exult/trunk'
depends_on 'sdl'
depends_on 'sdl_mixer'
depends_on 'libvorbis'
def install
# Yes, really. Goddamnit.
inreplace "autogen.sh", "libtoolize", "glibtoolize"
system "./autogen.sh"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-sdltest"
system "make"
system "make bundle"
prefix.install "Exult.app"
end
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
end
end