aboutsummaryrefslogtreecommitdiff
path: root/math/cln/Makefile
blob: d66381a41000441ae3be63440452c330a8102821 (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
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>

PORTNAME=	cln
PORTVERSION=	1.3.6
CATEGORIES=	math devel
MASTER_SITES=	http://www.ginac.de/CLN/ \
		http://www.mirrors.wiretapped.net/security/cryptography/libraries/math/cln/ \
		ftp://ftpthep.physik.uni-mainz.de/pub/gnu/

MAINTAINER=	wen@FreeBSD.org
COMMENT=	Class Library for Numbers

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libgmp.so:math/gmp

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-gmp=${LOCALBASE}
INSTALL_TARGET=	install-strip
TEST_TARGET=	check
USES=		compiler:c11 gmake libtool pathfix pkgconfig tar:bzip2
USE_LDCONFIG=	yes

INFO=		cln

CPPFLAGS+=	${CPPFLAGS_${ARCH}}
CPPFLAGS_aarch64=	-DNO_ASM
CPPFLAGS_armv6=	-DNO_ASM
CPPFLAGS_armv7=	-DNO_ASM

.include <bsd.port.mk>