aboutsummaryrefslogtreecommitdiff
path: root/graphics/ospray-studio/Makefile
blob: 109f4fa77ac65a978e8bf95d3fe0f5db6a057695 (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
35
PORTNAME=	ospray-studio
DISTVERSIONPREFIX=	v
DISTVERSION=	0.10.0
PORTREVISION=	1
CATEGORIES=	graphics

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Application to showcase OSPRay's rendering capabilities

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

LIB_DEPENDS=	libglfw.so:graphics/glfw \
		libospray.so:graphics/ospray \
		librkcommon.so:devel/rkcommon \
		libtbb.so:devel/onetbb

USES=		cmake gl pkgconfig
USE_GL=		gl glu
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	ospray
GH_PROJECT=	${PORTNAME:S/-/_/}

CMAKE_OFF=	USE_PYSG
CMAKE_OFF+=	OSPRAY_INSTALL # otherwise it installs all dependencies, see https://github.com/ospray/ospray_studio/issues/8

PLIST_FILES=	bin/ospStudio \
		lib/libospray_sg.so

post-install:
	@${RM} -rf ${STAGEDIR}${LOCALBASE}/share/doc/ospray_studio

.include <bsd.port.mk>