Index: head/math/libnormaliz/Makefile =================================================================== --- head/math/libnormaliz/Makefile (revision 556954) +++ head/math/libnormaliz/Makefile (revision 556955) @@ -1,61 +1,72 @@ # $FreeBSD$ +# PORTNAME block PORTNAME= libnormaliz -DISTVERSION= 3.8.7 +DISTVERSION= 3.8.9 CATEGORIES= math MASTER_SITES= https://github.com/Normaliz/Normaliz/releases/download/v${PORTVERSION}/ DISTNAME= normaliz-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org -COMMENT= Computations in affin monoids, vector configurations etc +# MAINTAINER block +MAINTAINER= moritz@schmi.tt +COMMENT= Compute Hilbert bases and enumerative data of rational polyhedra +# LICENSE block LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING +# Dependencies block BUILD_DEPENDS= ${LOCALBASE}/include/gmpxx.h:math/gmp +# USES block USES= autoreconf compiler:c++11-lang gmake libtool -BUILD_WRKSRC= ${WRKSRC}/source/libnormaliz -INSTALL_WRKSRC= ${WRKSRC}/source/libnormaliz - -CXXFLAGS+= -I ${LOCALBASE}/include \ - -I ${WRKSRC}/source -MAKEFILE= Makefile.classic +# bsd.ports.mk block GNU_CONFIGURE= yes +MAKEFILE= Makefile.classic + +CXXFLAGS+= -I ${LOCALBASE}/include -I ${WRKSRC}/source LDFLAGS+= -L${LOCALBASE}/lib +BUILD_WRKSRC= ${WRKSRC}/source/libnormaliz +INSTALL_WRKSRC= ${WRKSRC}/source/libnormaliz + +# Options block OPTIONS_DEFINE= COCOA DOCS FLINT OPENMP + COCOA_DESC= Link with libcocoa.a (might cause circular dependency) +FLINT_DESC= Link with libflint.so + COCOA_BUILD_DEPENDS= ${LOCALBASE}/lib/libcocoa.a:math/cocoalib COCOA_CONFIGURE_WITH= cocoalib -FLINT_DESC= Link with libflint.so + FLINT_LIB_DEPENDS= libflint.so:math/flint2 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} \ cone.h \ cone_property.h \ general.h \ HilbertSeries.h \ integer.h \ libnormaliz.h \ matrix.h \ my_omp.h \ normaliz_exception.h \ sublattice_representation.h \ vector_operations.h \ version.h \ nmz_integrate.h \ ${STAGEDIR}${PREFIX}/include/libnormaliz post-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/doc/Normaliz.pdf ${STAGEDIR}${DOCSDIR} .include Index: head/math/libnormaliz/distinfo =================================================================== --- head/math/libnormaliz/distinfo (revision 556954) +++ head/math/libnormaliz/distinfo (revision 556955) @@ -1,3 +1,3 @@ -TIMESTAMP = 1596653331 -SHA256 (normaliz-3.8.7.tar.gz) = b73b6c78364f6ff5dce4dae75d9cc8ebfd63f6e5b8df2989a61d614414826401 -SIZE (normaliz-3.8.7.tar.gz) = 4542479 +TIMESTAMP = 1606931344 +SHA256 (normaliz-3.8.9.tar.gz) = a4c3eda39ffe42120adfd3bda9433b01d9965516e3f98e401b62752a54bee5dd +SIZE (normaliz-3.8.9.tar.gz) = 4558110 Index: head/math/libnormaliz/pkg-descr =================================================================== --- head/math/libnormaliz/pkg-descr (revision 556954) +++ head/math/libnormaliz/pkg-descr (revision 556955) @@ -1,18 +1,4 @@ Normaliz is an open source tool for computations in affine monoids, vector configurations, lattice polytopes, and rational cones. -Computation goals: -- convex hulls and dual cones; -- conversion from generators to constraints and vice versa; -- projections of cones and polyhedra; -- triangulations, disjoint decompositions and Stanley decompositions; -- Hilbert basis of rational, not necessarily pointed cones; -- normalization of affine monoids; -- lattice points of rational polytopes and (unbounded) polyhedra; -- Euclidean and lattice normalized volumes of polytopes; -- Hilbert (or Ehrhart) series and (quasi) polynomials under Z-gradings -(for example, for rational polytopes); -- generalized (or weighted) Ehrhart series and Lebesgue integrals of -polynomials over rational polytopes. - WWW: https://www.normaliz.uni-osnabrueck.de Index: head/math/libnormaliz/pkg-plist =================================================================== --- head/math/libnormaliz/pkg-plist (revision 556954) +++ head/math/libnormaliz/pkg-plist (revision 556955) @@ -1,15 +1,15 @@ +%%PORTDOCS%%%%DOCSDIR%%/Normaliz.pdf include/libnormaliz/HilbertSeries.h include/libnormaliz/cone.h include/libnormaliz/cone_property.h include/libnormaliz/general.h include/libnormaliz/integer.h include/libnormaliz/libnormaliz.h include/libnormaliz/matrix.h include/libnormaliz/my_omp.h include/libnormaliz/nmz_integrate.h include/libnormaliz/normaliz_exception.h include/libnormaliz/sublattice_representation.h include/libnormaliz/vector_operations.h include/libnormaliz/version.h lib/libnormaliz.a -%%PORTDOCS%%%%DOCSDIR%%/Normaliz.pdf