summaryrefslogtreecommitdiff
path: root/homebrew/opentyrian/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/opentyrian/.make.sh-auto')
-rw-r--r--homebrew/opentyrian/.make.sh-auto10
1 files changed, 10 insertions, 0 deletions
diff --git a/homebrew/opentyrian/.make.sh-auto b/homebrew/opentyrian/.make.sh-auto
new file mode 100644
index 000000000..ff8294f7d
--- /dev/null
+++ b/homebrew/opentyrian/.make.sh-auto
@@ -0,0 +1,10 @@
+pkg:setup
+datadir = pkgshare/"data"
+datadir.install resource("data")
+args = []
+args << "TYRIAN_DIR=#{datadir}"
+else
+inreplace "src/file.c", "/usr/share/opentyrian/data", datadir
+end
+make *args
+bin.install "opentyrian"