summaryrefslogtreecommitdiff
path: root/math/umfpack/Makefile
blob: 90d00639b5c7999cc77ce83eade847b082be48b0 (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
# New ports collection makefile for:	UMFPACK
# Date created:		5 Nov 97
# Whom:			Pedro Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#

PORTNAME=	umfpack
PORTVERSION=	2.2.1
CATEGORIES=	math
MASTER_SITES=	ftp://ftp.cise.ufl.edu/pub/faculty/davis/umfpack/
DISTNAME=	UMFPACK${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Unsymmetric-pattern Multifrontal Package

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

NO_CDROM=	'Must not be sold'
ALL_TARGET=	libumfpack.a

do-install:
	${INSTALL_DATA} ${WRKSRC}/libumfpack.a ${PREFIX}/lib
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/umfpack
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/umfpack
	${GZIP_CMD} ${PREFIX}/share/doc/umfpack/README
.endif

.include <bsd.port.mk>