freebsd-ports/graphics/ospray-studio/Makefile
Yuri Victorovich c6ead3cab2 graphics/ospray-studio: Use project's install target
With OSPRAY_INSTALL=OFF it doesn't reinstall all dependencies.
2022-03-13 12:53:45 -07:00

34 lines
791 B
Makefile

PORTNAME= ospray-studio
DISTVERSIONPREFIX= v
DISTVERSION= 0.10.0
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>