git: d2c7e86ddfb8 - main - math/libtommath: update to 1.3.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Apr 2024 14:16:58 UTC
The branch main has been updated by gahr: URL: https://cgit.FreeBSD.org/ports/commit/?id=d2c7e86ddfb8cdf05f72c962539442c8a4ace4e8 commit d2c7e86ddfb8cdf05f72c962539442c8a4ace4e8 Author: Pietro Cerutti <gahr@FreeBSD.org> AuthorDate: 2024-04-03 14:07:15 +0000 Commit: Pietro Cerutti <gahr@FreeBSD.org> CommitDate: 2024-04-03 14:16:55 +0000 math/libtommath: update to 1.3.0 Release notes: https://www.libtom.net/news/LTM_1.3.0/ --- math/libtommath/Makefile | 37 +++++-------------------------------- math/libtommath/distinfo | 6 +++--- 2 files changed, 8 insertions(+), 35 deletions(-) diff --git a/math/libtommath/Makefile b/math/libtommath/Makefile index 1e721627e196..14cb5f597382 100644 --- a/math/libtommath/Makefile +++ b/math/libtommath/Makefile @@ -1,5 +1,5 @@ PORTNAME= libtommath -DISTVERSION= 1.2.1 +DISTVERSION= 1.3.0 CATEGORIES= math MASTER_SITES= https://github.com/libtom/libtommath/releases/download/v${DISTVERSION}/ DISTNAME= ltm-${DISTVERSION} @@ -11,38 +11,11 @@ WWW= https://libtom.net/ LICENSE= UNLICENSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= gmake libtool:build pathfix tar:xz - +USES= cmake:testing tar:xz +CMAKE_ARGS= -DBUILD_TESTING:BOOL=ON \ + -DCMAKE_INSTALL_PKGCONFIGDIR:STRING=libdata/pkgconfig WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} -USE_LDCONFIG= yes - -MAKEFILE= makefile.shared -MAKE_ENV+= IGNORE_SPEED=yes -ALL_TARGET= default -CFLAGS+= -fPIC -PORTDOCS= * - -PLIST_FILES= include/tommath.h \ - lib/libtommath.a \ - lib/libtommath.so \ - lib/libtommath.so.${DISTVERSION:R:R} \ - lib/libtommath.so.${DISTVERSION} \ - libdata/pkgconfig/libtommath.pc -OPTIONS_DEFINE= DOCS - -post-patch: - @${REINPLACE_CMD} -e 's|$$(LIBPATH)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ - ${WRKSRC}/${MAKEFILE} - -post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/bn.pdf ${STAGEDIR}${DOCSDIR} - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtommath.so.${DISTVERSION} - -do-test: - (cd ${WRKSRC}; \ - ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -f makefile mtest/mtest test; \ - ./mtest/mtest | ./test) +USE_LDCONFIG= yes .include <bsd.port.mk> diff --git a/math/libtommath/distinfo b/math/libtommath/distinfo index 6cc0e5e7f56c..bcbacb38c3fd 100644 --- a/math/libtommath/distinfo +++ b/math/libtommath/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1696845190 -SHA256 (ltm-1.2.1.tar.xz) = 986025d7b374276fee2e30e99f3649e4ac0db8a02257a37ee10eae72abed0d1f -SIZE (ltm-1.2.1.tar.xz) = 635728 +TIMESTAMP = 1712044712 +SHA256 (ltm-1.3.0.tar.xz) = 296272d93435991308eb73607600c034b558807a07e829e751142e65ccfa9d08 +SIZE (ltm-1.3.0.tar.xz) = 642776