1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/math/mpir/Makefile
2014-12-10 22:29:14 +00:00

48 lines
1020 B
Makefile

# Created by: gahr
# $FreeBSD$
PORTNAME= mpir
DISTVERSION= 2.7.0-alpha12
CATEGORIES= math
MASTER_SITES= http://www.mpir.org/
MAINTAINER= ports@FreeBSD.org
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
INFO= mpir
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>