summaryrefslogtreecommitdiff
path: root/math/p5-Math-Random-OO
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2006-07-25 20:59:17 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2006-07-25 20:59:17 +0000
commitf0651923dc4b7159d0914139c73a116548df40ee (patch)
tree6021bd01dc7586f1f69bcf2551da007c1c04cd01 /math/p5-Math-Random-OO
parentAdd p5-Test-MockRandom 0.99, replaces random number generation with (diff)
Add p5-Math-Random-OO 0.19, consistent object-oriented interface for
generating random numbers. PR: 100751 Submitted by: Jin-Shan Tseng <tjs at cdpa.nsysu.edu.tw>
Notes
Notes: svn path=/head/; revision=168753
Diffstat (limited to 'math/p5-Math-Random-OO')
-rw-r--r--math/p5-Math-Random-OO/Makefile37
-rw-r--r--math/p5-Math-Random-OO/distinfo3
-rw-r--r--math/p5-Math-Random-OO/pkg-descr5
-rw-r--r--math/p5-Math-Random-OO/pkg-plist12
4 files changed, 57 insertions, 0 deletions
diff --git a/math/p5-Math-Random-OO/Makefile b/math/p5-Math-Random-OO/Makefile
new file mode 100644
index 000000000000..0cee135121ba
--- /dev/null
+++ b/math/p5-Math-Random-OO/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: p5-Math-Random-OO
+# Date created: 2006-07-23
+# Whom: Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Math-Random-OO
+PORTVERSION= 0.19
+CATEGORIES= math perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Math
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tjs@cdpa.nsysu.edu.tw
+COMMENT= Consistent object-oriented interface for generating random numbers
+
+BUILD_DEPENDS= p5-Test-MockRandom>=0.95:${PORTSDIR}/devel/p5-Test-MockRandom \
+ p5-Test-Number-Delta>=0.14:${PORTSDIR}/devel/p5-Test-Number-Delta
+RUN_DEPENDS= p5-Class-Accessor>=0.18:${PORTSDIR}/devel/p5-Class-Accessor \
+ p5-Params-Validate>=0.76:${PORTSDIR}/devel/p5-Params-Validate
+
+PERL_CONFIGURE= yes
+
+MAN3= Math::Random::OO.3 \
+ Math::Random::OO::Bootstrap.3 \
+ Math::Random::OO::Normal.3 \
+ Math::Random::OO::Uniform.3 \
+ Math::Random::OO::UniformInt.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.6 or later. Please install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/math/p5-Math-Random-OO/distinfo b/math/p5-Math-Random-OO/distinfo
new file mode 100644
index 000000000000..c381760f5e83
--- /dev/null
+++ b/math/p5-Math-Random-OO/distinfo
@@ -0,0 +1,3 @@
+MD5 (Math-Random-OO-0.19.tar.gz) = 3a456945d4fa44bc8bb154e81eb1ed63
+SHA256 (Math-Random-OO-0.19.tar.gz) = 72d1ef2bc557a2f50557d75e6443bac70bc43e5d179f84ff4678a37b2f75d8b1
+SIZE (Math-Random-OO-0.19.tar.gz) = 18988
diff --git a/math/p5-Math-Random-OO/pkg-descr b/math/p5-Math-Random-OO/pkg-descr
new file mode 100644
index 000000000000..96d482f16180
--- /dev/null
+++ b/math/p5-Math-Random-OO/pkg-descr
@@ -0,0 +1,5 @@
+This module defines an abstract interface for random number generation.
+Subclasses of this model will implement specific types of random number
+generators or will wrap existing random number generators.
+
+WWW: http://search.cpan.org/dist/Math-Random-OO/
diff --git a/math/p5-Math-Random-OO/pkg-plist b/math/p5-Math-Random-OO/pkg-plist
new file mode 100644
index 000000000000..b9f5aa18f4de
--- /dev/null
+++ b/math/p5-Math-Random-OO/pkg-plist
@@ -0,0 +1,12 @@
+%%SITE_PERL%%/Math/Random/OO.pm
+%%SITE_PERL%%/Math/Random/OO/Bootstrap.pm
+%%SITE_PERL%%/Math/Random/OO/Normal.pm
+%%SITE_PERL%%/Math/Random/OO/Uniform.pm
+%%SITE_PERL%%/Math/Random/OO/UniformInt.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Random/OO/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Random/OO
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Random
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math
+@dirrmtry %%SITE_PERL%%/Math/Random/OO
+@dirrmtry %%SITE_PERL%%/Math/Random
+@dirrmtry %%SITE_PERL%%/Math