2014-07-15 16:23:11 +02:00
|
|
|
# Created by: gahr
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mpir
|
2014-10-07 12:06:22 +02:00
|
|
|
DISTVERSION= 2.7.0-alpha12
|
2014-07-15 16:23:11 +02:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= http://www.mpir.org/
|
|
|
|
|
2014-12-10 23:29:14 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-07-15 16:23:11 +02:00
|
|
|
COMMENT= Multiprecision integer library
|
|
|
|
|
|
|
|
LICENSE= LGPL3
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
|
|
|
|
|
|
|
|
USES= libtool tar:bzip2
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+=--enable-cxx
|
|
|
|
INSTALL_TARGET+=install-strip
|
|
|
|
|
|
|
|
MPIR_VERSION= 10.6.0
|
|
|
|
MPIRXX_VERSION= 4.4.0
|
|
|
|
|
2014-07-29 12:33:53 +02:00
|
|
|
INFO= mpir
|
|
|
|
|
2014-07-15 16:23:11 +02:00
|
|
|
PLIST_FILES= include/mpir.h \
|
|
|
|
include/mpirxx.h \
|
|
|
|
lib/libmpir.a \
|
|
|
|
lib/libmpir.so \
|
|
|
|
lib/libmpir.so.${MPIR_VERSION} \
|
|
|
|
lib/libmpir.so.${MPIR_VERSION:R:R} \
|
|
|
|
lib/libmpirxx.a \
|
|
|
|
lib/libmpirxx.so \
|
|
|
|
lib/libmpirxx.so.${MPIRXX_VERSION} \
|
|
|
|
lib/libmpirxx.so.${MPIRXX_VERSION:R:R}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${LN} -sf libmpir.so.${MPIR_VERSION} \
|
|
|
|
${STAGEDIR}${PREFIX}/lib/libmpir.so.${MPIR_VERSION:R:R}
|
|
|
|
${LN} -sf libmpirxx.so.${MPIRXX_VERSION} \
|
|
|
|
${STAGEDIR}${PREFIX}/lib/libmpirxx.so.${MPIRXX_VERSION:R:R}
|
|
|
|
|
|
|
|
regression-test:
|
|
|
|
${MAKE} -C ${WRKSRC} check
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|