Files
ports/math/mpc/Makefile
Gerald Pfeifer 2d00b0167b Update to libmpc version 0.7 which brings the following changes:
- New functions: mpc_pow, mpc_set_nan, mpc_swap
 - Bug fixes:
   . log: along branch cut
   . norm: infinite loop in case of overflow
   . ui_div, div, fr_div: handling of division by 0 and infinities
     following the example code of the C99 standard
   . compilation with g++
 - Makefile.vc updated (thanks to Mickael Gastineau)
 - Changed MPC_SET_X_Y macro
 - Removed functions mpc_random and mpc_random2 (which no port uses)

Approved by:	maintainer (wen heping)
Feature safe:	yes
2009-09-26 11:41:28 +00:00

32 lines
670 B
Makefile

# New ports collection makefile for: mpc
# Date created: 05 April, 2009
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= mpc
PORTVERSION= 0.7
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.8:${PORTSDIR}/math/libgmp4 \
mpfr.3:${PORTSDIR}/math/mpfr
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gmp=${LOCALBASE} \
--with-mpfr=${LOCALBASE}
USE_LDCONFIG= yes
INFO= mpc
LATEST_LINK= math_mpc
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
.include <bsd.port.mk>