summaryrefslogtreecommitdiff
path: root/homebrew/cdogssdl/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/cdogssdl/.make.sh-auto')
-rw-r--r--homebrew/cdogssdl/.make.sh-auto8
1 files changed, 8 insertions, 0 deletions
diff --git a/homebrew/cdogssdl/.make.sh-auto b/homebrew/cdogssdl/.make.sh-auto
new file mode 100644
index 000000000..63ecb7bc3
--- /dev/null
+++ b/homebrew/cdogssdl/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+args = std_cmake_args
+args << "-DCDOGS_DATA_DIR=#{pkgshare}/"
+cmake . *args
+make
+bin.install %w[src/cdogs-sdl src/cdogs-sdl-editor]
+pkgshare.install %w[data dogfights graphics missions music sounds]
+doc.install Dir["doc/*"]