summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-07-25 20:59:17 +0000
committerehaupt <ehaupt@FreeBSD.org>2006-07-25 20:59:17 +0000
commit4c78527b9de71bc7bbc7c5a5dcd6f11658c34274 (patch)
tree14dbdd77e37c096e7c16829e12d76912f9f8c5fb /math
parent3d57d13905ff500ff84b289933114f0ed2acc354 (diff)
downloadFreeBSD-ports-4c78527b9de71bc7bbc7c5a5dcd6f11658c34274.zip
FreeBSD-ports-4c78527b9de71bc7bbc7c5a5dcd6f11658c34274.tar.gz
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>
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-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
5 files changed, 58 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index cabce58..e0a97ba 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -199,6 +199,7 @@
SUBDIR += p5-Math-Random
SUBDIR += p5-Math-Random-MT
SUBDIR += p5-Math-Random-MT-Auto
+ SUBDIR += p5-Math-Random-OO
SUBDIR += p5-Math-RandomOrg
SUBDIR += p5-Math-Round
SUBDIR += p5-Math-Round-Var
diff --git a/math/p5-Math-Random-OO/Makefile b/math/p5-Math-Random-OO/Makefile
new file mode 100644
index 0000000..0cee135
--- /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 0000000..c381760
--- /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 0000000..96d482f
--- /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 0000000..b9f5aa1
--- /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
OpenPOWER on IntegriCloud