aboutsummaryrefslogtreecommitdiffstats
path: root/math/taucs/Makefile
blob: 8bd82508d8b7d349f43ee4b0c877b56c59eee4ab (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
36
37
# New ports collection makefile for:    taucs
# Date created:     5 July 2003
# Whom:         Pedro Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#

PORTNAME=   taucs
PORTVERSION=    2.2
CATEGORIES= math
MASTER_SITES=   http://www.tau.ac.il/~stoledo/taucs/${PORTVERSION}/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    C library of sparse linear solvers

BUILD_DEPENDS=  ${LOCALBASE}/lib/libf77blas.a:${PORTSDIR}/math/atlas \
        ${LOCALBASE}/lib/liblapack.a:${PORTSDIR}/math/lapack \
        ${LOCALBASE}/lib/libmetis.a:${PORTSDIR}/math/metis

NO_WRKSUBDIR=   yes
HAS_CONFIGURE=  yes
MAKEFILE=   makefile
ALL_TARGET=

do-install:
    @${INSTALL_DATA} ${WRKSRC}/lib/FreeBSD/libtaucs.a ${PREFIX}/lib
    @${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/direct ${PREFIX}/bin
    @${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/iter ${PREFIX}/bin

.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCSDIR}
.endif

.include <bsd.port.mk>