aboutsummaryrefslogtreecommitdiff
path: root/math/eclib/Makefile
blob: a7a4f9140d20dd176aa1a9df2d7907057a061c63 (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
PORTNAME=	eclib
PORTVERSION=	20210625
PORTREVISION=	2
CATEGORIES=	math

MAINTAINER=	thierry@FreeBSD.org
COMMENT=	C++ library for arithmetic on elliptic curves

LICENSE=	GPLv2

LIB_DEPENDS=	libntl.so:math/ntl		\
		libpari.so:math/pari		\
		libflint.so:math/flint2		\
		libboost_thread.so:devel/boost-libs

USE_GITHUB=	yes
GH_ACCOUNT=	JohnCremona

USES=		autoreconf compiler:c++11-lang libtool localbase

OPTIONS_DEFINE=	DOCS

LIBS+=		"-lm"
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-flint=${LOCALBASE} --with-boost=${LOCALBASE}
INSTALL_TARGET=	install-strip
USE_LDCONFIG=	yes

.include <bsd.port.mk>