Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 2020 15:33:17 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r557743 - in head: . math math/testu01
Message-ID:  <202012111533.0BBFXHc9049740@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Fri Dec 11 15:33:16 2020
New Revision: 557743
URL: https://svnweb.freebsd.org/changeset/ports/557743

Log:
  Resurrect math/testu01 and take maintainership.

Added:
  head/math/testu01/
     - copied from r514566, head/math/testu01/
Modified:
  head/MOVED
  head/math/Makefile
  head/math/testu01/Makefile
  head/math/testu01/distinfo
  head/math/testu01/pkg-descr
  head/math/testu01/pkg-plist

Modified: head/MOVED
==============================================================================
--- head/MOVED	Fri Dec 11 15:17:08 2020	(r557742)
+++ head/MOVED	Fri Dec 11 15:33:16 2020	(r557743)
@@ -13192,7 +13192,6 @@ mail/xlbiff||2019-10-16|Has expired: Unfetchable, unma
 math/algotutor||2019-10-16|Has expired: Unfetchable, unmaintained
 math/nyh-hoc||2019-10-16|Has expired: Unfetchable, unmaintained
 math/superlu_mt||2019-10-16|Has expired: Unfetchable, unmaintained
-math/testu01||2019-10-16|Has expired: Unfetchable, unmaintained
 misc/astrolog||2019-10-16|Has expired: Unfetchable, unmaintained
 misc/chord2html||2019-10-16|Has expired: Unfetchable, unmaintained
 misc/crosspad||2019-10-16|Has expired: Unfetchable, unmaintained

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Fri Dec 11 15:17:08 2020	(r557742)
+++ head/math/Makefile	Fri Dec 11 15:33:16 2020	(r557743)
@@ -932,6 +932,7 @@
     SUBDIR += tablix
     SUBDIR += taucs
     SUBDIR += tblis
+    SUBDIR += testu01
     SUBDIR += tetgen
     SUBDIR += teyjus
     SUBDIR += timbl

Modified: head/math/testu01/Makefile
==============================================================================
--- head/math/testu01/Makefile	Tue Oct 15 20:42:23 2019	(r514566)
+++ head/math/testu01/Makefile	Fri Dec 11 15:33:16 2020	(r557743)
@@ -3,14 +3,13 @@
 
 PORTNAME=	TestU01
 PORTVERSION=	1.2.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	math
-MASTER_SITES=	http://www.iro.umontreal.ca/~simardr/testu01/:0 \
-		http://www.iro.umontreal.ca/~lecuyer/myftp/papers/:1
-DISTFILES=	${PORTNAME}${EXTRACT_SUFX}:0 testu01.pdf:1
-EXTRACT_ONLY=	${PORTNAME}${EXTRACT_SUFX}
+MASTER_SITES=	http://simul.iro.umontreal.ca/${PORTNAME:tl}/
+DISTNAME=	${PORTNAME}
+DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	thierry@FreeBSD.org
 COMMENT=	Utilities for statistical testing of uniform random number generators
 
 LICENSE=	TestU01
@@ -18,42 +17,32 @@ LICENSE_NAME=	TestU01 license
 LICENSE_FILE=	${WRKSRC}/COPYING
 LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
 
-BROKEN=		unfetchable
-DEPRECATED=	Unfetchable, unmaintained
-EXPIRATION_DATE=	2019-10-16
-
 LIB_DEPENDS=	libgmp.so:math/gmp
 
-CONFLICTS=	emboss-[0-9]*
-
-USES=		gmake zip libtool localbase
+USES=		gmake libtool localbase zip
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--includedir="${PREFIX}/include/${PORTNAME}"
 MAKE_ARGS=	docdir="${DOCSDIR}" exdir="${EXAMPLESDIR}"
-USE_LDCONFIG=	 yes
+USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 
+CONFLICTS=	emboss-[0-9]*
+
 CFLAGS+=	-fPIC
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|return|& (0)|' ${WRKSRC}/testu01/fftc.c
+pre-configure-DOCS-off:
+	${REINPLACE_CMD} -e  '/^SUBDIRS \=/s/ doc / /' ${WRKSRC}/Makefile.in
+	${FIND} -X ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} \
+		-e '/^install-data-am\: /s/install-docDATA//'
 
-post-patch-DOCS-off:
-	@${REINPLACE_CMD} -e  '/^SUBDIRS \=/s/ doc / /' ${WRKSRC}/Makefile.in
-	@${FIND} -X ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} \
-	-e '/^install-data-am\: /s/install-docDATA//'
+pre-configure-EXAMPLES-off:
+	${REINPLACE_CMD} -e  '/^SUBDIRS \=/s/ examples / /' ${WRKSRC}/Makefile.in
 
-post-patch-EXAMPLES-off:
-	@${REINPLACE_CMD} -e  '/^SUBDIRS \=/s/ examples / /' ${WRKSRC}/Makefile.in
-
-post-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DISTDIR}/testu01.pdf ${STAGEDIR}${DOCSDIR}
-
 do-test:
-	@cd ${WRKSRC}/examples ; \
+	cd ${WRKSRC}/examples ; \
 	for f in [mx]*.c ; do \
 		${CC} ${CFLAGS} -c $${f} -I. -I../include ; \
 	done ; \

Modified: head/math/testu01/distinfo
==============================================================================
--- head/math/testu01/distinfo	Tue Oct 15 20:42:23 2019	(r514566)
+++ head/math/testu01/distinfo	Fri Dec 11 15:33:16 2020	(r557743)
@@ -1,4 +1,3 @@
-SHA256 (TestU01.zip) = a64b44dd8c20b3aa438fff1a1aad4d754ce3a782752f257cb8dca1e35001b6ae
-SIZE (TestU01.zip) = 3262850
-SHA256 (testu01.pdf) = 3a8efb1b6aa4a10c128a25e9ada0b5dacc83191abb5bebae94f6525dfd7f885d
-SIZE (testu01.pdf) = 466695
+TIMESTAMP = 1607619501
+SHA256 (TestU01-1.2.3/TestU01.zip) = bc1d1dd2aea7ed3b3d28eaad2c8ee55913f11ce67aec8fe4f643c1c0d2ed1cac
+SIZE (TestU01-1.2.3/TestU01.zip) = 3123035

Modified: head/math/testu01/pkg-descr
==============================================================================
--- head/math/testu01/pkg-descr	Tue Oct 15 20:42:23 2019	(r514566)
+++ head/math/testu01/pkg-descr	Fri Dec 11 15:33:16 2020	(r557743)
@@ -19,4 +19,4 @@ kind of test and a given class of random number genera
 large should be the sample size of the test, as a function of the generator's
 period length, before the generator starts to fail the test systematically.
 
-WWW: http://www.iro.umontreal.ca/~simardr/testu01/tu01.html
+WWW: http://simul.iro.umontreal.ca/testu01/tu01.html

Modified: head/math/testu01/pkg-plist
==============================================================================
--- head/math/testu01/pkg-plist	Tue Oct 15 20:42:23 2019	(r514566)
+++ head/math/testu01/pkg-plist	Fri Dec 11 15:33:16 2020	(r557743)
@@ -114,7 +114,6 @@ lib/libtestu01.so.0.0.1
 %%PORTDOCS%%%%DOCSDIR%%/guidemylib.pdf
 %%PORTDOCS%%%%DOCSDIR%%/guideprobdist.pdf
 %%PORTDOCS%%%%DOCSDIR%%/guideshorttestu01.pdf
-%%PORTDOCS%%%%DOCSDIR%%/testu01.pdf
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/bat1.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/bat1.res
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/bat2.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012111533.0BBFXHc9049740>