summaryrefslogtreecommitdiff
path: root/homebrew/rethinkdb/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/rethinkdb/.make.sh-auto')
-rw-r--r--homebrew/rethinkdb/.make.sh-auto9
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/rethinkdb/.make.sh-auto b/homebrew/rethinkdb/.make.sh-auto
new file mode 100644
index 000000000..c15091fc3
--- /dev/null
+++ b/homebrew/rethinkdb/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+args = ["--prefix=#{prefix}"]
+args += ["--fetch", "protobuf"]
+pkg:configure *args
+make
+make DESTDIR=${PKG_DEST} install-osx
+(var/"log/rethinkdb").mkpath
+inreplace "packaging/assets/config/default.conf.sample", /^
+etc.install "packaging/assets/config/default.conf.sample" => "rethinkdb.conf"