Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2014 14:23:12 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361925 - in head/math: . mpir
Message-ID:  <201407151423.s6FENCsP096546@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Tue Jul 15 14:23:11 2014
New Revision: 361925
URL: http://svnweb.freebsd.org/changeset/ports/361925
QAT: https://qat.redports.org/buildarchive/r361925/

Log:
  New port: math/mpir
  
  MPIR is an open source multiprecision integer (bignum) library forked from the
  GMP (GNU Multi Precision) project. It consists of much code from past GMP
  releases, in combination with much original contributed code.
  
  MPIR is constructed by a developer and vendor friendly community of
  professional and amateur mathematicians, computer scientists and hobbyists.
  
  WWW: http://www.mpir.org

Added:
  head/math/mpir/
  head/math/mpir/Makefile   (contents, props changed)
  head/math/mpir/distinfo   (contents, props changed)
  head/math/mpir/pkg-descr   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Tue Jul 15 14:21:30 2014	(r361924)
+++ head/math/Makefile	Tue Jul 15 14:23:11 2014	(r361925)
@@ -258,6 +258,7 @@
     SUBDIR += mpc
     SUBDIR += mpexpr
     SUBDIR += mpfr
+    SUBDIR += mpir
     SUBDIR += mprime
     SUBDIR += msieve
     SUBDIR += mtl

Added: head/math/mpir/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/mpir/Makefile	Tue Jul 15 14:23:11 2014	(r361925)
@@ -0,0 +1,45 @@
+# Created by: gahr
+# $FreeBSD$
+
+PORTNAME=	mpir
+DISTVERSION=	2.7.0-alpha9
+CATEGORIES=	math
+MASTER_SITES=	http://www.mpir.org/
+
+MAINTAINER=	gahr@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
+
+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>

Added: head/math/mpir/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/mpir/distinfo	Tue Jul 15 14:23:11 2014	(r361925)
@@ -0,0 +1,2 @@
+SHA256 (mpir-2.7.0-alpha9.tar.bz2) = f8ede4d3422b39d0182042289cefab97f9bcaf7608e97e6c10fc09060b8e9bc7
+SIZE (mpir-2.7.0-alpha9.tar.bz2) = 3578569

Added: head/math/mpir/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/mpir/pkg-descr	Tue Jul 15 14:23:11 2014	(r361925)
@@ -0,0 +1,8 @@
+MPIR is an open source multiprecision integer (bignum) library forked from the
+GMP (GNU Multi Precision) project. It consists of much code from past GMP
+releases, in combination with much original contributed code.
+
+MPIR is constructed by a developer and vendor friendly community of
+professional and amateur mathematicians, computer scientists and hobbyists.
+
+WWW: http://www.mpir.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407151423.s6FENCsP096546>