summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2020-03-28 19:06:22 +0000
committerGleb Popov <arrowd@FreeBSD.org>2020-03-28 19:06:22 +0000
commit626df025f5d98611359ed76e692c46994a2073e3 (patch)
treeba1b67a4d75b705eeeaf5fc922368c29f2f1a0cc /graphics
parentInstall manpage under share/man/man1 (diff)
graphics/tachyon: Add new port. This is a ray tracing engine written in C.
Notes
Notes: svn path=/head/; revision=529756
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/tachyon/Makefile26
-rw-r--r--graphics/tachyon/distinfo3
-rw-r--r--graphics/tachyon/files/patch-Makefile11
-rw-r--r--graphics/tachyon/pkg-descr8
5 files changed, 49 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 5cafbe48f40a..26b60d6324bf 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -1001,6 +1001,7 @@
SUBDIR += sxiv
SUBDIR += synaesthesia
SUBDIR += synfigstudio
+ SUBDIR += tachyon
SUBDIR += telak
SUBDIR += tesseract
SUBDIR += tesseract-data
diff --git a/graphics/tachyon/Makefile b/graphics/tachyon/Makefile
new file mode 100644
index 000000000000..d87090625fa4
--- /dev/null
+++ b/graphics/tachyon/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= tachyon
+DISTVERSION= 0.98.9
+CATEGORIES= graphics science
+MASTER_SITES= http://jedi.ks.uiuc.edu/~johns/raytracer/files/${DISTVERSION}/
+
+MAINTAINER= arrowd@FreeBSD.org
+COMMENT= Multiproccess ray tracing system
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/lib/tachyon/Copyright
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+WRKSRC_SUBDIR= unix
+
+PLIST_FILES= bin/tachyon \
+ lib/libtachyon.a
+
+.include <bsd.port.pre.mk>
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/../compile/${ARCH}/tachyon ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_LIB} ${WRKSRC}/../compile/${ARCH}/libtachyon.a ${STAGEDIR}${PREFIX}/lib
+
+.include <bsd.port.post.mk>
diff --git a/graphics/tachyon/distinfo b/graphics/tachyon/distinfo
new file mode 100644
index 000000000000..0338d12548f2
--- /dev/null
+++ b/graphics/tachyon/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1585420702
+SHA256 (tachyon-0.98.9.tar.gz) = c6a3298ded4dc3e9390447819e1dac59b62c3d2d46d4154312ffe71549ee40d7
+SIZE (tachyon-0.98.9.tar.gz) = 3273086
diff --git a/graphics/tachyon/files/patch-Makefile b/graphics/tachyon/files/patch-Makefile
new file mode 100644
index 000000000000..17a22c27800a
--- /dev/null
+++ b/graphics/tachyon/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2009-04-23 15:11:55 UTC
++++ Makefile
+@@ -18,6 +18,8 @@ include Make-distrib
+ COMPILEDIR=../compile
+ ARCHDIR=../compile/${ARCH}
+ OBJDIR=${ARCHDIR}/libtachyon
++LIBS=-L. -ltachyon -lm
++STRIP=strip
+
+ #
+ # Name of raytracing library file to create
diff --git a/graphics/tachyon/pkg-descr b/graphics/tachyon/pkg-descr
new file mode 100644
index 000000000000..fba28c02ae83
--- /dev/null
+++ b/graphics/tachyon/pkg-descr
@@ -0,0 +1,8 @@
+Tachyon is a raytracer developed by John E. Stone. Tachyon supports
+the typical ray tracer features, most of the common geometric
+primitives, shading and texturing modes, etc. It also supports less
+common features such as HDR image output, ambient occlusion lighting,
+and support for various triangle mesh and volumetric texture formats
+beneficial for molecular visualization (e.g. rendering VMD scenes).
+
+WWW: http://jedi.ks.uiuc.edu/~johns/raytracer/