summaryrefslogtreecommitdiffstats
path: root/math/randlib/Makefile
blob: f38505cac43ab91e2769013174b32fd38c4facb6 (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
# Created by: Thomas Gellekum <tg@FreeBSD.org>
# $FreeBSD$

PORTNAME=	randlib
PORTVERSION=	1.3
CATEGORIES=	math
MASTER_SITES=	https://biostatistics.mdanderson.org/SoftwareDownload/ProductDownloadFiles/ \
		LOCAL/bf
DISTNAME=	RANDLIB_V90

MAINTAINER=	bf@FreeBSD.org
COMMENT=	Library of Routines for Random Number Generation

USES=		uidfix
USE_LDCONFIG=	yes
MAKE_ENV=	NO_PROFILE=true
WRKSRC=		${WRKDIR}/source/randlib.c/src
PORTDOCS=	Basegen.c.doc randlib.c.chs randlib.c.fdoc
PLIST_FILES=	include/randlib.h \
		lib/librandlib.a \
		lib/librandlib.so \
		lib/librandlib.so.1

post-extract:
	${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile

OPTIONS_DEFINE=	DOCS

post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKDIR}/source/randlib.c/doc/* ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud