summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/opencolorio/Makefile7
-rw-r--r--graphics/opencolorio/PLIST8
2 files changed, 10 insertions, 5 deletions
diff --git a/graphics/opencolorio/Makefile b/graphics/opencolorio/Makefile
index c43e5962dc3..fcda826e7ff 100644
--- a/graphics/opencolorio/Makefile
+++ b/graphics/opencolorio/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2019/09/18 22:30:49 nia Exp $
+# $NetBSD: Makefile,v 1.5 2019/09/19 14:44:23 nia Exp $
DISTNAME= OpenColorIO-1.1.1
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=imageworks/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -27,8 +28,12 @@ PKGCONFIG_OVERRIDE+= export/pkgconfig/OpenColorIO.pc.in
BUILDLINK_TRANSFORM+= rm:-Werror
+INSTALLATION_DIRS+= lib/cmake/OpenColorIO
+
post-install:
${MV} ${DESTDIR}${PREFIX}/lib/static/*.a ${DESTDIR}${PREFIX}/lib
+ ${MV} ${DESTDIR}${PREFIX}/*.cmake ${DESTDIR}${PREFIX}/lib/cmake/OpenColorIO
+ ${MV} ${DESTDIR}${PREFIX}/cmake/*.cmake ${DESTDIR}${PREFIX}/lib/cmake/OpenColorIO
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../textproc/tinyxml/buildlink3.mk"
diff --git a/graphics/opencolorio/PLIST b/graphics/opencolorio/PLIST
index f875ef4ad37..834268ea027 100644
--- a/graphics/opencolorio/PLIST
+++ b/graphics/opencolorio/PLIST
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.2 2019/09/18 22:30:49 nia Exp $
-OpenColorIOConfig.cmake
-cmake/OpenColorIO-relwithdebinfo.cmake
-cmake/OpenColorIO.cmake
+@comment $NetBSD: PLIST,v 1.3 2019/09/19 14:44:23 nia Exp $
include/OpenColorIO/OpenColorABI.h
include/OpenColorIO/OpenColorIO.h
include/OpenColorIO/OpenColorTransforms.h
include/OpenColorIO/OpenColorTypes.h
+lib/cmake/OpenColorIO/OpenColorIO-relwithdebinfo.cmake
+lib/cmake/OpenColorIO/OpenColorIO.cmake
+lib/cmake/OpenColorIO/OpenColorIOConfig.cmake
lib/libOpenColorIO.a
lib/libOpenColorIO.so
lib/libOpenColorIO.so.1