aboutsummaryrefslogtreecommitdiffstats
path: root/math/laspack/Makefile
blob: d782e5e9a32ef81d55d405349e997f224de98f52 (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
# New ports collection makefile for:    LASPack
# Date created:         27 July 2005
# Whom:         giffunip
#
# $FreeBSD$
#

PORTNAME=   laspack
PORTVERSION=    1.12.2
CATEGORIES= math
MASTER_SITES=   ftp://netlib.bell-labs.com/netlib/linalg/   \
        ftp://www.hensa.ac.uk/mirrors/netlib/linalg/    \
        http://www.netlib.org/linalg/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Package for solving large sparse systems of linear equations

USE_REINPLACE=  yes
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE=   makefile

post-patch:
    @${REINPLACE_CMD} -e 's+/usr/local+${LOCALBASE}+g' ${WRKSRC}/${MAKEFILE}

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${DOCSDIR}
.endif

.include <bsd.port.mk>