freebsd-ports/graphics/luxrays/Makefile
William Grzybowski de047d1b6d graphics/luxrays: Accelerate the ray intersection process by using GPUs
LuxRays is library dedicated to accelerate the ray intersection process by
using GPUs.

Uses a Data Parallel Model: it doesn't reduce the time spent to trace a single
ray but it is able to trace many thousands of rays in parallel.

Supports Hybrid CPU/GPU mode where only the ray intersection task is off load
to the GPUs while everything else run on the CPU and can be written with usual
tools and languages.

WWW: http://www.luxrender.net/wiki/LuxRays

PR:		ports/181019
Submitted by:	Natacha Porté <natbsd instinctive.eu>
2013-08-07 22:22:17 +00:00

32 lines
799 B
Makefile

# Created by: Natacha Porté <natbsd@instinctive.eu>
# $FreeBSD$
PORTNAME= luxrays
PORTVERSION= 1.2.1
CATEGORIES= graphics
MASTER_SITES= http://src.luxrender.net/luxrays/archive/
DISTNAME= ${HG_NODEID}
DIST_SUBDIR= luxrender
MAINTAINER= natbsd@instinctive.eu
COMMENT= Accelerate the ray intersection process by using GPUs
LICENSE= GPLv3
BUILD_DEPENDS= ${LOCALBASE}/lib/libfreeimage.a:${PORTSDIR}/graphics/freeimage
LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs
HG_NODEID= 475fbf15f0ca
USES= bison cmake
USE_BZIP2= yes
USE_GL= glew glut
WRKSRC= ${WRKDIR}/luxrays-${HG_NODEID}
CMAKE_ARGS= -DLUXRAYS_DISABLE_OPENCL:BOOL=ON
do-install:
(cd ${WRKSRC}/include && ${COPYTREE_SHARE} . ${PREFIX}/include)
${INSTALL_DATA} ${WRKSRC}/lib/libluxrays.a ${PREFIX}/lib
.include <bsd.port.mk>