aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-12-24 03:28:01 +0800
committersteve <steve@FreeBSD.org>1999-12-24 03:28:01 +0800
commit9fc08c918b78ae1372fc7cc6e458114bffebb232 (patch)
tree7f5f89a11ec6264dc9ab88327518b1310d2ff396 /math
parent60df32c4b504df661bc582049b0bb5c6eb670d3e (diff)
downloadfreebsd-ports-gnome-9fc08c918b78ae1372fc7cc6e458114bffebb232.tar.gz
freebsd-ports-gnome-9fc08c918b78ae1372fc7cc6e458114bffebb232.tar.zst
freebsd-ports-gnome-9fc08c918b78ae1372fc7cc6e458114bffebb232.zip
* Added secondary sites to MASTER_SITES
* Rearranged extract target * Added WWW: line to pkg/DESCR PR: 15500 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'math')
-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/