aboutsummaryrefslogtreecommitdiff
path: root/graphics/opencolorio-tools
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/opencolorio-tools')
-rw-r--r--graphics/opencolorio-tools/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/graphics/opencolorio-tools/Makefile b/graphics/opencolorio-tools/Makefile
new file mode 100644
index 000000000000..7089435d7ddd
--- /dev/null
+++ b/graphics/opencolorio-tools/Makefile
@@ -0,0 +1,32 @@
+# Created by: Shane Ambler <FreeBSD@Shaneware.biz>
+# $FreeBSD$
+
+PORTNAME= opencolorio
+PORTREVISION= 0
+PKGNAMESUFFIX= -tools
+
+COMMENT= Tools to work with OpenColorIO profiles
+
+LICENSE= BSD
+
+LIB_DEPENDS= OpenImageIO:${PORTSDIR}/graphics/openimageio \
+ OpenColorIO:${PORTSDIR}/graphics/opencolorio
+
+MASTERDIR= ${.CURDIR}/../opencolorio
+
+CMAKE_ARGS= -DOCIO_BUILD_APPS:BOOL=ON \
+ -DOCIO_BUILD_JNIGLUE:BOOL=OFF \
+ -DOCIO_BUILD_NUKE:BOOL=OFF \
+ -DOCIO_BUILD_PYGLUE:BOOL=OFF \
+ -DOCIO_BUILD_SHARED:BOOL=OFF \
+ -DOCIO_BUILD_STATIC:BOOL=OFF \
+ -DOCIO_BUILD_DOCS:BOOL=OFF
+
+USE_GL= glew glut
+CFLAGS+= -L${LOCALBASE}/lib
+
+EXTRA_PATCHES= ${FILESDIR}/extra-patch-CMakeLists.txt
+
+OCIO_TOOLS= yes
+
+.include "${MASTERDIR}/Makefile"