1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

PRNG is a collection of portable, high-performance ANSI-C implementations of

pseudorandom number generators such as linear congruential, inversive
congruential, and explicit inversive congruential random number generators (LCG,
ICG and EICG, respectively) created by Otmar Lendl and and Josef Leydold.

WWW: http://statistik.wu-wien.ac.at/software/prng/index.html

PR:		ports/144031
Submitted by:	bf <bf1783 at gmail.com>
This commit is contained in:
Martin Wilke 2010-03-09 22:29:17 +00:00
parent 5e5c2a70c7
commit 1428d6519b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250787
4 changed files with 49 additions and 0 deletions

View File

@ -418,6 +418,7 @@
SUBDIR += plplot
SUBDIR += polymake
SUBDIR += primegen
SUBDIR += prng
SUBDIR += proofgeneral
SUBDIR += pspp
SUBDIR += py-basemap

39
math/prng/Makefile Normal file
View File

@ -0,0 +1,39 @@
# New ports collection makefile for: prng
# Date created: 16 Feb. 2010
# Whom: bf <bf1783@gmail.com>
# $FreeBSD$
PORTNAME= prng
DISTVERSION= 3.0.2
CATEGORIES= math
MASTER_SITES= http://statistik.wu-wien.ac.at/software/prng/
MAINTAINER= bf1783@gmail.com
COMMENT= Portable, high-performance ANSI-C pseudorandom number generators
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
INFO= prng
PLIST_FILES= include/prng.h lib/libprng.a
PORTDOCS= prng.dvi prng.pdf prng.ps prng.txt
PORTEXAMPLES= Makefile pairs.c tuples.c
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for _d in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/doc/${_d} ${DOCSDIR}
.endfor
.endif
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
.for _e in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/examples/${_e} ${EXAMPLESDIR}
.endfor
.endif
test: build
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} \
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
.include <bsd.port.mk>

3
math/prng/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (prng-3.0.2.tar.gz) = 80cb0870f2d18618bd2772f9e1dc1a70
SHA256 (prng-3.0.2.tar.gz) = 8299182b97c24b7891d74590a8a8438641a6c681ce34d6c3f7bc98a0649da48b
SIZE (prng-3.0.2.tar.gz) = 497047

6
math/prng/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
PRNG is a collection of portable, high-performance ANSI-C implementations of
pseudorandom number generators such as linear congruential, inversive
congruential, and explicit inversive congruential random number generators (LCG,
ICG and EICG, respectively) created by Otmar Lendl and and Josef Leydold.
WWW: http://statistik.wu-wien.ac.at/software/prng/index.html