# New ports collection makefile for:	SuperLU
# Version required:	1.1
# Date created:         31 Oct 97
# Whom:                 Pedro Giffuni <giffunip@asme.org>
#
# $Id: Makefile,v 1.1.1.1 1998/08/09 23:54:16 steve Exp $
#

DISTNAME=	superlu_1.1
PKGNAME=	superlu-1.1
CATEGORIES=	math
MASTER_SITES=	ftp://ftp.cs.berkeley.edu/pub/src/lapack/SuperLU/	\
		http://www.netlib.org/scalapack/prototype/

MAINTAINER=	ports@FreeBSD.org

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

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

post-install:
	$(INSTALL_DATA) ${WRKSRC}/libsuperlu.* ${PREFIX}/lib
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/SuperLU
	${INSTALL_DATA} ${WRKSRC}/INSTALL/*.ps ${PREFIX}/share/doc/SuperLU
.endif
.include <bsd.port.mk>
