summaryrefslogtreecommitdiff
path: root/math/randlib/Makefile
blob: 3aa2e9e295d98ceb6681a37c49dfd33d4c5700d5 (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
# New ports collection makefile for:	ranlib
# Version required:	?
# Date created:		06 April 1997
# Whom:			Thomas Gellekum <tg@FreeBSD.ORG>
#
# $Id: Makefile,v 1.1.1.1 1997/04/07 07:02:50 tg Exp $
#

DISTNAME=	ranlib.c
PKGNAME=	ranlib-1.0
CATEGORIES=	math
MASTER_SITES=	ftp://ftp.netlib.org/random/

MAINTAINER=	tg@FreeBSD.ORG

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
	@${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.mk>