freebsd-ports/math/mpc/Makefile
Martin Wilke fca026d60c 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>
2009-04-11 08:16:27 +00:00

29 lines
647 B
Makefile

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