summaryrefslogtreecommitdiff
path: root/homebrew/cataclysm/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/cataclysm/.make.sh-auto')
-rw-r--r--homebrew/cataclysm/.make.sh-auto10
1 files changed, 10 insertions, 0 deletions
diff --git a/homebrew/cataclysm/.make.sh-auto b/homebrew/cataclysm/.make.sh-auto
new file mode 100644
index 000000000..01e0ce0e2
--- /dev/null
+++ b/homebrew/cataclysm/.make.sh-auto
@@ -0,0 +1,10 @@
+pkg:setup
+ENV.cxx11
+args = %W[NATIVE=osx RELEASE=1 OSX_MIN=#{MacOS.version} USE_HOME_DIR=1 TILES=1 SOUND=1 ]
+args << "CLANG=1" if ENV.compiler == :clang
+args << "LUA=1" if build.stable?
+make *args
+libexec.install "cataclysm-tiles", "data", "gfx"
+libexec.install "lua" if build.stable?
+inreplace "cataclysm-launcher" do |s|
+s.change_make_var! "DIR", libexec