summaryrefslogtreecommitdiff
path: root/math/calcium/Makefile
blob: 6bada3a1b738219a269cf5ff4b75e9b81c9c7196 (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=	calcium
DISTVERSION=	0.4.1
PORTREVISION=	1
CATEGORIES=	math

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Exact real and complex numbers in C
WWW=		https://fredrikj.net/calcium/

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libantic.so:math/antic \
		libarb.so:math/arb \
		libflint.so:math/flint2 \
		libgmp.so:math/gmp \
		libmpfr.so:math/mpfr

USES=		gmake
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	fredrik-johansson

GNU_CONFIGURE=	yes

TEST_TARGET=	tests # only builds tests and doesn't run them, see https://github.com/fredrik-johansson/calcium/issues/41

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcalcium.so.${DISTVERSION}

.include <bsd.port.mk>