Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2018 05:57:36 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486735 - in head: math math/latte-integrale math/latte-integrale/files science/latte
Message-ID:  <201812060557.wB65va3T091077@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Dec  6 05:57:36 2018
New Revision: 486735
URL: https://svnweb.freebsd.org/changeset/ports/486735

Log:
  New port: math/latte-integrale: Software for counting lattice points/integration over convex polytopes

Added:
  head/math/latte-integrale/
  head/math/latte-integrale/Makefile   (contents, props changed)
  head/math/latte-integrale/distinfo   (contents, props changed)
  head/math/latte-integrale/files/
  head/math/latte-integrale/files/patch-EXAMPLES_Makefile.am   (contents, props changed)
  head/math/latte-integrale/files/patch-Makefile.am   (contents, props changed)
  head/math/latte-integrale/files/patch-code_maple_Makefile.am   (contents, props changed)
  head/math/latte-integrale/files/patch-configure.ac   (contents, props changed)
  head/math/latte-integrale/files/patch-doc_Makefile.am   (contents, props changed)
  head/math/latte-integrale/pkg-descr   (contents, props changed)
  head/math/latte-integrale/pkg-plist   (contents, props changed)
Modified:
  head/math/Makefile
  head/science/latte/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Thu Dec  6 05:44:13 2018	(r486734)
+++ head/math/Makefile	Thu Dec  6 05:57:36 2018	(r486735)
@@ -306,6 +306,7 @@
     SUBDIR += kmplot
     SUBDIR += kmplot-kde4
     SUBDIR += labplot
+    SUBDIR += latte-integrale
     SUBDIR += lambda
     SUBDIR += lapack
     SUBDIR += lapack++

Added: head/math/latte-integrale/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/latte-integrale/Makefile	Thu Dec  6 05:57:36 2018	(r486735)
@@ -0,0 +1,39 @@
+# $FreeBSD$
+
+PORTNAME=	latte-integrale
+DISTVERSIONPREFIX=	version_
+DISTVERSION=	1_7_5
+CATEGORIES=	math
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Software for counting lattice points/integration over convex polytopes
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	lrs:math/lrslib \
+		points2triangs:math/topcom
+LIB_DEPENDS=	lib4ti2util.so:math/4ti2 \
+		libcddgmp.so:math/cddlib \
+		libgmp.so:math/gmp \
+		libntl.so:math/ntl
+RUN_DEPENDS=	lrs:math/lrslib \
+		points2triangs:math/topcom
+
+USES=		autoreconf gmake libtool localbase:ldflags
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--disable-static \
+		--with-topcom=${LOCALBASE} --with-4ti2=${LOCALBASE} --with-cddlib=${LOCALBASE} --with-gmp=${LOCALBASE} --with-ntl=${LOCALBASE}
+USE_GITHUB=	yes
+GH_ACCOUNT=	latte-int
+GH_PROJECT=	latte
+USE_LDCONFIG=	yes
+
+CONFLICTS_INSTALL=	latte
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+PORTDOCS=	*
+PORTEXAMPLES=	*
+
+.include <bsd.port.mk>

Added: head/math/latte-integrale/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/latte-integrale/distinfo	Thu Dec  6 05:57:36 2018	(r486735)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1543993357
+SHA256 (latte-int-latte-version_1_7_5_GH0.tar.gz) = 3da7cff7e451a12b29f5df28456367f66cd0092437e88aca5e61cc3f13eaa91c
+SIZE (latte-int-latte-version_1_7_5_GH0.tar.gz) = 9772961

Added: head/math/latte-integrale/files/patch-EXAMPLES_Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/latte-integrale/files/patch-EXAMPLES_Makefile.am	Thu Dec  6 05:57:36 2018	(r486735)
@@ -0,0 +1,9 @@
+--- EXAMPLES/Makefile.am.orig	2018-12-05 08:27:21 UTC
++++ EXAMPLES/Makefile.am
+@@ -1,5 +1,5 @@
+ 
+-examplesdir = $(pkgdatadir)/examples
++examplesdir = $(prefix)/share/examples/latte-integrale
+ 
+ # Install and distribute these examples.
+ # Without "nobase" the directories would be flattened 

Added: head/math/latte-integrale/files/patch-Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/latte-integrale/files/patch-Makefile.am	Thu Dec  6 05:57:36 2018	(r486735)
@@ -0,0 +1,14 @@
+--- Makefile.am.orig	2018-12-05 08:20:55 UTC
++++ Makefile.am
+@@ -2,9 +2,9 @@ ACLOCAL_AMFLAGS = -I m4 -I m4/gnulib
+ 
+ SUBDIRS = code EXAMPLES doc
+ 
+-docdir = $(pkgdatadir)/doc
++docdir = ${prefix}/share/doc/latte-integrale
+ 
+-dist_doc_DATA = NEWS README
++dist_doc_DATA = # NEWS README
+ 
+ 
+ cvstag:

