Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2022 19:53:53 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c6ead3cab2a4 - main - graphics/ospray-studio: Use project's install target
Message-ID:  <202203131953.22DJrrr1032706@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c6ead3cab2a43ef1cd1e7a3440388af74058e3b6

commit c6ead3cab2a43ef1cd1e7a3440388af74058e3b6
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-03-13 19:33:42 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-03-13 19:53:45 +0000

    graphics/ospray-studio: Use project's install target
    
    With OSPRAY_INSTALL=OFF it doesn't reinstall all dependencies.
---
 graphics/ospray-studio/Makefile | 7 +++----
 1 file 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203131953.22DJrrr1032706>