aboutsummaryrefslogtreecommitdiff
path: root/math/linpack
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-23 19:28:01 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-23 19:28:01 +0000
commit1bb2e65783d7db50ebd5b994e9123eb0bdb19dd2 (patch)
treeca8fd59be1e0ff942c7f2dbee0d592a2d383a8e8 /math/linpack
parentd775e184d0114fc4790bd2ac292165aa9bd76625 (diff)
downloadports-1bb2e65783d7db50ebd5b994e9123eb0bdb19dd2.tar.gz
ports-1bb2e65783d7db50ebd5b994e9123eb0bdb19dd2.zip
Notes
Diffstat (limited to 'math/linpack')
-rw-r--r--math/linpack/Makefile30
-rw-r--r--math/linpack/pkg-descr2
2 files changed, 19 insertions, 13 deletions
diff --git a/math/linpack/Makefile b/math/linpack/Makefile
index 38bad7d1b235..7868a614c55c 100644
--- a/math/linpack/Makefile
+++ b/math/linpack/Makefile
@@ -1,7 +1,7 @@
-# New ports collection makefile for: linpack
-# Version required: ?
-# Date created: 31 October 1994
-# Whom: ljo
+# New ports collection makefile for: linpack
+# Version required: ?
+# Date created: 31 October 1994
+# Whom: ljo
#
# $FreeBSD$
#
@@ -9,17 +9,15 @@
DISTNAME= linpack
PKGNAME= linpack-1.0
CATEGORIES= math
-MASTER_SITES= ftp://netlib.bell-labs.com/netlib/linpack/
+MASTER_SITES= ftp://ftp.netlib.org/linpack/ \
+ ftp://netlib.bell-labs.com/netlib/linpack/ \
+ ftp://www.hensa.ac.uk/mirrors/netlib/linpack/
-DIST_SUBDIR= ${DISTNAME}
+MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= blas.1:${PORTSDIR}/math/blas
-EXTRACT_CMD= ${SH} ${SCRIPTDIR}/uncomp
-EXTRACT_SUFX= .gz
-EXTRACT_BEFORE_ARGS= ${WRKDIR}
-EXTRACT_AFTER_ARGS= # empty
-
+DIST_SUBDIR= ${DISTNAME}
NO_WRKSUBDIR= yes
SRCS = cchdc.f cchdd.f cchex.f cchud.f cgbco.f cgbdi.f cgbfa.f cgbsl.f \
@@ -50,11 +48,17 @@ DISTFILES= ${SRCS:.f=.f.gz}
.include <bsd.port.pre.mk>
+do-extract:
+ @${MKDIR} ${WRKDIR}
+.for file in ${SRCS}
+ @${GZCAT} ${_DISTDIR}/${file:.f=.f.gz} > ${WRKSRC}/${file}
+.endfor
+
pre-build:
- ${CP} ${FILESDIR}/Makefile.lib ${WRKDIR}/Makefile
+ ${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
post-install:
- ${LDCONFIG} -m ${PREFIX}/lib
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if ${PORTOBJFORMAT} == "aout"
${LN} -sf liblinpack.so.1.0 ${PREFIX}/lib/liblinpack.so
.endif
diff --git a/math/linpack/pkg-descr b/math/linpack/pkg-descr
index 29253078121f..6044fb7db2fa 100644
--- a/math/linpack/pkg-descr
+++ b/math/linpack/pkg-descr
@@ -2,3 +2,5 @@ Developed by Jack Dongarra, Jim Bunch, Cleve Moler and Pete Stewart.
1 Feb 84
Used as part of Matlab, and often used to benchmark machines.
Otherwise it is a very good linear algebra package.
+
+WWW: http://www.netlib.org/linpack/