# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD: tags/RELEASE_11_0_0/math/cln/Makefile 412348 2016-04-01 14:16:16Z mat $

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: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>
