diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2018-09-11 04:25:41 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2018-09-11 04:25:41 +0800 |
commit | aa03a2e4505d6779ccd62521b1a1cf809a13d42c (patch) | |
tree | 2be337be96b809a5e52a3143fc135c52228456f5 | |
parent | 1523878356f9abf2dfe618a53ca2370a2ae041d4 (diff) | |
download | freebsd-ports-gnome-aa03a2e4505d6779ccd62521b1a1cf809a13d42c.tar.gz freebsd-ports-gnome-aa03a2e4505d6779ccd62521b1a1cf809a13d42c.tar.zst freebsd-ports-gnome-aa03a2e4505d6779ccd62521b1a1cf809a13d42c.zip |
Add p5-Math-Prime-Util 0.71
Math::Prime::Util is a module for number theory in Perl. This includes prime
sieving, primality tests, primality proofs, integer factoring, counts / bounds /
approximations for primes, nth primes, and twin primes, random prime generation,
and much more.
WWW: https://metacpan.org/release/Math-Prime-Util
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/p5-Math-Prime-Util/Makefile | 27 | ||||
-rw-r--r-- | math/p5-Math-Prime-Util/distinfo | 3 | ||||
-rw-r--r-- | math/p5-Math-Prime-Util/pkg-descr | 6 | ||||
-rw-r--r-- | math/p5-Math-Prime-Util/pkg-plist | 31 |
5 files changed, 68 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index ffc16c95c09e..7ffbc0692547 100644 --- a/math/Makefile +++ b/math/Makefile @@ -545,6 +545,7 @@ SUBDIR += p5-Math-Polygon SUBDIR += p5-Math-Polygon-Tree SUBDIR += p5-Math-Polynomial-Solve + SUBDIR += p5-Math-Prime-Util SUBDIR += p5-Math-Prime-XS SUBDIR += p5-Math-ProvablePrime SUBDIR += p5-Math-RPN diff --git a/math/p5-Math-Prime-Util/Makefile b/math/p5-Math-Prime-Util/Makefile new file mode 100644 index 000000000000..61a4563a32d4 --- /dev/null +++ b/math/p5-Math-Prime-Util/Makefile @@ -0,0 +1,27 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Math-Prime-Util +PORTVERSION= 0.71 +CATEGORIES= math perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Utilities related to prime numbers, including fast sieves and factoring + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +LIB_DEPENDS= libgmp.so:math/gmp +RUN_DEPENDS= p5-Math-Prime-Util-GMP>=0.50:math/p5-Math-Prime-Util-GMP + +USES= perl5 +USE_PERL5= configure + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/Prime/Util/Util.so + +.include <bsd.port.mk> diff --git a/math/p5-Math-Prime-Util/distinfo b/math/p5-Math-Prime-Util/distinfo new file mode 100644 index 000000000000..7b88dc987fd4 --- /dev/null +++ b/math/p5-Math-Prime-Util/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1536594844 +SHA256 (Math-Prime-Util-0.71.tar.gz) = 8ae2c4df866fa7bdad614e086f3c888258787f4d1b62382afe13e6256f0e8043 +SIZE (Math-Prime-Util-0.71.tar.gz) = 599678 diff --git a/math/p5-Math-Prime-Util/pkg-descr b/math/p5-Math-Prime-Util/pkg-descr new file mode 100644 index 000000000000..f039cb815a27 --- /dev/null +++ b/math/p5-Math-Prime-Util/pkg-descr @@ -0,0 +1,6 @@ +Math::Prime::Util is a module for number theory in Perl. This includes prime +sieving, primality tests, primality proofs, integer factoring, counts / bounds / +approximations for primes, nth primes, and twin primes, random prime generation, +and much more. + +WWW: https://metacpan.org/release/Math-Prime-Util diff --git a/math/p5-Math-Prime-Util/pkg-plist b/math/p5-Math-Prime-Util/pkg-plist new file mode 100644 index 000000000000..d80b9d0e527b --- /dev/null +++ b/math/p5-Math-Prime-Util/pkg-plist @@ -0,0 +1,31 @@ +bin/factor.pl +bin/primes.pl +%%SITE_ARCH%%/Math/Prime/Util.pm +%%SITE_ARCH%%/Math/Prime/Util/ChaCha.pm +%%SITE_ARCH%%/Math/Prime/Util/ECAffinePoint.pm +%%SITE_ARCH%%/Math/Prime/Util/ECProjectivePoint.pm +%%SITE_ARCH%%/Math/Prime/Util/Entropy.pm +%%SITE_ARCH%%/Math/Prime/Util/MemFree.pm +%%SITE_ARCH%%/Math/Prime/Util/PP.pm +%%SITE_ARCH%%/Math/Prime/Util/PPFE.pm +%%SITE_ARCH%%/Math/Prime/Util/PrimalityProving.pm +%%SITE_ARCH%%/Math/Prime/Util/PrimeArray.pm +%%SITE_ARCH%%/Math/Prime/Util/PrimeIterator.pm +%%SITE_ARCH%%/Math/Prime/Util/RandomPrimes.pm +%%SITE_ARCH%%/Math/Prime/Util/ZetaBigFloat.pm +%%SITE_ARCH%%/auto/Math/Prime/Util/Util.so +%%SITE_ARCH%%/ntheory.pm +%%PERL5_MAN3%%/Math::Prime::Util.3.gz +%%PERL5_MAN3%%/Math::Prime::Util::ChaCha.3.gz +%%PERL5_MAN3%%/Math::Prime::Util::ECAffinePoint.3.gz +%%PERL5_MAN3%%/Math::Prime::Util::ECProjectivePoint.3.gz +%%PERL5_MAN3%%/Math::Prime::Util::Entropy.3.gz +%%PERL5_MAN3%%/Math::Prime::Util::MemFree.3.gz +%%PERL5_MAN3%%/Math::Prime::Util::PP.3.gz +%%PERL5_MAN3%%/Math::Prime::Util::PPFE.3.gz +%%PERL5_MAN3%%/Math::Prime::Util::PrimalityProving.3.gz +%%PERL5_MAN3%%/Math::Prime::Util::PrimeArray.3.gz +%%PERL5_MAN3%%/Math::Prime::Util::PrimeIterator.3.gz +%%PERL5_MAN3%%/Math::Prime::Util::RandomPrimes.3.gz +%%PERL5_MAN3%%/Math::Prime::Util::ZetaBigFloat.3.gz +%%PERL5_MAN3%%/ntheory.3.gz |