diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-09-23 18:58:31 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-09-23 18:58:31 +0000 |
commit | 464ac149af0ce640874c95c590803925756c37a5 (patch) | |
tree | 2686c114fd2ac1314a25c07814dfc18a1a9c562e | |
parent | - Remove conditional ExtUtils::MakeMaker dependency (diff) |
- Add p5-Math-Prime-XS 0.24
Math::Prime::XS detects and calculates prime numbers by either applying Modulo
operator division, the Sieve of Eratosthenes, a Summation calculation or Trial
division.
WWW: http://search.cpan.org/dist/Math-Prime-XS/
Notes
Notes:
svn path=/head/; revision=282260
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/p5-Math-Prime-XS/Makefile | 33 | ||||
-rw-r--r-- | math/p5-Math-Prime-XS/distinfo | 2 | ||||
-rw-r--r-- | math/p5-Math-Prime-XS/pkg-descr | 5 | ||||
-rw-r--r-- | math/p5-Math-Prime-XS/pkg-plist | 9 |
5 files changed, 50 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index 447029929bb6..8337abee645b 100644 --- a/math/Makefile +++ b/math/Makefile @@ -378,6 +378,7 @@ SUBDIR += p5-Math-Polygon SUBDIR += p5-Math-Polygon-Tree SUBDIR += p5-Math-Polynomial-Solve + SUBDIR += p5-Math-Prime-XS SUBDIR += p5-Math-RPN SUBDIR += p5-Math-Random SUBDIR += p5-Math-Random-ISAAC diff --git a/math/p5-Math-Prime-XS/Makefile b/math/p5-Math-Prime-XS/Makefile new file mode 100644 index 000000000000..011d08a34ec4 --- /dev/null +++ b/math/p5-Math-Prime-XS/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: p5-Math-Prime-XS +# Date created: 2011-09-23 +# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Math-Prime-XS +PORTVERSION= 0.24 +CATEGORIES= math perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Detect and calculate prime numbers with deterministic tests + +BUILD_DEPENDS= p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate +RUN_DEPENDS= p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate + +TEST_DEPENDS= p5-Test-Pod>=1.14:${PORTSDIR}/devel/p5-Test-Pod \ + p5-Test-Pod-Coverage>=1.04:${PORTSDIR}/devel/p5-Test-Pod-Coverage + +PERL_CONFIGURE= yes + +MAN3= Math::Prime::XS.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501000 +BUILD_DEPENDS+= p5-ExtUtils-CBuilder>=0:${PORTSDIR}/devel/p5-ExtUtils-CBuilder +.endif + +.include <bsd.port.post.mk> diff --git a/math/p5-Math-Prime-XS/distinfo b/math/p5-Math-Prime-XS/distinfo new file mode 100644 index 000000000000..32a65986e50a --- /dev/null +++ b/math/p5-Math-Prime-XS/distinfo @@ -0,0 +1,2 @@ +SHA256 (Math-Prime-XS-0.24.tar.gz) = c560fd3aeeeb042395030522f0b600db71dfab677901260aef5214d2bbf60142 +SIZE (Math-Prime-XS-0.24.tar.gz) = 58649 diff --git a/math/p5-Math-Prime-XS/pkg-descr b/math/p5-Math-Prime-XS/pkg-descr new file mode 100644 index 000000000000..1007735d79b5 --- /dev/null +++ b/math/p5-Math-Prime-XS/pkg-descr @@ -0,0 +1,5 @@ +Math::Prime::XS detects and calculates prime numbers by either applying Modulo +operator division, the Sieve of Eratosthenes, a Summation calculation or Trial +division. + +WWW: http://search.cpan.org/dist/Math-Prime-XS/ diff --git a/math/p5-Math-Prime-XS/pkg-plist b/math/p5-Math-Prime-XS/pkg-plist new file mode 100644 index 000000000000..e6ed1c6f9dcc --- /dev/null +++ b/math/p5-Math-Prime-XS/pkg-plist @@ -0,0 +1,9 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/Math/Prime/XS.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Prime/XS/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Prime/XS/XS.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Prime/XS/XS.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Prime/XS +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Prime +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Math/Prime +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Math |