PORTNAME= ospray DISTVERSIONPREFIX= v DISTVERSION= 2.10.0 PORTREVISION= 3 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Ray tracing based rendering engine for high-fidelity visualization WWW= https://www.ospray.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_amd64= build fails, see https://github.com/ospray/ospray/issues/529 BUILD_DEPENDS= ispc:devel/ispc LIB_DEPENDS= libbenchmark.so:devel/benchmark \ libembree3.so:graphics/embree \ libglfw.so:graphics/glfw \ libopenvkl.so:graphics/openvkl \ librkcommon.so:devel/rkcommon \ libtbb.so:devel/onetbb USES= cmake:testing compiler:c++11-lang gl pkgconfig readline qt:5 USE_GITHUB= yes USE_GL= gl glu USE_QT= core gui opengl qmake:build USE_LDCONFIG= yes PLIST_SUB= VERSION=${PORTVERSION} CMAKE_OFF= OSPRAY_ENABLE_APPS_TESTING CMAKE_TESTING_ON= OSPRAY_ENABLE_APPS_TESTING OPTIONS_DEFINE= APPS OPTIONS_DEFAULT= APPS OPTIONS_SUB= yes APPS_DESC= Build apps APPS_CMAKE_BOOL= OSPRAY_ENABLE_APPS post-patch: # replace alloca.h includes @${FIND} ${WRKSRC} -name "*.c*" -a -exec ${GREP} "#include " {} \; -a -exec ${REINPLACE_CMD} -e "s|#include |#include |" {} \; > /dev/null post-install: @${RM} -r ${STAGEDIR}${PREFIX}/share/doc/OSPRay .include