summaryrefslogtreecommitdiff
path: root/homebrew/povray
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/povray')
-rw-r--r--homebrew/povray/.beer59
-rw-r--r--homebrew/povray/.make.sh-auto5
-rw-r--r--homebrew/povray/_metadata/description1
-rw-r--r--homebrew/povray/_metadata/homepage1
-rw-r--r--homebrew/povray/_metadata/name1
-rw-r--r--homebrew/povray/_metadata/version1
-rwxr-xr-xhomebrew/povray/download.sh1
7 files changed, 69 insertions, 0 deletions
diff --git a/homebrew/povray/.beer b/homebrew/povray/.beer
new file mode 100644
index 000000000..caf6e7e71
--- /dev/null
+++ b/homebrew/povray/.beer
@@ -0,0 +1,59 @@
+{
+ "name": "Povray",
+ "description": "Persistence Of Vision RAYtracer (POVRAY)",
+ "url": "https://github.com/POV-Ray/povray/archive/v3.7.0.8.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.povray.org/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "boost",
+ "build-depend": false
+ },
+ {
+ "depend": "jpeg",
+ "build-depend": false
+ },
+ {
+ "depend": "libpng",
+ "build-depend": false
+ },
+ {
+ "depend": "libtiff",
+ "build-depend": false
+ },
+ {
+ "depend": "openexr",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "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}\""
+ ],
+ "version": "3.7.0.8",
+ "file": "povray.rb"
+} \ No newline at end of file
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}"
diff --git a/homebrew/povray/_metadata/description b/homebrew/povray/_metadata/description
new file mode 100644
index 000000000..5d14f9bb6
--- /dev/null
+++ b/homebrew/povray/_metadata/description
@@ -0,0 +1 @@
+Persistence Of Vision RAYtracer (POVRAY)
diff --git a/homebrew/povray/_metadata/homepage b/homebrew/povray/_metadata/homepage
new file mode 100644
index 000000000..f7afceaf5
--- /dev/null
+++ b/homebrew/povray/_metadata/homepage
@@ -0,0 +1 @@
+https://www.povray.org/
diff --git a/homebrew/povray/_metadata/name b/homebrew/povray/_metadata/name
new file mode 100644
index 000000000..dce42c14b
--- /dev/null
+++ b/homebrew/povray/_metadata/name
@@ -0,0 +1 @@
+Povray
diff --git a/homebrew/povray/_metadata/version b/homebrew/povray/_metadata/version
new file mode 100644
index 000000000..75af05a12
--- /dev/null
+++ b/homebrew/povray/_metadata/version
@@ -0,0 +1 @@
+3.7.0.8
diff --git a/homebrew/povray/download.sh b/homebrew/povray/download.sh
new file mode 100755
index 000000000..393872637
--- /dev/null
+++ b/homebrew/povray/download.sh
@@ -0,0 +1 @@
+wget https://github.com/POV-Ray/povray/archive/v3.7.0.8.tar.gz \ No newline at end of file