1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

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>
This commit is contained in:
Martin Wilke 2009-04-11 08:16:27 +00:00
parent c96dc494c6
commit fca026d60c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=232062
5 changed files with 49 additions and 0 deletions

View File

@ -164,6 +164,7 @@
SUBDIR += mingw32-libgmp4
SUBDIR += miracl
SUBDIR += moo
SUBDIR += mpc
SUBDIR += mpexpr
SUBDIR += mpfr
SUBDIR += mprime

29
math/mpc/Makefile Normal file
View File

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

3
math/mpc/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (mpc-0.6.tar.gz) = 6056aca24cb9891541a4ee256ab3c66a
SHA256 (mpc-0.6.tar.gz) = bb9654dea33e54d43b1ec8f83037cf91ca5e0de3499fbd2e5aa533cd375eb009
SIZE (mpc-0.6.tar.gz) = 551769

11
math/mpc/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
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/

5
math/mpc/pkg-plist Normal file
View File

@ -0,0 +1,5 @@
include/mpc.h
lib/libmpc.a
lib/libmpc.la
lib/libmpc.so
lib/libmpc.so.1