aboutsummaryrefslogtreecommitdiff
path: root/math/latte-integrale/Makefile
blob: 3fc4dd4dcb078b9ae6d355e9ee825bb54eec5f7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
PORTNAME=	latte-integrale
DISTVERSIONPREFIX=	version_
DISTVERSION=	1_7_6
PORTREVISION=	1
CATEGORIES=	math

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Software for counting lattice points/integration over convex polytopes
WWW=		https://www.math.ucdavis.edu/~latte/

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:2.69 compiler:c++11-lang gmake libtool \
		localbase:ldflags
USE_CXXSTD=	c++14
USE_GITHUB=	yes
GH_ACCOUNT=	latte-int
GH_PROJECT=	latte
USE_LDCONFIG=	yes

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-static \
		--with-topcom=${LOCALBASE} --with-4ti2=${LOCALBASE} --with-cddlib=${LOCALBASE} --with-gmp=${LOCALBASE} --with-ntl=${LOCALBASE}

CONFLICTS_INSTALL=	latte p5-Math-SigFigs schilyutils # bin/count

OPTIONS_DEFINE=	DOCS EXAMPLES

PORTDOCS=	*
PORTEXAMPLES=	*

.include <bsd.port.mk>