Lines 1-20
Link Here
|
1 |
# New ports collection makefile for: SuperLU |
1 |
# New ports collection makefile for: SuperLU |
2 |
# Version required: 1.1 |
2 |
# Version required: 2.0 |
3 |
# Date created: 31 Oct 97 |
3 |
# Date created: 31 Oct 97 |
4 |
# Whom: Pedro Giffuni <giffunip@asme.org> |
4 |
# Whom: Pedro Giffuni <giffunip@asme.org> |
5 |
# |
5 |
# |
6 |
# $FreeBSD: ports/math/superlu/Makefile,v 1.6 1999/08/25 07:16:08 obrien Exp $ |
6 |
# $FreeBSD: ports/math/superlu/Makefile,v 1.6 1999/08/25 07:16:08 obrien Exp $ |
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
DISTNAME= superlu_1.1 |
9 |
DISTNAME= superlu_2.0 |
10 |
PKGNAME= superlu-1.1 |
10 |
PKGNAME= superlu-2.0 |
11 |
CATEGORIES= math |
11 |
CATEGORIES= math |
12 |
MASTER_SITES= ftp://ftp.cs.berkeley.edu/pub/lapack/SuperLU/ \ |
12 |
MASTER_SITES= http://www.nersc.gov/~xiaoye/SuperLU/ |
13 |
ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/cs.berkeley.edu/lapack/SuperLU/ |
|
|
14 |
|
13 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
16 |
|
15 |
|
17 |
BUILD_DEPENDS= ${PREFIX}/lib/libblas.a:${PORTSDIR}/math/blas |
16 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libblas.a:${PORTSDIR}/math/blas |
18 |
|
17 |
|
19 |
WRKSRC= ${WRKDIR}/SuperLU |
18 |
WRKSRC= ${WRKDIR}/SuperLU |
20 |
ALL_TARGET= superlulib |
19 |
ALL_TARGET= superlulib |
Lines 22-32
Link Here
|
22 |
# NOTE: The Matlab interface was not built. |
21 |
# NOTE: The Matlab interface was not built. |
23 |
# |
22 |
# |
24 |
|
23 |
|
25 |
post-install: |
24 |
do-install: |
26 |
$(INSTALL_DATA) ${WRKSRC}/libsuperlu.* ${PREFIX}/lib |
25 |
${INSTALL_DATA} ${WRKSRC}/libsuperlu.* ${PREFIX}/lib |
27 |
$(INSTALL_DATA) ${WRKSRC}/SRC/supermatrix.h ${PREFIX}/include |
26 |
${INSTALL_DATA} ${WRKSRC}/SRC/supermatrix.h ${PREFIX}/include |
28 |
.if !defined(NOPORTDOCS) |
27 |
.if !defined(NOPORTDOCS) |
29 |
${MKDIR} ${PREFIX}/share/doc/SuperLU |
28 |
@${MKDIR} ${PREFIX}/share/doc/SuperLU |
30 |
${INSTALL_DATA} ${WRKSRC}/INSTALL/*.ps ${PREFIX}/share/doc/SuperLU |
29 |
${INSTALL_DATA} ${WRKSRC}/INSTALL/*.ps ${PREFIX}/share/doc/SuperLU |
31 |
.endif |
30 |
.endif |
|
|
31 |
|
32 |
.include <bsd.port.mk> |
32 |
.include <bsd.port.mk> |