Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2021 20:16:58 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 80875c3a2308 - main - math/libnormaliz: Update 3.8.10 -> 3.9.0
Message-ID:  <202108232016.17NKGwRl040114@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=80875c3a2308ae5c61d614a69e7ae6d55e6b2434

commit 80875c3a2308ae5c61d614a69e7ae6d55e6b2434
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-08-23 20:13:02 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-08-23 20:16:31 +0000

    math/libnormaliz: Update 3.8.10 -> 3.9.0
    
    PR:             257999
    Approved by:    moritz@schmi.tt (maintainer)
---
 math/libnormaliz/Makefile  | 57 ++++++++--------------------------------------
 math/libnormaliz/distinfo  |  6 ++---
 math/libnormaliz/pkg-plist | 16 ++++---------
 3 files changed, 18 insertions(+), 61 deletions(-)

diff --git a/math/libnormaliz/Makefile b/math/libnormaliz/Makefile
index 4d08d47dc47c..c99054e0d314 100644
--- a/math/libnormaliz/Makefile
+++ b/math/libnormaliz/Makefile
@@ -1,7 +1,6 @@
 # PORTNAME block
 PORTNAME=	libnormaliz
-DISTVERSION=	3.8.10
-PORTREVISION=	1
+DISTVERSION=	3.9.0
 CATEGORIES=	math
 MASTER_SITES=	https://github.com/Normaliz/Normaliz/releases/download/v${PORTVERSION}/
 DISTNAME=	normaliz-${PORTVERSION}
@@ -15,20 +14,19 @@ LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 # Dependencies block
-BUILD_DEPENDS=	${LOCALBASE}/include/gmpxx.h:math/gmp
+LIB_DEPENDS=	libgmp.so:math/gmp \
+		libnauty.so:math/nauty
 
 # USES block
-USES=		autoreconf compiler:c++11-lang gmake libtool
+USES=		autoreconf compiler:c++11-lang gmake libtool localbase
+USE_LDCONFIG=	yes
 
 # bsd.ports.mk block
 GNU_CONFIGURE=	yes
-MAKEFILE=	Makefile.classic
 
-CXXFLAGS+=	-I ${LOCALBASE}/include -I ${WRKSRC}/source
-LDFLAGS+=	-L${LOCALBASE}/lib
+INSTALL_TARGET=	install-strip
 
-BUILD_WRKSRC=	${WRKSRC}/source/libnormaliz
-INSTALL_WRKSRC=	${WRKSRC}/source/libnormaliz
+TEST_TARGET=	check # at least one test is known to fail: https://github.com/Normaliz/Normaliz/issues/378
 
 # Options block
 OPTIONS_DEFINE=		COCOA DOCS FLINT OPENMP
@@ -38,50 +36,15 @@ FLINT_DESC=		Link with libflint.so
 
 COCOA_BUILD_DEPENDS=	${LOCALBASE}/lib/libcocoa.a:math/cocoalib
 COCOA_CONFIGURE_WITH=	cocoalib
+COCOA_BROKEN=		fails to compile a test program, see https://github.com/Normaliz/Normaliz/issues/379
 
-FLINT_LIB_DEPENDS=	libflint.so:math/flint2
+FLINT_LIB_DEPENDS=	libflint.so:math/flint2 \
+			libmpfr.so:math/mpfr
 FLINT_CONFIGURE_WITH=	flint
 FLINT_LDFLAGS=		-lpthread
 
 OPENMP_CONFIGURE_ENABLE=	openmp
 
-do-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/include/libnormaliz
-	${INSTALL_DATA}	${INSTALL_WRKSRC}/libnormaliz.a ${STAGEDIR}${PREFIX}/lib
-	cd ${INSTALL_WRKSRC} && ${INSTALL_DATA} \
-		HilbertSeries.h \
-		automorph.h \
-		collection.h \
-		cone.h \
-		cone_dual_mode.h \
-		cone_property.h \
-		descent.h \
-		dynamic_bitset.h \
-		face_lattice.h \
-		full_cone.h \
-		general.h \
-		input.h \
-		input_type.h \
-		integer.h \
-		libnormaliz.h \
-		list_and_map_operations.h \
-		matrix.h \
-		my_omp.h \
-		nmz_config.h \
-		nmz_integrate.h \
-		nmz_nauty.h \
-		normaliz_exception.h \
-		offload_handler.h \
-		options.h \
-		output.h \
-		project_and_lift.h \
-		reduction.h \
-		simplex.h \
-		sublattice_representation.h \
-		vector_operations.h \
-		version.h \
-		${STAGEDIR}${PREFIX}/include/libnormaliz
-
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_MAN} ${WRKSRC}/doc/Normaliz.pdf ${STAGEDIR}${DOCSDIR}
diff --git a/math/libnormaliz/distinfo b/math/libnormaliz/distinfo
index b3b7167fdaa9..aff2c9c5f35d 100644
--- a/math/libnormaliz/distinfo
+++ b/math/libnormaliz/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1624108360
-SHA256 (normaliz-3.8.10.tar.gz) = d085c64bebcb23e1c607ca1daff4551a9d38dd8f3dfbef4ef49670b58bb27f65
-SIZE (normaliz-3.8.10.tar.gz) = 4739222
+TIMESTAMP = 1629697233
+SHA256 (normaliz-3.9.0.tar.gz) = d90a2636745a858b5d59953daed1cc8d14abbf7d745f03d3af3e4726ae1759fe
+SIZE (normaliz-3.9.0.tar.gz) = 4875400
diff --git a/math/libnormaliz/pkg-plist b/math/libnormaliz/pkg-plist
index 996454c0e599..f98e242ccd39 100644
--- a/math/libnormaliz/pkg-plist
+++ b/math/libnormaliz/pkg-plist
@@ -1,15 +1,11 @@
+bin/normaliz
 include/libnormaliz/HilbertSeries.h
 include/libnormaliz/automorph.h
-include/libnormaliz/collection.h
 include/libnormaliz/cone.h
-include/libnormaliz/cone_dual_mode.h
 include/libnormaliz/cone_property.h
 include/libnormaliz/descent.h
 include/libnormaliz/dynamic_bitset.h
-include/libnormaliz/face_lattice.h
-include/libnormaliz/full_cone.h
 include/libnormaliz/general.h
-include/libnormaliz/input.h
 include/libnormaliz/input_type.h
 include/libnormaliz/integer.h
 include/libnormaliz/libnormaliz.h
@@ -17,17 +13,15 @@ include/libnormaliz/list_and_map_operations.h
 include/libnormaliz/matrix.h
 include/libnormaliz/my_omp.h
 include/libnormaliz/nmz_config.h
-include/libnormaliz/nmz_integrate.h
+include/libnormaliz/nmz_hash.h
 include/libnormaliz/nmz_nauty.h
 include/libnormaliz/normaliz_exception.h
-include/libnormaliz/offload_handler.h
-include/libnormaliz/options.h
 include/libnormaliz/output.h
-include/libnormaliz/project_and_lift.h
-include/libnormaliz/reduction.h
-include/libnormaliz/simplex.h
 include/libnormaliz/sublattice_representation.h
 include/libnormaliz/vector_operations.h
 include/libnormaliz/version.h
 lib/libnormaliz.a
+lib/libnormaliz.so
+lib/libnormaliz.so.3
+lib/libnormaliz.so.3.9.0
 %%PORTDOCS%%%%DOCSDIR%%/Normaliz.pdf



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108232016.17NKGwRl040114>