aboutsummaryrefslogtreecommitdiff
path: root/graphics/ospray-studio
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-03-13 19:33:42 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-03-13 19:53:45 +0000
commitc6ead3cab2a43ef1cd1e7a3440388af74058e3b6 (patch)
tree2acb79d9446aeeb21579052c7535de29d9ad91b9 /graphics/ospray-studio
parentadfa15eef35a33312cca8faf9a86d203ce3b5677 (diff)
downloadports-c6ead3cab2a43ef1cd1e7a3440388af74058e3b6.tar.gz
ports-c6ead3cab2a43ef1cd1e7a3440388af74058e3b6.zip
graphics/ospray-studio: Use project's install target
With OSPRAY_INSTALL=OFF it doesn't reinstall all dependencies.
Diffstat (limited to 'graphics/ospray-studio')
-rw-r--r--graphics/ospray-studio/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/graphics/ospray-studio/Makefile b/graphics/ospray-studio/Makefile
index 6be2a676f095..28dc53069d38 100644
--- a/graphics/ospray-studio/Makefile
+++ b/graphics/ospray-studio/Makefile
@@ -22,14 +22,13 @@ USE_GITHUB= yes
GH_ACCOUNT= ospray
GH_PROJECT= ${PORTNAME:S/-/_/}
-CMAKE_ON= OSPRAY_INSTALL
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
-do-install: # workaround for https://github.com/ospray/ospray_studio/issues/8
- ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/ospStudio ${STAGEDIR}${LOCALBASE}/bin
- ${INSTALL_LIB} ${BUILD_WRKSRC}/libospray_sg.so ${STAGEDIR}${LOCALBASE}/lib
+post-install:
+ @${RM} -rf ${STAGEDIR}${LOCALBASE}/share/doc/ospray_studio
.include <bsd.port.mk>