Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 1999 12:06:12 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/15500: Update port: math/linpack
Message-ID:  <19991215200612.131CE15601@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         15500
>Category:       ports
>Synopsis:       Update port: math/linpack
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 15 12:10:03 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        3.3-RELEASE i386
>Organization:
>Environment:
>Description:
* Added secondary sites to MASTER_SITES
* Rearrenged extract target
* Added WWW: line into pkg/DESCR

Remove file:
scripts/uncomp

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/math/linpack/Makefile math/linpack/Makefile
--- /usr/ports/math/linpack/Makefile	Sun Sep 26 07:16:42 1999
+++ math/linpack/Makefile	Thu Dec 16 04:21:14 1999
@@ -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: ports/math/linpack/Makefile,v 1.22 1999/09/25 17:57:03 steve Exp $
 #
@@ -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,16 @@
 
 .include <bsd.port.pre.mk>
 
+do-extract:
+.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 -urN /usr/ports/math/linpack/pkg/DESCR math/linpack/pkg/DESCR
--- /usr/ports/math/linpack/pkg/DESCR	Mon Oct 31 23:10:50 1994
+++ math/linpack/pkg/DESCR	Thu Dec 16 01:47:51 1999
@@ -2,3 +2,5 @@
  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/
diff -urN /usr/ports/math/linpack/scripts/uncomp math/linpack/scripts/uncomp
--- /usr/ports/math/linpack/scripts/uncomp	Wed Jul  8 07:41:56 1998
+++ math/linpack/scripts/uncomp	Thu Jan  1 09:00:00 1970
@@ -1,6 +0,0 @@
-#!/bin/sh
-outdir=$1
-infile=$2
-outfile=`basename $infile .gz`
-echo Uncompressing $infile to $outdir/$outfile
-gzcat $infile > $outdir/$outfile


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991215200612.131CE15601>