1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Add math/p5-Math-BigInt-GMP, a backend for the Math::BigInt module that

uses the C libgmp library for fast bignum computations.

Reviewed by:	tobez
This commit is contained in:
Maxime Henrion 2007-02-10 14:38:16 +00:00
parent 579fa0c27b
commit 27c870c2ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=184781
5 changed files with 49 additions and 0 deletions

View File

@ -189,6 +189,7 @@
SUBDIR += p5-Math-Bezier
SUBDIR += p5-Math-Bezier-Convert
SUBDIR += p5-Math-BigInt
SUBDIR += p5-Math-BigInt-GMP
SUBDIR += p5-Math-BigRat
SUBDIR += p5-Math-Calc-Units
SUBDIR += p5-Math-Cephes

View File

@ -0,0 +1,27 @@
# New ports collection makefile for: math/p5-Math-BigInt-GMP
# Date created: 7 February 2007
# Whom: Maxime Henrion <mux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Math-BigInt-GMP
PORTVERSION= 1.19
CATEGORIES= math perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Math
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Math::BigInt::GMP - Use the GMP library for Math::BigInt routines
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
BUILD_DEPENDS= p5-Math-BigInt>=1.78:${PORTSDIR}/math/p5-Math-BigInt
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
CONFIGURE_ARGS+= INC="-I${LOCALBASE}/include"
MAN3= Math::BigInt::GMP.3
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (Math-BigInt-GMP-1.19.tar.gz) = a965d3b30abf0f85b64d943f0688e87c
SHA256 (Math-BigInt-GMP-1.19.tar.gz) = bd7dd4d74988e94d6487fd9363720d882e7e02bbb88be0341b11251f2f35baae
SIZE (Math-BigInt-GMP-1.19.tar.gz) = 37602

View File

@ -0,0 +1,9 @@
Math::BigInt::GMP - Use the GMP library for Math::BigInt routines.
Provides support for big integer calculations via means of the GMP c-library.
Math::BigInt::GMP now no longer uses Math::GMP, but provides its own XS layer
to access the GMP c-library. This cuts out another (perl sub routine) layer and
also reduces the memory footprint by not loading Math::GMP and Carp at all.
WWW: http://search.cpan.org/dist/Math-BigInt-GMP/

View File

@ -0,0 +1,9 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Math/BigInt/GMP.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BigInt/GMP/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BigInt/GMP/GMP.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BigInt/GMP/GMP.so
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BigInt/GMP
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BigInt
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Math/BigInt
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Math