summaryrefslogtreecommitdiff
path: root/homebrew/pbrt
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/pbrt')
-rw-r--r--homebrew/pbrt/.beer26
-rw-r--r--homebrew/pbrt/.make.sh-auto3
-rw-r--r--homebrew/pbrt/_metadata/description1
-rw-r--r--homebrew/pbrt/_metadata/homepage1
-rw-r--r--homebrew/pbrt/_metadata/name1
-rw-r--r--homebrew/pbrt/_metadata/version1
-rwxr-xr-xhomebrew/pbrt/download.sh1
7 files changed, 34 insertions, 0 deletions
diff --git a/homebrew/pbrt/.beer b/homebrew/pbrt/.beer
new file mode 100644
index 000000000..1e13484be
--- /dev/null
+++ b/homebrew/pbrt/.beer
@@ -0,0 +1,26 @@
+{
+ "name": "Pbrt",
+ "description": "Physically based rendering",
+ "url": "https://github.com/mmp/pbrt-v2/archive/2.0.342.tar.gz",
+ "mirror": null,
+ "homepage": "https://pbrt.org/",
+ "depends": [
+ {
+ "depend": "flex",
+ "build-depend": false
+ },
+ {
+ "depend": "openexr",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\", \"-C\", \"src\"",
+ "prefix.install \"src/bin\""
+ ],
+ "version": "2.0.342",
+ "file": "pbrt.rb"
+} \ No newline at end of file
diff --git a/homebrew/pbrt/.make.sh-auto b/homebrew/pbrt/.make.sh-auto
new file mode 100644
index 000000000..4a3c70773
--- /dev/null
+++ b/homebrew/pbrt/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+make -C src
+prefix.install "src/bin"
diff --git a/homebrew/pbrt/_metadata/description b/homebrew/pbrt/_metadata/description
new file mode 100644
index 000000000..a050057f6
--- /dev/null
+++ b/homebrew/pbrt/_metadata/description
@@ -0,0 +1 @@
+Physically based rendering
diff --git a/homebrew/pbrt/_metadata/homepage b/homebrew/pbrt/_metadata/homepage
new file mode 100644
index 000000000..cdeb37fa9
--- /dev/null
+++ b/homebrew/pbrt/_metadata/homepage
@@ -0,0 +1 @@
+https://pbrt.org/
diff --git a/homebrew/pbrt/_metadata/name b/homebrew/pbrt/_metadata/name
new file mode 100644
index 000000000..d21eb79f2
--- /dev/null
+++ b/homebrew/pbrt/_metadata/name
@@ -0,0 +1 @@
+Pbrt
diff --git a/homebrew/pbrt/_metadata/version b/homebrew/pbrt/_metadata/version
new file mode 100644
index 000000000..875e609c3
--- /dev/null
+++ b/homebrew/pbrt/_metadata/version
@@ -0,0 +1 @@
+2.0.342
diff --git a/homebrew/pbrt/download.sh b/homebrew/pbrt/download.sh
new file mode 100755
index 000000000..b06834f3b
--- /dev/null
+++ b/homebrew/pbrt/download.sh
@@ -0,0 +1 @@
+wget https://github.com/mmp/pbrt-v2/archive/2.0.342.tar.gz \ No newline at end of file