aboutsummaryrefslogtreecommitdiff
path: root/math/mpc/Makefile
blob: 7ee8f9c2ee7f57e46dd5d79d95204501dcf418b2 (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=	mpc
PORTVERSION=	1.3.1
PORTREVISION=	1
CATEGORIES=	math devel
MASTER_SITES=	GNU

MAINTAINER=	gerald@FreeBSD.org
COMMENT=	Library of complex numbers with arbitrarily high precision
WWW=		https://www.multiprecision.org/mpc/

LICENSE=	LGPL3+
LICENSE_FILE=	${WRKSRC}/COPYING.LESSER

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

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-gmp=${LOCALBASE} \
		--with-mpfr=${LOCALBASE}
INSTALL_TARGET=	install-strip
TEST_TARGET=	check
USES=		libtool
USE_LDCONFIG=	yes

INFO=		mpc
PLIST_FILES=	include/mpc.h \
		lib/libmpc.a lib/libmpc.so lib/libmpc.so.3 lib/libmpc.so.3.3.1

.include <bsd.port.mk>