1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/math/prng/Makefile
Martin Wilke 1428d6519b 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>
2010-03-09 22:29:17 +00:00

40 lines
960 B
Makefile

# 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>