1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/math/mpc/Makefile

33 lines
768 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= mpc
PORTVERSION= 0.9
CATEGORIES= math devel
MASTER_SITES= http://www.multiprecision.org/mpc/download/
MAINTAINER= gerald@FreeBSD.org
COMMENT= Library of complex numbers with arbitrarily high precision
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp \
mpfr:${PORTSDIR}/math/mpfr
PORTSCOUT= site:http://www.multiprecision.org/index.php?prog=mpc&page=download
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gmp=${LOCALBASE} \
--with-mpfr=${LOCALBASE}
USE_LDCONFIG= yes
INFO= mpc
PLIST_FILES= include/mpc.h \
lib/libmpc.a lib/libmpc.la lib/libmpc.so lib/libmpc.so.2
LATEST_LINK= math_mpc
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
NO_STAGE= yes
.include <bsd.port.mk>