aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/luxrays/Makefile
blob: d0face107bbfb1eee48b7afd72d8b1daffde8ff6 (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
# 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

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

.include <bsd.port.mk>