2013-09-20 22:55:04 +02:00
|
|
|
# Created by: bf <bf@FreeBSD.org>
|
2010-03-09 23:29:17 +01:00
|
|
|
|
|
|
|
PORTNAME= prng
|
|
|
|
DISTVERSION= 3.0.2
|
2019-09-02 07:09:44 +02:00
|
|
|
PORTREVISION= 3
|
2010-03-09 23:29:17 +01:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= http://statistik.wu-wien.ac.at/software/prng/
|
|
|
|
|
2016-06-27 23:30:34 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2010-03-09 23:29:17 +01:00
|
|
|
COMMENT= Portable, high-performance ANSI-C pseudorandom number generators
|
|
|
|
|
2011-08-19 20:56:19 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2017-02-05 04:30:43 +01:00
|
|
|
USE_CSTD= gnu89
|
2010-03-09 23:29:17 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-07-02 19:49:53 +02:00
|
|
|
INFO= prng
|
2010-03-09 23:29:17 +01:00
|
|
|
PLIST_FILES= include/prng.h lib/libprng.a
|
|
|
|
PORTDOCS= prng.dvi prng.pdf prng.ps prng.txt
|
|
|
|
PORTEXAMPLES= Makefile pairs.c tuples.c
|
|
|
|
|
2014-07-15 18:23:08 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
2018-01-11 19:09:00 +01:00
|
|
|
post-install-DOCS-on:
|
2014-07-02 19:49:53 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2018-01-11 19:09:00 +01:00
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
|
|
|
post-install-EXAMPLES-on:
|
2014-07-02 19:49:53 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2018-01-13 11:13:48 +01:00
|
|
|
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} \
|
2018-01-11 19:09:00 +01:00
|
|
|
${STAGEDIR}${EXAMPLESDIR}
|
2010-03-09 23:29:17 +01:00
|
|
|
|
2011-08-19 20:46:45 +02:00
|
|
|
check regression-test test: build
|
2014-07-02 19:49:53 +02:00
|
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
|
2011-08-19 20:46:45 +02:00
|
|
|
${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} check)
|
2010-03-09 23:29:17 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|