aboutsummaryrefslogtreecommitdiff
path: root/graphics/luxrays/Makefile
blob: c7b4d42df4f8bd042c7c42408f50f04ad7d3f053 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Natacha Porté <natbsd@instinctive.eu>
# $FreeBSD$

PORTNAME=	luxrays
PORTVERSION=	1.2.1
PORTREVISION=	2
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=	libboost_thread.so:${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

NO_STAGE=	yes
do-install:
	(cd ${WRKSRC}/include && ${COPYTREE_SHARE} . ${PREFIX}/include)
	${INSTALL_DATA} ${WRKSRC}/lib/libluxrays.a ${PREFIX}/lib

.include <bsd.port.mk>