aboutsummaryrefslogtreecommitdiffstats
path: root/math/superlu/Makefile
blob: 7ad7f1d094c053d559e46aa1d6ea2f87e073c55a (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
# New ports collection makefile for:    SuperLU
# Date created:     31 Oct 97
# Whom:         Pedro Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#

PORTNAME=   superlu
PORTVERSION=    2.0.20020923
CATEGORIES= math
MASTER_SITES=   http://www.nersc.gov/~xiaoye/SuperLU/
DISTNAME=   ${PORTNAME}_2.0

MAINTAINER= ports@FreeBSD.org

BUILD_DEPENDS=  ${LOCALBASE}/lib/libblas.a:${PORTSDIR}/math/blas

WRKSRC=     ${WRKDIR}/SuperLU
ALL_TARGET= superlulib
#
#   NOTE:   The Matlab interface was not built.
#

do-install:
    ${INSTALL_DATA} ${WRKSRC}/libsuperlu.* ${PREFIX}/lib
    ${INSTALL_DATA} ${WRKSRC}/SRC/supermatrix.h ${PREFIX}/include
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/SuperLU
    ${INSTALL_DATA} ${WRKSRC}/INSTALL/*.ps ${PREFIX}/share/doc/SuperLU
.endif

.include <bsd.port.mk>