forked from Lainports/freebsd-ports
this GPL'd suite of random number tests will be named "Dieharder". Using a movie sequel pun for the name is a double tribute to George Marsaglia, whose "Diehard battery of tests" of random number generators has enjoyed years of enduring usefulness as a test suite. The dieharder suite is more than just the diehard tests cleaned up and given a pretty GPL'd source face in native C: tests from the Statistical Test Suite (STS) developed by the National Institute for Standards and Technology (NIST) are being incorporated, as are new tests developed by rgb. Where possible, tests are parametrized and controllable so that failure, at least, is unambiguous. A further design goal is to provide some indication of *why* a generator fails a test, where such information can be extracted during the test process and placed in usable form. For example, the bit-distribution tests should (eventually) be able to display the actual histogram for the different bit n-tuplets. Dieharder is by design extensible. It is intended to be the "Swiss army knife of random number test suites", or if you prefer, "the last suite you'll ever ware" for testing random numbers. WWW: http://www.phy.duke.edu/~rgb/General/dieharder.php PR: ports/128882 Submitted by: bf <bf2006a at yahoo.com>
28 lines
700 B
Makefile
28 lines
700 B
Makefile
# New ports collection makefile for: dieharder
|
|
# Date created: 14 November 2008
|
|
# Whom: bf <bf2006a@yahoo.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dieharder
|
|
PORTVERSION= 2.28.1
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://www.phy.duke.edu/~rgb/General/dieharder/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= bf2006a@yahoo.com
|
|
COMMENT= A random number generator testsuite
|
|
|
|
LIB_DEPENDS= gsl:${PORTSDIR}/math/gsl
|
|
|
|
USE_AUTOTOOLS= aclocal:110 autoheader:262 libtool:15
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
|
USE_LDCONFIG= yes
|
|
MAN1= dieharder.1
|
|
MAN3= libdieharder.3
|
|
|
|
run-autotools:
|
|
@(cd ${WRKSRC}; ${SETENV} ${AUTOTOOLS_ENV} ${SH} ./autogen.sh)
|
|
|
|
.include <bsd.port.mk>
|