1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Add p5-Math-GMPq 0.35

Math::GMPq is a bigrational module utilising the GNU MP (GMP) library. Basically
this module simply wraps all of the mpq rational functions provided by that
library. See the Math::GMPq test suite for some examples of usage.

IMPORTANT:
If your perl was built with '-Duse64bitint' you need to assign all integers
larger than 52-bit in a 'use integer;' block. Failure to do so can result in the
creation of the variable as an NV (rather than an IV) - with a resultant loss of
precision.

WWW: http://search.cpan.org/dist/Math-GMPq/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-06-22 21:29:37 +00:00
parent a8e379637c
commit b2d1c9878a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299793
5 changed files with 57 additions and 0 deletions

View File

@ -392,6 +392,7 @@
SUBDIR += p5-Math-FixedPrecision
SUBDIR += p5-Math-GMP
SUBDIR += p5-Math-GMPf
SUBDIR += p5-Math-GMPq
SUBDIR += p5-Math-GSL
SUBDIR += p5-Math-Geometry
SUBDIR += p5-Math-Geometry-Planar

View File

@ -0,0 +1,27 @@
# New ports collection makefile for: p5-Math-GMPq
# Date created: 2011-11-30
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Math-GMPq
PORTVERSION= 0.35
CATEGORIES= math perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:SISYPHUS
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Perl interface to the GMP library rational (mpq) functions
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp
TEST_DEPENDS= p5-Math-GMP>=0:${PORTSDIR}/math/p5-Math-GMP \
p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
CONFIGURE_ARGS= INC=-I${LOCALBASE}/include LIBS="-L${LOCALBASE}/lib -lgmp"
PERL_CONFIGURE= yes
MAN3= Math::GMPq.3
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Math-GMPq-0.35.tar.gz) = a6b324d26e88377f21f5ed17a6445527032d387d524fc562c0dac1076182eb70
SIZE (Math-GMPq-0.35.tar.gz) = 31264

View File

@ -0,0 +1,11 @@
Math::GMPq is a bigrational module utilising the GNU MP (GMP) library. Basically
this module simply wraps all of the mpq rational functions provided by that
library. See the Math::GMPq test suite for some examples of usage.
IMPORTANT:
If your perl was built with '-Duse64bitint' you need to assign all integers
larger than 52-bit in a 'use integer;' block. Failure to do so can result in the
creation of the variable as an NV (rather than an IV) - with a resultant loss of
precision.
WWW: http://search.cpan.org/dist/Math-GMPq/

View File

@ -0,0 +1,16 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Math/GMPq.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Math/GMPq/Random.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Math/GMPq/V.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/GMPq/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/GMPq/GMPq.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/GMPq/GMPq.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/GMPq/Random/Random.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/GMPq/Random/Random.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/GMPq/V/V.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/GMPq/V/V.so
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/GMPq/V
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/GMPq/Random
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/GMPq
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Math/GMPq
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Math