aboutsummaryrefslogtreecommitdiffstats
path: root/math/randlib/Makefile
blob: 2d0bf4840239630632ae4e659a659996c00a98db (plain) (blame)
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
# New ports collection makefile for:    ranlib
# Date created:     06 April 1997
# Whom:         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

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

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/randlib
    @${INSTALL_DATA} ${WRKDIR}/source/randlib.c/doc/* ${PREFIX}/share/doc/randlib
.endif

.include <bsd.port.mk>