diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-11-11 04:24:22 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-11-11 04:24:22 +0800 |
commit | 081db0cd3f63c3d790455a3d149d2fb0f5b5384c (patch) | |
tree | 21771564dd8a768fd9564f4b46fe9ebba6a8a42e /math | |
parent | 94c8ad33f9211946b0fc6e7c287e675a3e0110c7 (diff) | |
download | freebsd-ports-gnome-081db0cd3f63c3d790455a3d149d2fb0f5b5384c.tar.gz freebsd-ports-gnome-081db0cd3f63c3d790455a3d149d2fb0f5b5384c.tar.zst freebsd-ports-gnome-081db0cd3f63c3d790455a3d149d2fb0f5b5384c.zip |
- Fix fetch by using correct DISTNAME
- Switch to options helpers
- Regenerate patches with `make makepatch`
- Add WWW
Diffstat (limited to 'math')
-rw-r--r-- | math/diehard/Makefile | 11 | ||||
-rw-r--r-- | math/diehard/distinfo | 4 | ||||
-rw-r--r-- | math/diehard/files/patch-cdomso.c | 6 | ||||
-rw-r--r-- | math/diehard/files/patch-diehard.c | 6 | ||||
-rw-r--r-- | math/diehard/pkg-descr | 6 |
5 files changed, 17 insertions, 16 deletions
diff --git a/math/diehard/Makefile b/math/diehard/Makefile index d51dd60dd26e..183b525fca95 100644 --- a/math/diehard/Makefile +++ b/math/diehard/Makefile @@ -4,17 +4,14 @@ PORTNAME= diehard PORTVERSION= 0.1 CATEGORIES= math -MASTER_SITES= http://www.cs.hku.hk/~diehard/cdrom/ \ - http://stat.fsu.edu/pub/diehard/ -DISTNAME= die.c +MASTER_SITES= http://stat.fsu.edu/pub/diehard/ +DISTNAME= die-c MAINTAINER= ports@FreeBSD.org COMMENT= Marsaglia's Diehard Battery of Tests of Randomness -BROKEN= unfetchable - ALL_TARGET= diehard -WRKSRC= ${WRKDIR}/${DISTNAME} +WRKSRC= ${WRKDIR}/die.c PLIST_SUB= DOCSDIR="share/doc/${PORTNAME}" DATADIR="share/${PORTNAME}" DOCSLIST= NOTES readme @@ -30,6 +27,8 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/diehard ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/operm5.cov ${STAGEDIR}${DATADIR} + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCSLIST:S!^!${WRKSRC}/!} ${STAGEDIR}${DOCSDIR} diff --git a/math/diehard/distinfo b/math/diehard/distinfo index 64a472c14198..198dbe8400d2 100644 --- a/math/diehard/distinfo +++ b/math/diehard/distinfo @@ -1,2 +1,2 @@ -SHA256 (die.c.tar.gz) = e028a755c1441e5af90f060cd5d8fceaa5967a6a66fbc1f4c66410be712208ae -SIZE (die.c.tar.gz) = 48897 +SHA256 (die-c.tar.gz) = e028a755c1441e5af90f060cd5d8fceaa5967a6a66fbc1f4c66410be712208ae +SIZE (die-c.tar.gz) = 48897 diff --git a/math/diehard/files/patch-cdomso.c b/math/diehard/files/patch-cdomso.c index 3b9367e182fa..154111f8d6e5 100644 --- a/math/diehard/files/patch-cdomso.c +++ b/math/diehard/files/patch-cdomso.c @@ -1,6 +1,6 @@ ---- cdomso.c.orig 2012-11-30 16:01:24.000000000 +0100 -+++ cdomso.c 2012-11-30 16:02:15.000000000 +0100 -@@ -89,7 +89,7 @@ +--- cdomso.c.orig 1998-04-02 15:29:02 UTC ++++ cdomso.c +@@ -89,7 +89,7 @@ unsigned long get_w(char *fn, short bits } diff --git a/math/diehard/files/patch-diehard.c b/math/diehard/files/patch-diehard.c index 58245a247bc3..3086a3d71247 100644 --- a/math/diehard/files/patch-diehard.c +++ b/math/diehard/files/patch-diehard.c @@ -1,6 +1,6 @@ ---- diehard.c.orig 2012-11-30 16:00:43.000000000 +0100 -+++ diehard.c 2012-11-30 16:00:59.000000000 +0100 -@@ -153,5 +153,5 @@ +--- diehard.c.orig 1998-04-02 15:29:40 UTC ++++ diehard.c +@@ -153,5 +153,5 @@ main() { diehard(); diff --git a/math/diehard/pkg-descr b/math/diehard/pkg-descr index 4c632c6b4133..52ade13105c7 100644 --- a/math/diehard/pkg-descr +++ b/math/diehard/pkg-descr @@ -1,4 +1,6 @@ -Diehard is a battery of tests for random number generators developed by -Dr. George Marsaglia of Florida State University Department of +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. + +WWW: http://stat.fsu.edu/pub/diehard/ |