aboutsummaryrefslogtreecommitdiffstats
path: root/math/libranlib/Makefile
blob: 34b6353e1c009f79d2856e6ce01e7b7f71d145e2 (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
# New ports collection makefile for:    ranlib
# Date created:     06 April 1997
# Whom:         Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   ranlib
PORTVERSION=    1.0
CATEGORIES= math
MASTER_SITES=   ftp://ftp.netlib.org/random/
DISTNAME=   ranlib.c

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

USE_LDCONFIG=   yes
MAKE_ENV=   NOPROFILE=true
WRKSRC=     ${WRKDIR}/${DISTNAME}/src
PORTDOCS=   Basegen.c.doc ranlib.c.chs ranlib.c.fdoc
PLIST_FILES=    include/ranlib.h \
        lib/libranlib.a \
        lib/libranlib.so \
        lib/libranlib.so.1

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

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    cd ${WRKDIR}/${DISTNAME}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>