summaryrefslogtreecommitdiff
path: root/homebrew/cataclysm/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/cataclysm/.beer')
-rw-r--r--homebrew/cataclysm/.beer68
1 files changed, 68 insertions, 0 deletions
diff --git a/homebrew/cataclysm/.beer b/homebrew/cataclysm/.beer
new file mode 100644
index 000000000..e2af0055f
--- /dev/null
+++ b/homebrew/cataclysm/.beer
@@ -0,0 +1,68 @@
+{
+ "name": "Cataclysm",
+ "description": "Fork/variant of Cataclysm Roguelike",
+ "url": "https://github.com/CleverRaven/Cataclysm-DDA/archive/0.D.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/CleverRaven/Cataclysm-DDA",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "gettext",
+ "build-depend": false
+ },
+ {
+ "depend": "libogg",
+ "build-depend": false
+ },
+ {
+ "depend": "libvorbis",
+ "build-depend": false
+ },
+ {
+ "depend": "lua",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl2",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl2_image",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl2_mixer",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl2_ttf",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "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?",
+ "system \"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"
+ ],
+ "version": "0",
+ "file": "cataclysm.rb"
+} \ No newline at end of file