Added: head/math/latte-integrale/files/patch-code_maple_Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/latte-integrale/files/patch-code_maple_Makefile.am	Thu Dec  6 05:57:36 2018	(r486735)
@@ -0,0 +1,8 @@
+--- code/maple/Makefile.am.orig	2018-12-05 22:17:29 UTC
++++ code/maple/Makefile.am
+@@ -1,4 +1,4 @@
+-nobase_dist_pkgdata_DATA = 											\
++#nobase_dist_pkgdata_DATA = 											\
+ 	Conebyconeapproximations_08_11_2010.mpl RealBarvinok-mars-exemples-2014-03-10.mpl m-knapsack.mpl	\
+ 	README
+ 

Added: head/math/latte-integrale/files/patch-configure.ac
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/latte-integrale/files/patch-configure.ac	Thu Dec  6 05:57:36 2018	(r486735)
@@ -0,0 +1,11 @@
+--- configure.ac.orig	2018-12-05 08:19:48 UTC
++++ configure.ac
+@@ -2,7 +2,7 @@
+ # Process this file with autoconf to produce a configure script.
+ 
+ AC_PREREQ(2.59)
+-AC_INIT(latte-int, 1.7.5)
++AC_INIT(latte-integrale, 1.7.5)
+ AC_CONFIG_MACRO_DIR([m4])
+ AC_CONFIG_HEADERS([code/config.h:code/config.hin])
+ AM_INIT_AUTOMAKE([gnu 1.11])  # Need 1.11 for parallel test harness in code/maple

Added: head/math/latte-integrale/files/patch-doc_Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/latte-integrale/files/patch-doc_Makefile.am	Thu Dec  6 05:57:36 2018	(r486735)
@@ -0,0 +1,8 @@
+--- doc/Makefile.am.orig	2018-12-05 22:18:20 UTC
++++ doc/Makefile.am
+@@ -1,4 +1,4 @@
+-docdir = $(pkgdatadir)/doc
++docdir = $(prefix)/share/doc/latte-integrale
+ 
+ doc_DATA = manual.pdf
+ 

Added: head/math/latte-integrale/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/latte-integrale/pkg-descr	Thu Dec  6 05:57:36 2018	(r486735)
@@ -0,0 +1,12 @@
+LattE (Lattice point Enumeration) is a computer software dedicated to the
+problems of counting lattice points and integration inside convex polytopes.
+LattE contains the first ever implementation of Barvinok's algorithm. The LattE
+macchiato version (by M. Koppe) incorporated fundamental improvements and
+speedups.
+
+LattE integrale, the latest version, has the ability to directly compute
+integrals of polynomial functions over polytopes and in particular to do exact
+volume computations. Version 1.6 adds the capability of computing the highest
+coefficients of weighted Ehrhart quasipolynomials.
+
+WWW: https://www.math.ucdavis.edu/~latte/

Added: head/math/latte-integrale/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/latte-integrale/pkg-plist	Thu Dec  6 05:57:36 2018	(r486735)
@@ -0,0 +1,25 @@
+bin/ConvertCDDextToLatte
+bin/ConvertCDDineToLatte
+bin/count
+bin/count-linear-forms-from-polynomial
+bin/ehrhart
+bin/ehrhart3
+bin/hilbert-from-rays
+bin/hilbert-from-rays-symm
+bin/integrate
+bin/latte-maximize
+bin/latte-minimize
+bin/latte2ext
+bin/latte2ine
+bin/polyhedron-to-cones
+bin/top-ehrhart-knapsack
+bin/triangulate
+lib/liblatte.so
+lib/liblatte.so.0
+lib/liblatte.so.0.0.0
+lib/libnormalize.so
+lib/libnormalize.so.0
+lib/libnormalize.so.0.0.0
+%%DATADIR%%/simplify.add
+%%DATADIR%%/simplify2.add
+%%DATADIR%%/simplify3.add

Modified: head/science/latte/Makefile
==============================================================================
--- head/science/latte/Makefile	Thu Dec  6 05:44:13 2018	(r486734)
+++ head/science/latte/Makefile	Thu Dec  6 05:57:36 2018	(r486735)
@@ -41,4 +41,6 @@ MPI_PLIST_FILES_OFF=	bin/LATTE_DOUBLE
 
 PLIST_FILES=	lib/liblatte.so
 
+CONFLICTS_INSTALL=	latte-integrale
+
 .include <bsd.port.mk>



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