aboutsummaryrefslogtreecommitdiff
path: root/math/rngstreams
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-11-15 21:46:12 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-11-15 21:46:12 +0000
commit1cc19a81ad02e5d394b82cc07757d7d5b37fc7ca (patch)
tree8de59612256a8b47335af4b178c5e932d32e3da1 /math/rngstreams
parent5228433834badf1d89d1bde7e74a944207567aa8 (diff)
downloadports-1cc19a81ad02e5d394b82cc07757d7d5b37fc7ca.tar.gz
ports-1cc19a81ad02e5d394b82cc07757d7d5b37fc7ca.zip
Notes
Diffstat (limited to 'math/rngstreams')
-rw-r--r--math/rngstreams/Makefile44
-rw-r--r--math/rngstreams/distinfo3
-rw-r--r--math/rngstreams/files/patch-Makefile.in11
-rw-r--r--math/rngstreams/pkg-descr13
4 files changed, 71 insertions, 0 deletions
diff --git a/math/rngstreams/Makefile b/math/rngstreams/Makefile
new file mode 100644
index 000000000000..a3606b35a150
--- /dev/null
+++ b/math/rngstreams/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: rngstreams
+# Date created: 9 November 2008
+# Whom: bf <bf2006a@yahoo.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rngstreams
+PORTVERSION= 1.0
+CATEGORIES= math
+MASTER_SITES= http://statmath.wu-wien.ac.at/software/RngStreams/
+
+MAINTAINER= bf2006a@yahoo.com
+COMMENT= A C implementation of a high-quality uniform random number generator
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-shared
+USE_LDCONFIG= yes
+PLIST_FILES= lib/librngstreams.a \
+ lib/librngstreams.la \
+ lib/librngstreams.so.0 \
+ lib/librngstreams.so \
+ include/RngStream.h
+PORTDOCS= rngstreams.txt
+PORTEXAMPLES= example1.c
+
+post-install:
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for DD in ${PORTDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/doc/${DD} ${DOCSDIR}
+.endfor
+.endif
+.ifndef(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+.for EE in ${PORTEXAMPLES}
+ @${INSTALL_DATA} ${WRKSRC}/examples/${EE} ${EXAMPLESDIR}
+.endfor
+.endif
+
+regression-test: build
+ @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check)
+
+.include <bsd.port.mk>
diff --git a/math/rngstreams/distinfo b/math/rngstreams/distinfo
new file mode 100644
index 000000000000..48fa2930071a
--- /dev/null
+++ b/math/rngstreams/distinfo
@@ -0,0 +1,3 @@
+MD5 (rngstreams-1.0.tar.gz) = 474980bc2e2ee4867d882f8b6a8ed9a6
+SHA256 (rngstreams-1.0.tar.gz) = eea58892d836d2ac1bc69e85d262f0874b643ad10fbc6ab9456053e1fc7be8c8
+SIZE (rngstreams-1.0.tar.gz) = 546107
diff --git a/math/rngstreams/files/patch-Makefile.in b/math/rngstreams/files/patch-Makefile.in
new file mode 100644
index 000000000000..b94ccf3e74b2
--- /dev/null
+++ b/math/rngstreams/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2008-11-09 09:29:26.633715502 -0500
++++ Makefile.in 2008-11-09 09:29:53.109682979 -0500
+@@ -134,7 +134,7 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+
+-SUBDIRS = . src examples tests doc
++SUBDIRS = . src tests
+
+ EXTRA_DIST = \
+ autogen.sh
diff --git a/math/rngstreams/pkg-descr b/math/rngstreams/pkg-descr
new file mode 100644
index 000000000000..4e5c69dc9a27
--- /dev/null
+++ b/math/rngstreams/pkg-descr
@@ -0,0 +1,13 @@
+RngStreams is a C implementation of a high-quality uniform random number
+generator that supports multiple "independent" streams of uniform random
+numbers.
+
+It was written by Pierre L'Ecuyer and Richard Simard, who have a website
+at:
+
+http://www.iro.umontreal.ca/~simardr/indexe.html
+
+This GNU-style package is compiled and maintained by Josef Leydold and
+released under the GNU Public License (GPL).
+
+WWW: http://statmath.wu-wien.ac.at/software/RngStreams/