diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-06-22 21:29:37 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-06-22 21:29:37 +0000 |
commit | b2d1c9878a913f67fe8fb4b340b73401bf44ee24 (patch) | |
tree | 0f9f4cf2810e3ffaa4bc6a65a174536b091093f3 /math | |
parent | a8e379637c0e6565885974c16cbbc8bed99632de (diff) | |
download | ports-b2d1c9878a913f67fe8fb4b340b73401bf44ee24.tar.gz ports-b2d1c9878a913f67fe8fb4b340b73401bf44ee24.zip |
Notes
Diffstat (limited to 'math')
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/p5-Math-GMPq/Makefile | 27 | ||||
-rw-r--r-- | math/p5-Math-GMPq/distinfo | 2 | ||||
-rw-r--r-- | math/p5-Math-GMPq/pkg-descr | 11 | ||||
-rw-r--r-- | math/p5-Math-GMPq/pkg-plist | 16 |
5 files changed, 57 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index 2170b33f1ff1..8a4227c1f8ee 100644 --- a/math/Makefile +++ b/math/Makefile @@ -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 diff --git a/math/p5-Math-GMPq/Makefile b/math/p5-Math-GMPq/Makefile new file mode 100644 index 000000000000..a6fbf51a8876 --- /dev/null +++ b/math/p5-Math-GMPq/Makefile @@ -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> diff --git a/math/p5-Math-GMPq/distinfo b/math/p5-Math-GMPq/distinfo new file mode 100644 index 000000000000..a73b54b522fb --- /dev/null +++ b/math/p5-Math-GMPq/distinfo @@ -0,0 +1,2 @@ +SHA256 (Math-GMPq-0.35.tar.gz) = a6b324d26e88377f21f5ed17a6445527032d387d524fc562c0dac1076182eb70 +SIZE (Math-GMPq-0.35.tar.gz) = 31264 diff --git a/math/p5-Math-GMPq/pkg-descr b/math/p5-Math-GMPq/pkg-descr new file mode 100644 index 000000000000..4f946d0e2425 --- /dev/null +++ b/math/p5-Math-GMPq/pkg-descr @@ -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/ diff --git a/math/p5-Math-GMPq/pkg-plist b/math/p5-Math-GMPq/pkg-plist new file mode 100644 index 000000000000..e483263d547c --- /dev/null +++ b/math/p5-Math-GMPq/pkg-plist @@ -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 |