diff options
Diffstat (limited to 'math/Imath')
-rw-r--r-- | math/Imath/Makefile | 23 | ||||
-rw-r--r-- | math/Imath/distinfo | 6 | ||||
-rw-r--r-- | math/Imath/pkg-plist | 7 |
3 files changed, 17 insertions, 19 deletions
diff --git a/math/Imath/Makefile b/math/Imath/Makefile index ff8253cf8049..7bd7c31c3f69 100644 --- a/math/Imath/Makefile +++ b/math/Imath/Makefile @@ -1,14 +1,14 @@ # Based on the graphics/ilmbase port that was done by: nork@FreeBSD.org PORTNAME= Imath -PORTVERSION= 3.1.12 +PORTVERSION= 3.2.1 CATEGORIES= math devel graphics MASTER_SITES= https://github.com/AcademySoftwareFoundation/${PORTNAME}/releases/download/v${PORTVERSION}/ \ LOCAL/mandree/ # to verify: 'make makesum' and download .sigstore.json to working directory, then: # sigstore verify github --cert-identity \ -# https://github.com/AcademySoftwareFoundation/Imath/.github/workflows/release-sign.yml@refs/tags/v3.1.12 \ -# /usr/ports/distfiles/Imath-3.1.12.tar.gz --bundle Imath-3.1.12.tar.gz.sigstore.json +# https://github.com/AcademySoftwareFoundation/Imath/.github/workflows/release-sign.yml@refs/tags/v3.2.1 \ +# /usr/ports/distfiles/Imath-3.2.1.tar.gz --bundle Imath-3.2.1.tar.gz.sigstore.json MAINTAINER= mandree@FreeBSD.org COMMENT= C++/Python lib of 2D/3D vector, matrix, math ops for computer graphics @@ -26,9 +26,8 @@ CMAKE_ARGS+= -DCMAKE_DEBUG_POSTFIX= \ PATCH_STRIP= -p1 PLIST_SUB= MAJORVER=${_MAJORVER} \ - MINVER=${_MINVER} \ - PLVER=${_PLVER} \ VER=${_VER} \ + REL=${_REL} \ PYVER=${PYTHON_VER:S/./_/} PORTDOCS= README.md @@ -39,19 +38,15 @@ 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_LIB_DEPENDS= ${PY_BOOST} \ + libboost_container.so:devel/boost-libs PYTHON_RUN_DEPENDS= ${PYNUMPY} PYTHON_USES= python PYTHON_CMAKE_BOOL= PYTHON -_MAJORVER= 3_1 -_VER= 29 -_MINVER= 11 -_PLVER= 0 - -post-patch: - ${REINPLACE_CMD} -E 's}find_package\(Python(3?) COMPONENTS}set(Python\1_EXECUTABLE ${PYTHON_CMD})\nfind_package(Python\1 ${PYTHON_VER} EXACT COMPONENTS}' \ - ${WRKSRC}/src/python/CMakeLists.txt +_MAJORVER= 3_2 +_VER= 30 +_REL= ${PORTVERSION} post-install: .for l in libImath diff --git a/math/Imath/distinfo b/math/Imath/distinfo index 5ffa111df77e..55a43a17472b 100644 --- a/math/Imath/distinfo +++ b/math/Imath/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1725995802 -SHA256 (Imath-3.1.12.tar.gz) = cb8ca9ca77ac4338ebbee911fc90c886011ac5b00088630bacf8ef6c6e522f0a -SIZE (Imath-3.1.12.tar.gz) = 593114 +TIMESTAMP = 1755290564 +SHA256 (Imath-3.2.1.tar.gz) = 8e016fd33f240acacd457fcf9a2a0473e68aed57897fa4e27bc02a278aab23f8 +SIZE (Imath-3.2.1.tar.gz) = 680129 diff --git a/math/Imath/pkg-plist b/math/Imath/pkg-plist index 04ff9e1bd567..33e0dda6106b 100644 --- a/math/Imath/pkg-plist +++ b/math/Imath/pkg-plist @@ -39,7 +39,7 @@ 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-%%MAJORVER%%.so.%%VER%%.%%REL%% lib/libImath.so libdata/pkgconfig/Imath.pc %%PYTHON%%include/Imath/PyImath.h @@ -84,9 +84,12 @@ libdata/pkgconfig/Imath.pc %%PYTHON%%include/Imath/PyImathVec4ArrayImpl.h %%PYTHON%%include/Imath/PyImathVec4Impl.h %%PYTHON%%include/Imath/PyImathVecOperators.h +%%PYTHON%%lib/cmake/Imath/PyImathTargets-%%CMAKE_BUILD_TYPE%%.cmake +%%PYTHON%%lib/cmake/Imath/PyImathTargets.cmake +%%PYTHON%%lib/libPyImath.so %%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%%lib/libPyImath_Python%%PYVER%%-%%MAJORVER%%.so.%%VER%%.%%REL%% %%PYTHON%%%%PYTHON_SITELIBDIR%%/imath.so %%PYTHON%%%%PYTHON_SITELIBDIR%%/imathnumpy.so %%PYTHON%%libdata/pkgconfig/PyImath.pc |