1998-08-09 23:54:16 +00:00
|
|
|
# New ports collection makefile for: SuperLU
|
1999-12-23 19:30:26 +00:00
|
|
|
# Date created: 31 Oct 97
|
|
|
|
# Whom: Pedro Giffuni <giffunip@asme.org>
|
1998-08-09 23:54:16 +00:00
|
|
|
#
|
1999-08-25 07:23:21 +00:00
|
|
|
# $FreeBSD$
|
1998-08-09 23:54:16 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 07:20:58 +00:00
|
|
|
PORTNAME= superlu
|
|
|
|
PORTVERSION= 2.0
|
1998-08-09 23:54:16 +00:00
|
|
|
CATEGORIES= math
|
1999-12-23 19:30:26 +00:00
|
|
|
MASTER_SITES= http://www.nersc.gov/~xiaoye/SuperLU/
|
2000-04-14 07:20:58 +00:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
1998-08-09 23:54:16 +00:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
1999-12-23 19:30:26 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libblas.a:${PORTSDIR}/math/blas
|
1998-08-09 23:54:16 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/SuperLU
|
|
|
|
ALL_TARGET= superlulib
|
|
|
|
#
|
|
|
|
# NOTE: The Matlab interface was not built.
|
|
|
|
#
|
|
|
|
|
1999-12-23 19:30:26 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libsuperlu.* ${PREFIX}/lib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/SRC/supermatrix.h ${PREFIX}/include
|
1998-08-09 23:54:16 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
1999-12-23 19:30:26 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/SuperLU
|
1998-08-09 23:54:16 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/INSTALL/*.ps ${PREFIX}/share/doc/SuperLU
|
|
|
|
.endif
|
1999-12-23 19:30:26 +00:00
|
|
|
|
1998-08-09 23:54:16 +00:00
|
|
|
.include <bsd.port.mk>
|