diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2013-10-23 19:11:11 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2013-10-23 19:11:11 +0000 |
commit | 8c65b19716c02cd18a8e7ab6627d7b716c241436 (patch) | |
tree | 9ad2551fb436040be7c83641bdadda622bc96983 /graphics/opencolorio | |
parent | b382f19a831a050b2dcd49330fa7da840211ce73 (diff) |
Move more bits from opencolorio-tools to opencolorio.
Submitted by: Shane Ambler <FreeBSD@Shaneware.biz> (maintainer)
Notes
Notes:
svn path=/head/; revision=331415
Diffstat (limited to 'graphics/opencolorio')
-rw-r--r-- | graphics/opencolorio/Makefile | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/graphics/opencolorio/Makefile b/graphics/opencolorio/Makefile index 2d7f6f83fd44..87a451b2e7e7 100644 --- a/graphics/opencolorio/Makefile +++ b/graphics/opencolorio/Makefile @@ -17,11 +17,14 @@ GH_PROJECT= OpenColorIO GH_TAGNAME= v${PORTVERSION} GH_COMMIT= 8883824 -OPTIONS_DEFINE= DOCS - LDFLAGS+= -L${LOCALBASE}/lib PLIST= ${PKGDIR}/pkg-plist${PKGNAMESUFFIX} USES= cmake:outsource pkgconfig +CMAKE_ARGS= -DOCIO_BUILD_JNIGLUE:BOOL=OFF \ + -DOCIO_BUILD_NUKE:BOOL=OFF \ + -DOCIO_BUILD_STATIC:BOOL=OFF \ + -DUSE_EXTERNAL_TINYXML:BOOL=ON \ + -DUSE_EXTERNAL_YAML:BOOL=ON .if ${MACHINE_CPU:Msse2} CMAKE_ARGS+= -DOCIO_USE_SSE:BOOL=ON @@ -32,17 +35,19 @@ CMAKE_ARGS+= -DOCIO_USE_SSE:BOOL=OFF .include <bsd.port.options.mk> .if ${SLAVE_PORT} == no -LIB_DEPENDS+= libtinyxml.so:${PORTSDIR}/textproc/tinyxml \ +LIB_DEPENDS= libtinyxml.so:${PORTSDIR}/textproc/tinyxml \ libyaml-cpp.so:${PORTSDIR}/devel/yaml-cpp USE_PYTHON= 2.6+ USE_LDCONFIG= yes CMAKE_ARGS+= -DOCIO_BUILD_APPS:BOOL=OFF \ - -DOCIO_BUILD_JNIGLUE:BOOL=OFF \ - -DOCIO_BUILD_NUKE:BOOL=OFF \ - -DOCIO_BUILD_STATIC:BOOL=OFF \ - -DOCIO_BUILD_PYGLUE:BOOL=ON \ - -DUSE_EXTERNAL_TINYXML:BOOL=ON \ - -DUSE_EXTERNAL_YAML:BOOL=ON + -DOCIO_BUILD_SHARED:BOOL=ON \ + -DOCIO_BUILD_PYGLUE:BOOL=ON +.else +LIB_DEPENDS= libOpenImageIO.so:${PORTSDIR}/graphics/openimageio \ + libOpenColorIO.so:${PORTSDIR}/graphics/opencolorio +CMAKE_ARGS+= -DOCIO_BUILD_APPS:BOOL=ON \ + -DOCIO_BUILD_SHARED:BOOL=OFF \ + -DOCIO_BUILD_PYGLUE:BOOL=OFF .endif .if ${PORT_OPTIONS:MDOCS} |