mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
41 lines
941 B
Makefile
41 lines
941 B
Makefile
# 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= bf@FreeBSD.org
|
|
COMMENT= Portable, high-performance ANSI-C pseudorandom number generators
|
|
|
|
LICENSE= GPLv2
|
|
|
|
CFLAGS+= -fgnu89-inline
|
|
GNU_CONFIGURE= yes
|
|
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
|
|
|
|
NO_STAGE= yes
|
|
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
|
|
|
|
check regression-test test: build
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} \
|
|
${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} check)
|
|
|
|
.include <bsd.port.mk>
|