diff --git a/math/Imath/Makefile b/math/Imath/Makefile index b4348fd7bd11..92f5a6a6b6ef 100644 --- a/math/Imath/Makefile +++ b/math/Imath/Makefile @@ -1,58 +1,62 @@ # Based on the graphics/ilmbase port that was done by: nork@FreeBSD.org PORTNAME= Imath -PORTVERSION= 3.1.3 +PORTVERSION= 3.1.4 CATEGORIES= math devel graphics MAINTAINER= mandree@FreeBSD.org COMMENT= C++/Python lib of 2D/3D vector, matrix, math ops for computer graphics LICENSE= BSD3CLAUSE USES= cmake compiler:c++14-lang pkgconfig USE_GITHUB= yes GH_TUPLE= AcademySoftwareFoundation:Imath:v${PORTVERSION} USE_LDCONFIG= yes CMAKE_ARGS+= -DCMAKE_DEBUG_POSTFIX= \ -DCMAKE_INSTALL_PREFIX=${PREFIX} PATCH_STRIP= -p1 PLIST_SUB= MAJORVER=${_MAJORVER} \ MINVER=${_MINVER} \ PLVER=${_PLVER} \ VER=${_VER} \ PYVER=${PYTHON_VER:S/./_/} PORTDOCS= README.md OPTIONS_DEFINE= DOCS LARGE_STACK PYTHON OPTIONS_SUB= yes LARGE_STACK_DESC= Enable sys-dependent large stack optimizations LARGE_STACK_CMAKE_BOOL= IMATH_ENABLE_LARGE_STACK PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_LIB_DEPENDS= ${PY_BOOST} PYTHON_RUN_DEPENDS= ${PYNUMPY} PYTHON_USES= python PYTHON_CMAKE_BOOL= PYTHON _MAJORVER= 3_1 _VER= 29 -_MINVER= 2 +_MINVER= 3 _PLVER= 0 +post-patch: + ${REINPLACE_CMD} -E 's/find_package\(Python(3?) COMPONENTS/find_package(Python\1 ${PYTHON_VER} EXACT COMPONENTS/' \ + ${WRKSRC}/src/python/CMakeLists.txt + post-install: .for l in libImath ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${l}-${_MAJORVER}.so .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} do-test: cd ${BUILD_WRKSRC} && ctest -j ${MAKE_JOBS_NUMBER} .include diff --git a/math/Imath/distinfo b/math/Imath/distinfo index 722b31a5a388..40e316fa9815 100644 --- a/math/Imath/distinfo +++ b/math/Imath/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1630628925 -SHA256 (AcademySoftwareFoundation-Imath-3.1.3-v3.1.3_GH0.tar.gz) = 0bf7ec51162c4d17a4c5b850fb3f6f7a195cff9fa71f4da7735f74d7b5124320 -SIZE (AcademySoftwareFoundation-Imath-3.1.3-v3.1.3_GH0.tar.gz) = 570840 +TIMESTAMP = 1643242766 +SHA256 (AcademySoftwareFoundation-Imath-3.1.4-v3.1.4_GH0.tar.gz) = fcca5fbb37d375a252bacd8a29935569bdc28b888f01ef1d9299ca0c9e87c17a +SIZE (AcademySoftwareFoundation-Imath-3.1.4-v3.1.4_GH0.tar.gz) = 572214 diff --git a/math/Imath/pkg-plist b/math/Imath/pkg-plist index 1d659bd820a1..04ff9e1bd567 100644 --- a/math/Imath/pkg-plist +++ b/math/Imath/pkg-plist @@ -1,94 +1,92 @@ include/Imath/ImathBox.h include/Imath/ImathBoxAlgo.h include/Imath/ImathColor.h include/Imath/ImathColorAlgo.h include/Imath/ImathConfig.h include/Imath/ImathEuler.h include/Imath/ImathExport.h include/Imath/ImathForward.h include/Imath/ImathFrame.h include/Imath/ImathFrustum.h include/Imath/ImathFrustumTest.h include/Imath/ImathFun.h include/Imath/ImathGL.h include/Imath/ImathGLU.h include/Imath/ImathInt64.h include/Imath/ImathInterval.h include/Imath/ImathLine.h include/Imath/ImathLineAlgo.h include/Imath/ImathMath.h include/Imath/ImathMatrix.h include/Imath/ImathMatrixAlgo.h include/Imath/ImathNamespace.h include/Imath/ImathPlane.h include/Imath/ImathPlatform.h include/Imath/ImathQuat.h include/Imath/ImathRandom.h include/Imath/ImathRoots.h include/Imath/ImathShear.h include/Imath/ImathSphere.h include/Imath/ImathTypeTraits.h include/Imath/ImathVec.h include/Imath/ImathVecAlgo.h include/Imath/half.h include/Imath/halfFunction.h include/Imath/halfLimits.h lib/cmake/Imath/ImathConfig.cmake lib/cmake/Imath/ImathConfigVersion.cmake lib/cmake/Imath/ImathTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/Imath/ImathTargets.cmake lib/libImath-%%MAJORVER%%.so lib/libImath-%%MAJORVER%%.so.%%VER%% lib/libImath-%%MAJORVER%%.so.%%VER%%.%%MINVER%%.%%PLVER%% lib/libImath.so libdata/pkgconfig/Imath.pc %%PYTHON%%include/Imath/PyImath.h %%PYTHON%%include/Imath/PyImathAPI.h %%PYTHON%%include/Imath/PyImathAutovectorize.h %%PYTHON%%include/Imath/PyImathBasicTypes.h %%PYTHON%%include/Imath/PyImathBox.h %%PYTHON%%include/Imath/PyImathBoxArrayImpl.h %%PYTHON%%include/Imath/PyImathBufferProtocol.h %%PYTHON%%include/Imath/PyImathColor.h %%PYTHON%%include/Imath/PyImathColor3ArrayImpl.h %%PYTHON%%include/Imath/PyImathColor4Array2DImpl.h %%PYTHON%%include/Imath/PyImathColor4ArrayImpl.h %%PYTHON%%include/Imath/PyImathDecorators.h %%PYTHON%%include/Imath/PyImathEuler.h %%PYTHON%%include/Imath/PyImathExport.h %%PYTHON%%include/Imath/PyImathFixedArray.h %%PYTHON%%include/Imath/PyImathFixedArray2D.h %%PYTHON%%include/Imath/PyImathFixedArrayTraits.h %%PYTHON%%include/Imath/PyImathFixedMatrix.h %%PYTHON%%include/Imath/PyImathFixedVArray.h %%PYTHON%%include/Imath/PyImathFrustum.h %%PYTHON%%include/Imath/PyImathFun.h %%PYTHON%%include/Imath/PyImathLine.h -%%PYTHON%%include/Imath/PyImathM44Array.h %%PYTHON%%include/Imath/PyImathMathExc.h %%PYTHON%%include/Imath/PyImathMatrix.h %%PYTHON%%include/Imath/PyImathOperators.h %%PYTHON%%include/Imath/PyImathPlane.h %%PYTHON%%include/Imath/PyImathQuat.h %%PYTHON%%include/Imath/PyImathQuatOperators.h %%PYTHON%%include/Imath/PyImathRandom.h %%PYTHON%%include/Imath/PyImathShear.h %%PYTHON%%include/Imath/PyImathStringArray.h %%PYTHON%%include/Imath/PyImathStringArrayRegister.h %%PYTHON%%include/Imath/PyImathStringTable.h %%PYTHON%%include/Imath/PyImathTask.h %%PYTHON%%include/Imath/PyImathUtil.h %%PYTHON%%include/Imath/PyImathVec.h %%PYTHON%%include/Imath/PyImathVec2Impl.h %%PYTHON%%include/Imath/PyImathVec3ArrayImpl.h %%PYTHON%%include/Imath/PyImathVec3Impl.h %%PYTHON%%include/Imath/PyImathVec4ArrayImpl.h %%PYTHON%%include/Imath/PyImathVec4Impl.h %%PYTHON%%include/Imath/PyImathVecOperators.h -%%PYTHON%%lib/cmake/Imath/ImathConfig-%%CMAKE_BUILD_TYPE%%.cmake %%PYTHON%%lib/libPyImath_Python%%PYVER%%-%%MAJORVER%%.so %%PYTHON%%lib/libPyImath_Python%%PYVER%%-%%MAJORVER%%.so.%%VER%% %%PYTHON%%lib/libPyImath_Python%%PYVER%%-%%MAJORVER%%.so.%%VER%%.%%MINVER%%.%%PLVER%% %%PYTHON%%%%PYTHON_SITELIBDIR%%/imath.so %%PYTHON%%%%PYTHON_SITELIBDIR%%/imathnumpy.so %%PYTHON%%libdata/pkgconfig/PyImath.pc