aboutsummaryrefslogtreecommitdiffstats
path: root/math/cln/Makefile
blob: 09ea89a18f425a620ffdead35d0d7fb4dc0a35e0 (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>
# $FreeBSD$

PORTNAME=   cln
PORTVERSION=    1.3.4
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

LIB_DEPENDS=    libgmp.so:${PORTSDIR}/math/gmp

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

INFO=       cln

BROKEN_sparc64= Does not compile on sparc64

.include <bsd.port.pre.mk>

.if ${ARCH} == armv6
CPPFLAGS+=  -DNO_ASM
.endif

.include <bsd.port.post.mk>