aboutsummaryrefslogtreecommitdiffstats
path: root/math/apron/Makefile
blob: 5c42d1608e31c493ab539db600bf0f063eceb63b (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
PORTNAME=	apron
DISTVERSIONPREFIX=	v
DISTVERSION=	0.9.15
CATEGORIES=	math

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	APRON numerical abstract domain library
WWW=		https://antoinemine.github.io/Apron/doc/ \
		https://github.com/antoinemine/apron

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libglpk.so:math/glpk \
		libgmp.so:math/gmp \
		libmpfr.so:math/mpfr \
		libppl.so:devel/ppl

USES=		gmake localbase:ldflags
USE_CXXSTD=	c++14
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	antoinemine

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	-prefix ${STAGEDIR}${PREFIX} -no-ocaml -no-java

post-stage:
	  @${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/lib*.so

.include <bsd.port.mk>