mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
Add diehard 0.1, Marsaglia's Diehard Battery of Tests of Randomness.
This commit is contained in:
parent
6d80918d43
commit
90baf3040e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62415
@ -21,6 +21,7 @@
|
||||
SUBDIR += concorde
|
||||
SUBDIR += cxsc
|
||||
SUBDIR += dcdflib
|
||||
SUBDIR += diehard
|
||||
SUBDIR += djbfft
|
||||
SUBDIR += eispack
|
||||
SUBDIR += eukleides
|
||||
|
40
math/diehard/Makefile
Normal file
40
math/diehard/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# New ports collection makefile for: diehard
|
||||
# Date created: 04 Jule 2002
|
||||
# Whom: Sergey Skvortsov <skv@protey.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= diehard
|
||||
PORTVERSION= 0.1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://stat.fsu.edu/pub/diehard/
|
||||
DISTNAME= die.c
|
||||
|
||||
MAINTAINER= skv@FreeBSD.org
|
||||
|
||||
ALL_TARGET= diehard
|
||||
USE_REINPLACE= YES
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
PLIST_SUB= DOCSDIR="share/doc/${PORTNAME}" DATADIR="share/${PORTNAME}"
|
||||
|
||||
DOCSLIST= NOTES readme
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|operm5\.cov|${DATADIR}/operm5.cov|g;' \
|
||||
${WRKSRC}/cdoperm5.c
|
||||
@${REINPLACE_CMD} -e 's|CC=gcc||g;' ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/diehard ${PREFIX}/bin
|
||||
@${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/operm5.cov ${DATADIR}
|
||||
|
||||
post-install:
|
||||
.ifndef(NOPORTDOCS)
|
||||
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${DOCSLIST:S!^!${WRKSRC}/!} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
math/diehard/distinfo
Normal file
1
math/diehard/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (die.c.tar.gz) = 854ea157c0ff73dd0d58928c834b6122
|
1
math/diehard/pkg-comment
Normal file
1
math/diehard/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Marsaglia's Diehard Battery of Tests of Randomness
|
7
math/diehard/pkg-descr
Normal file
7
math/diehard/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
Diehard is a battery of tests for random number generators developed by
|
||||
Dr. George Marsaglia of Florida State University Department of
|
||||
Statistics. Originally developed for testing pseudo-random generators,
|
||||
Diehard has since become a de facto standard for testing RNGs.
|
||||
|
||||
-- Sergey Skvortsov
|
||||
skv@FreeBSD.org
|
6
math/diehard/pkg-plist
Normal file
6
math/diehard/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
bin/diehard
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NOTES
|
||||
%%PORTDOCS%%%%DOCSDIR%%/readme
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%DATADIR%%/operm5.cov
|
||||
@dirrm %%DATADIR%%
|
Loading…
Reference in New Issue
Block a user