aboutsummaryrefslogtreecommitdiff
path: root/math/antic/Makefile
blob: 8ec98f8600fadf79d8baf944f28c3cb71d1d4160 (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
PORTNAME=	antic
DISTVERSIONPREFIX=	v
DISTVERSION=	0.2.5
PORTREVISION=	1
PORTEPOCH=	1
CATEGORIES=	math

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Algebraic Number Theory In C
WWW=		https://github.com/wbhart/antic

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/gpl-2.0.txt

LIB_DEPENDS=	libflint.so:math/flint2 \
		libgmp.so:math/gmp \
		libmpfr.so:math/mpfr

USES=		cmake:testing
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	wbhart

PLIST_FILES=	include/antic/nf.h \
		include/antic/nf_elem.h \
		include/antic/qfb.h \
		lib/libantic.so \
		lib/libantic.so.0 \
		lib/libantic.so.0.2.5

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

.include <bsd.port.mk>