diff --git a/math/Imath/Makefile b/math/Imath/Makefile index 9fa973911789..c2d5eea7d856 100644 --- a/math/Imath/Makefile +++ b/math/Imath/Makefile @@ -1,64 +1,65 @@ # Based on the graphics/ilmbase port that was done by: nork@FreeBSD.org PORTNAME= Imath PORTVERSION= 3.1.9 +DISTVERSIONPREFIX= v PORTREVISION= 0 CATEGORIES= math devel graphics MAINTAINER= mandree@FreeBSD.org COMMENT= C++/Python lib of 2D/3D vector, matrix, math ops for computer graphics WWW= https://github.com/AcademySoftwareFoundation/Imath/ LICENSE= BSD3CLAUSE USES= cmake compiler:c++14-lang pathfix pkgconfig USE_GITHUB= yes -GH_TUPLE= AcademySoftwareFoundation:Imath:v${PORTVERSION} +GH_ACCOUNT= AcademySoftwareFoundation 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= 8 _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 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 f9da02d60398..03b6d9248989 100644 --- a/math/Imath/distinfo +++ b/math/Imath/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1685734514 -SHA256 (AcademySoftwareFoundation-Imath-3.1.9-v3.1.9_GH0.tar.gz) = f1d8aacd46afed958babfced3190d2d3c8209b66da451f556abd6da94c165cf3 -SIZE (AcademySoftwareFoundation-Imath-3.1.9-v3.1.9_GH0.tar.gz) = 598497 +TIMESTAMP = 1685793190 +SHA256 (AcademySoftwareFoundation-Imath-v3.1.9_GH0.tar.gz) = f1d8aacd46afed958babfced3190d2d3c8209b66da451f556abd6da94c165cf3 +SIZE (AcademySoftwareFoundation-Imath-v3.1.9_GH0.tar.gz) = 598497