Add Math::TrulyRandom, a Perl interface to a truly random number
generator function.
This commit is contained in:
parent
ef29dbc153
commit
40902e2b31
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56269
6 changed files with 50 additions and 0 deletions
|
@ -87,6 +87,7 @@
|
|||
SUBDIR += p5-Math-Pari
|
||||
SUBDIR += p5-Math-Random
|
||||
SUBDIR += p5-Math-Random-MT
|
||||
SUBDIR += p5-Math-TrulyRandom
|
||||
SUBDIR += p5-MatrixReal
|
||||
SUBDIR += p5-Set-IntSpan
|
||||
SUBDIR += p5-Set-Window
|
||||
|
|
30
math/p5-Math-TrulyRandom/Makefile
Normal file
30
math/p5-Math-TrulyRandom/Makefile
Normal file
|
@ -0,0 +1,30 @@
|
|||
# New ports collection makefile for: Math::TrulyRandom
|
||||
# Date created: 17 March 2002
|
||||
# Whom: Anders Nordby <anders@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Math-TrulyRandom
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= math perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Math
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= anders@FreeBSD.org
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Math::TrulyRandom.3
|
||||
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${INSTALL} -d -m 0755 ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DOCSDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/truerand.c ${DOCSDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/truerand.h ${DOCSDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
math/p5-Math-TrulyRandom/distinfo
Normal file
1
math/p5-Math-TrulyRandom/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (Math-TrulyRandom-1.0.tar.gz) = 32e2273ee192203837cb1a21756a27a0
|
1
math/p5-Math-TrulyRandom/pkg-comment
Normal file
1
math/p5-Math-TrulyRandom/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Perl interface to a truly random number generator function
|
5
math/p5-Math-TrulyRandom/pkg-descr
Normal file
5
math/p5-Math-TrulyRandom/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
The Math::TrulyRandom module provides an ability to generate truly random
|
||||
numbers from within Perl programs. The source of the randomness is from
|
||||
interrupt timing discrepancies.
|
||||
|
||||
- Anders Nordby <anders@FreeBSD.org>
|
12
math/p5-Math-TrulyRandom/pkg-plist
Normal file
12
math/p5-Math-TrulyRandom/pkg-plist
Normal file
|
@ -0,0 +1,12 @@
|
|||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/TrulyRandom/.packlist
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/TrulyRandom.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/TrulyRandom.pod
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/TrulyRandom/TrulyRandom.bs
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/TrulyRandom/TrulyRandom.so
|
||||
%%PORTDOCS%%share/doc/Math-TrulyRandom/COPYRIGHT
|
||||
%%PORTDOCS%%share/doc/Math-TrulyRandom/truerand.c
|
||||
%%PORTDOCS%%share/doc/Math-TrulyRandom/truerand.h
|
||||
%%PORTDOCS%%@dirrm share/doc/Math-TrulyRandom
|
||||
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/TrulyRandom 2>/dev/null || true
|
||||
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math 2>/dev/null || true
|
||||
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Math 2>/dev/null || true
|
Loading…
Reference in a new issue