1 # Created by: bf <bf@FreeBSD.org>
7 MASTER_SITES= http://statistik.wu-wien.ac.at/software/prng/
9 MAINTAINER= bf@FreeBSD.org
10 COMMENT= Portable, high-performance ANSI-C pseudorandom number generators
14 CFLAGS+= -fgnu89-inline
17 PLIST_FILES= include/prng.h lib/libprng.a
18 PORTDOCS= prng.dvi prng.pdf prng.ps prng.txt
19 PORTEXAMPLES= Makefile pairs.c tuples.c
23 .if !defined(NOPORTDOCS)
25 .for _d in ${PORTDOCS}
26 ${INSTALL_MAN} ${WRKSRC}/doc/${_d} ${DOCSDIR}
29 .if !defined(NOPORTEXAMPLES)
30 ${MKDIR} ${EXAMPLESDIR}
31 .for _e in ${PORTEXAMPLES}
32 ${INSTALL_DATA} ${WRKSRC}/examples/${_e} ${EXAMPLESDIR}
36 check regression-test test: build
37 @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} \
38 ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} check)
40 .include <bsd.port.mk>