aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2022-01-27 00:58:51 +0000
committerMatthias Andree <mandree@FreeBSD.org>2022-01-27 23:53:15 +0000
commite60db35e61d8f5d989fe546dd8e479d88ac16b2a (patch)
treedeb24f8bb897516f9465132667da7220a0e4932e
parent5c09cefac8deb1b796d2277440a1e6fc4d768143 (diff)
downloadports-e60db35e61d8f5d989fe546dd8e479d88ac16b2a.tar.gz
ports-e60db35e61d8f5d989fe546dd8e479d88ac16b2a.zip
math/Imath: update to 3.1.4 (bug/doc fixes)
ChangeLog: https://github.com/AcademySoftwareFoundation/Imath/releases/tag/v3.1.4 MFH: 2022Q1 (cherry picked from commit 7981412b9959044d16e9501fb1554c383d86d891)
-rw-r--r--math/Imath/Makefile8
-rw-r--r--math/Imath/distinfo6
-rw-r--r--math/Imath/pkg-plist2
3 files changed, 9 insertions, 7 deletions
diff --git a/math/Imath/Makefile b/math/Imath/Makefile
index b4348fd7bd11..92f5a6a6b6ef 100644
--- a/math/Imath/Makefile
+++ b/math/Imath/Makefile
@@ -1,7 +1,7 @@
# 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
@@ -41,9 +41,13 @@ 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
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
@@ -64,7 +64,6 @@ libdata/pkgconfig/Imath.pc
%%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
@@ -85,7 +84,6 @@ libdata/pkgconfig/Imath.pc
%%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%%