summaryrefslogtreecommitdiff
path: root/math/p5-Math-Random-MT-Auto
diff options
context:
space:
mode:
authorhiramatsu <hiramatsu@pkgsrc.org>2011-11-12 07:51:51 +0000
committerhiramatsu <hiramatsu@pkgsrc.org>2011-11-12 07:51:51 +0000
commit115e862f09c6ab75d32954396e2e1c78e7efcaac (patch)
tree52dd9b615dfe3e16d38a4e39ca293c9af4b83972 /math/p5-Math-Random-MT-Auto
parent05c747a5595f983854bafb8aba735ad68daa9c0f (diff)
downloadpkgsrc-115e862f09c6ab75d32954396e2e1c78e7efcaac.tar.gz
Import Math::Random::MT::Auto into math/p5-Math-Random-MT-Auto.
Recent versions of devel/p5-Object-InsideOut optionally uses this module. This module provides pseudorandom number generators (PRNGs) that are based on the Mersenne Twister algorithm. There is a functional interface to a standalone PRNG, and an OO interface (based on the inside-out object model as implemented by the Object::InsideOut module) for generating multiple PRNG objects.
Diffstat (limited to 'math/p5-Math-Random-MT-Auto')
-rw-r--r--math/p5-Math-Random-MT-Auto/DESCR5
-rw-r--r--math/p5-Math-Random-MT-Auto/Makefile24
-rw-r--r--math/p5-Math-Random-MT-Auto/distinfo5
3 files changed, 34 insertions, 0 deletions
diff --git a/math/p5-Math-Random-MT-Auto/DESCR b/math/p5-Math-Random-MT-Auto/DESCR
new file mode 100644
index 00000000000..3ef3786e5d0
--- /dev/null
+++ b/math/p5-Math-Random-MT-Auto/DESCR
@@ -0,0 +1,5 @@
+This module provides pseudorandom number generators (PRNGs) that are
+based on the Mersenne Twister algorithm. There is a functional
+interface to a standalone PRNG, and an OO interface (based on the
+inside-out object model as implemented by the Object::InsideOut
+module) for generating multiple PRNG objects.
diff --git a/math/p5-Math-Random-MT-Auto/Makefile b/math/p5-Math-Random-MT-Auto/Makefile
new file mode 100644
index 00000000000..f8de5ace111
--- /dev/null
+++ b/math/p5-Math-Random-MT-Auto/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/11/12 07:51:51 hiramatsu Exp $
+#
+
+DISTNAME= Math-Random-MT-Auto-6.16
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= math perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Math-Random-MT-Auto/
+COMMENT= Auto-seeded Mersenne Twister PRNGs
+LICENSE= modified-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= p5-Object-InsideOut>=2.06:../../devel/p5-Object-InsideOut
+DEPENDS+= p5-Exception-Class>=1.22:../../devel/p5-Exception-Class
+DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
+
+USE_LANGUAGES= c
+PERL5_PACKLIST= auto/Math/Random/MT/Auto/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/p5-Math-Random-MT-Auto/distinfo b/math/p5-Math-Random-MT-Auto/distinfo
new file mode 100644
index 00000000000..d92c0d24f52
--- /dev/null
+++ b/math/p5-Math-Random-MT-Auto/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/11/12 07:51:51 hiramatsu Exp $
+
+SHA1 (Math-Random-MT-Auto-6.16.tar.gz) = 8483fd51dfbf04b5bdf3a3033b699c170d6be02f
+RMD160 (Math-Random-MT-Auto-6.16.tar.gz) = e9811b898313b8b501cd914dcf6c4b4dbe3227ca
+Size (Math-Random-MT-Auto-6.16.tar.gz) = 133762 bytes