Changeset View
Changeset View
Standalone View
Standalone View
head/graphics/openimageio/Makefile
Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Lines | |||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${SLAVE_PORT} == no | .if ${SLAVE_PORT} == no | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
CMAKE_ARGS+= -DUSE_PYTHON:BOOL=OFF -DUSE_PYTHON3:BOOL=OFF \ | CMAKE_ARGS+= -DUSE_PYTHON:BOOL=OFF -DUSE_PYTHON3:BOOL=OFF \ | ||||
-DOIIO_BUILD_TOOLS:BOOL=ON | -DOIIO_BUILD_TOOLS:BOOL=ON | ||||
.else | .else | ||||
LIB_DEPENDS+= libOpenImageIO.so:graphics/openimageio \ | LIB_DEPENDS+= libOpenImageIO.so:graphics/openimageio \ | ||||
libboost_python.so:devel/boost-python-libs | ${PY_BOOST} | ||||
PLIST= ${PKGDIR}/pkg-plist-pybind | PLIST= ${PKGDIR}/pkg-plist-pybind | ||||
#while oiio supports py3, ports doesn't have py3 support for boost-python yet | #while oiio supports py3, ports doesn't have py3 support for boost-python yet | ||||
USES+= python:2 | USES+= python:2 | ||||
CMAKE_ARGS+= -DUSE_PYTHON:BOOL=ON -DUSE_PYTHON3:BOOL=OFF \ | CMAKE_ARGS+= -DUSE_PYTHON:BOOL=ON -DUSE_PYTHON3:BOOL=OFF \ | ||||
-DOIIO_BUILD_TOOLS:BOOL=OFF -DUSE_FFMPEG:BOOL=OFF | -DOIIO_BUILD_TOOLS:BOOL=OFF -DUSE_FFMPEG:BOOL=OFF | ||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
Show All 15 Lines |