mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
5ad4d67e17
- Use MAKE_CMD
33 lines
818 B
Makefile
33 lines
818 B
Makefile
# Created by: Wen Heping <wenheping@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mpc
|
|
PORTVERSION= 1.0.2
|
|
PORTREVISION= 1
|
|
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= libgmp.so:${PORTSDIR}/math/gmp \
|
|
libmpfr.so:${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}
|
|
INSTALL_TARGET= install-strip
|
|
USES= libtool
|
|
USE_LDCONFIG= yes
|
|
|
|
INFO= mpc
|
|
PLIST_FILES= include/mpc.h \
|
|
lib/libmpc.a lib/libmpc.so lib/libmpc.so.3 lib/libmpc.so.3.0.0
|
|
|
|
regression-test: build
|
|
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check)
|
|
|
|
.include <bsd.port.mk>
|