git: 9d3df6eb72fe - main - graphics/opencolorio-tools: Fix plist

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 14 Oct 2023 17:15:18 UTC
The branch main has been updated by diizzy:

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

commit 9d3df6eb72fefcd90093cfe84e65ca6b540f5aa2
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-10-14 01:23:22 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-10-14 17:11:28 +0000

    graphics/opencolorio-tools: Fix plist
    
    Fix plist and don't install any .cmake files
    
    Approved by:    portmgr (blanket, build fix)
---
 graphics/opencolorio-tools/Makefile  | 2 +-
 graphics/opencolorio/Makefile        | 3 +++
 graphics/opencolorio/pkg-plist-tools | 1 +
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/graphics/opencolorio-tools/Makefile b/graphics/opencolorio-tools/Makefile
index 6db12e7be1ea..814408902f33 100644
--- a/graphics/opencolorio-tools/Makefile
+++ b/graphics/opencolorio-tools/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	3
+PORTREVISION=	4
 PKGNAMESUFFIX=	-tools
 
 COMMENT=	Tools to work with OpenColorIO profiles
diff --git a/graphics/opencolorio/Makefile b/graphics/opencolorio/Makefile
index c1fee9f1e252..0055118d3e76 100644
--- a/graphics/opencolorio/Makefile
+++ b/graphics/opencolorio/Makefile
@@ -116,6 +116,9 @@ post-install:
 .if !defined(OCIO_SLAVE) || (defined(OCIO_SLAVE) && ${OCIO_SLAVE} != pymodule)
 	@cd ${STAGEDIR}${PREFIX} && ${RM} -r lib/libOpenColorIO*.a lib/python*
 .endif
+.if defined(OCIO_SLAVE) && ${OCIO_SLAVE} == tools
+	${RM} -r ${STAGEDIR}${PREFIX}/share/OpenColorIO
+.endif
 
 post-install-DOCS-on:
 	@cd ${STAGEDIR}${PREFIX}/share/doc && ${MV} OpenColorIO ${PKGNAMEPREFIX}${PORTNAME}
diff --git a/graphics/opencolorio/pkg-plist-tools b/graphics/opencolorio/pkg-plist-tools
index 8cd85e818959..697f160c7792 100644
--- a/graphics/opencolorio/pkg-plist-tools
+++ b/graphics/opencolorio/pkg-plist-tools
@@ -1,3 +1,4 @@
+bin/ocioarchive
 bin/ociobakelut
 bin/ociocheck
 bin/ocioconvert