summaryrefslogtreecommitdiff
path: root/homebrew/povray/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/povray/.make.sh-auto')
-rw-r--r--homebrew/povray/.make.sh-auto5
1 files changed, 5 insertions, 0 deletions
diff --git a/homebrew/povray/.make.sh-auto b/homebrew/povray/.make.sh-auto
new file mode 100644
index 000000000..96e804509
--- /dev/null
+++ b/homebrew/povray/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+ENV.cxx11
+args = %W[COMPILED_BY=homebrew --disable-debug --disable-dependency-tracking --prefix=#{prefix} --mandir=#{man} --with-boost=#{Formula["boost"].opt_prefix} --with-openexr=#{Formula["openexr"].opt_prefix} --without-libsdl --without-x ]
+%w[allanim allscene portfolio].each do |script|
+inreplace "unix/scripts/#{script}.sh", /^DEFAULT_DIR=.*$/, "DEFAULT_DIR=#{HOMEBREW_PREFIX}"