1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/math/prng/Makefile

44 lines
1.0 KiB
Makefile
Raw Normal View History

# Created by: bf <bf@FreeBSD.org>
# $FreeBSD$
PORTNAME= prng
DISTVERSION= 3.0.2
CATEGORIES= math
MASTER_SITES= http://statistik.wu-wien.ac.at/software/prng/
MAINTAINER= ports@FreeBSD.org
COMMENT= Portable, high-performance ANSI-C pseudorandom number generators
2011-08-19 18:56:19 +00:00
LICENSE= GPLv2
2017-02-05 03:30:43 +00:00
USE_CSTD= gnu89
GNU_CONFIGURE= yes
2014-07-02 17:49:53 +00:00
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
OPTIONS_DEFINE= DOCS EXAMPLES
2014-07-02 17:49:53 +00:00
.include <bsd.port.options.mk>
post-install:
2014-07-02 17:49:53 +00:00
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for _d in ${PORTDOCS}
2014-07-02 17:49:53 +00:00
${INSTALL_MAN} ${WRKSRC}/doc/${_d} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
2014-07-02 17:49:53 +00:00
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for _e in ${PORTEXAMPLES}
2014-07-02 17:49:53 +00:00
${INSTALL_DATA} ${WRKSRC}/examples/${_e} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.endif
check regression-test test: build
2014-07-02 17:49:53 +00:00
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} check)
.include <bsd.port.mk>