diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-04-11 08:16:27 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-04-11 08:16:27 +0000 |
commit | fca026d60ce67c73dce43b4be95969b0d441d4c7 (patch) | |
tree | d7a463ffdda441b317f7bde0e7516fdbd343dc43 /math/mpc/Makefile | |
parent | c96dc494c60b73ef4abf07abca35f1ed6006718f (diff) | |
download | ports-fca026d60ce67c73dce43b4be95969b0d441d4c7.tar.gz ports-fca026d60ce67c73dce43b4be95969b0d441d4c7.zip |
Mpc is a C library for the arithmetic of complex numbers with
arbitrarily high precision and correct rounding of the result.
It is built upon and follows the same principles as Mpfr. The
library is written by Andreas Enge, Philippe Theveny and Paul
Zimmermann and is distributed under the Gnu Lesser General Public
License, either version 2.1 of the license, or (at your option)
any later version. The Mpc library has been registered in France
by the Agence pour la Protection des Programmes on 2003-02-05
under the number IDDN FR 001 060029 000 R P 2003 000 10000.
WWW: http://www.multiprecision.org/
PR: ports/133395
Submitted by: Wen Heping <wenheping at gmail.com>
Notes
Notes:
svn path=/head/; revision=232062
Diffstat (limited to 'math/mpc/Makefile')
-rw-r--r-- | math/mpc/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/math/mpc/Makefile b/math/mpc/Makefile new file mode 100644 index 000000000000..a92e0dac9dc2 --- /dev/null +++ b/math/mpc/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: mpc +# Date created: 05 April, 2009 +# Whom: Wen Heping <wenheping@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= mpc +PORTVERSION= 0.6 +CATEGORIES= math devel +MASTER_SITES= http://www.multiprecision.org/mpc/download/ + +MAINTAINER= wenheping@gmail.com +COMMENT= Library of complex numbers with arbitrarily high precision + +LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 \ + mpfr.3:${PORTSDIR}/math/mpfr + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-gmp=${LOCALBASE} \ + --with-mpfr=${LOCALBASE} +USE_LDCONFIG= yes + +INFO= mpc + +regression-test: build + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check + +.include <bsd.port.mk> |