aboutsummaryrefslogtreecommitdiffstats
path: root/math/libranlib/Makefile
blob: e1647bcbda71cbede523417229f4e70946105366 (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
# 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= tg@FreeBSD.org
COMMENT=    Library of Routines for Random Number Generation

USE_LDCONFIG=   yes
MAKE_ENV=   NOPROFILE=true
WRKSRC=     ${WRKDIR}/${DISTNAME}/src

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

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

.include <bsd.port.mk>