blob: 89d1d2e4f0ce8fcdeb1fdd658320b58708a9ddc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Created by: bf <bf2006a@yahoo.com>
# $FreeBSD$
PORTNAME= rngstreams
PORTVERSION= 1.0.1
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://statmath.wu-wien.ac.at/software/RngStreams/
MAINTAINER= bf@FreeBSD.org
COMMENT= A C implementation of a high-quality uniform random number generator
USES= libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
USE_LDCONFIG= yes
PLIST_FILES= lib/librngstreams.a \
lib/librngstreams.so.0.0.0 \
lib/librngstreams.so.0 \
lib/librngstreams.so \
include/RngStream.h
PORTDOCS= rngstreams.txt
PORTEXAMPLES= example1.c
post-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for DD in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/doc/${DD} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.ifndef(NOPORTEXAMPLES)
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for EE in ${PORTEXAMPLES}
@${INSTALL_DATA} ${WRKSRC}/examples/${EE} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.endif
regression-test: build
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check)
.include <bsd.port.mk>
|