Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 1999 12:05:09 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/15499: Update port: math/eispack
Message-ID:  <19991215200509.DADA3155F5@hub.freebsd.org>

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

>Number:         15499
>Category:       ports
>Synopsis:       Update port: math/eispack
>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:02 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        3.3-RELEASE i386
>Organization:
>Environment:
>Description:
* Fixed MASTER_SITES
* Moved makefile.lib to files/
* Rearrenged extract target
* Added WWW: line into pkg/DESCR

New file:
files/makefile.lib

Remove file:
makefile.lib  scripts/uncomp

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/math/eispack/Makefile math/eispack/Makefile
--- /usr/ports/math/eispack/Makefile	Wed Aug 25 19:19:31 1999
+++ math/eispack/Makefile	Thu Dec 16 04:20:55 1999
@@ -1,7 +1,7 @@
-# New ports collection makefile for:    eispack
-# Version required:     ?
-# Date created:         31 October 1994
-# Whom:                 ljo
+# New ports collection makefile for:	eispack
+# Version required:	?
+# Date created:		31 October 1994
+# Whom:			ljo
 #
 # $FreeBSD: ports/math/eispack/Makefile,v 1.22 1999/08/25 07:07:56 obrien Exp $
 #
@@ -9,19 +9,15 @@
 DISTNAME=	eispack
 PKGNAME=	eispack-1.0
 CATEGORIES=	math
-MASTER_SITES=	ftp://netlib.bell-labs.com/netlib/eispack/ \
-		ftp://www.hensa.ac.uk/mirrors/netlib/eispack/ \
-		ftp://elib.zib-berlin.de/pub/netlib/eispack/
+MASTER_SITES=	ftp://ftp.netlib.org/eispack/ \
+		ftp://netlib.bell-labs.com/netlib/eispack/ \
+		ftp://www.hensa.ac.uk/mirrors/netlib/eispack/
 
-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 =	csroot.f epslon.f pythag.f bakvec.f balanc.f balbak.f bandr.f \
@@ -39,11 +35,16 @@
 
 .include <bsd.port.pre.mk>
 
+do-extract:
+.for flle in ${SRCS}
+	@${GZCAT} ${_DISTDIR}/${file:.f=.f.gz} > ${WRKSRC}/${file}
+.endfor
+
 pre-build:
-	${CP} 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 libeispack.so.1.0 ${PREFIX}/lib/libeispack.so
 .endif
diff -urN /usr/ports/math/eispack/Makefile.lib math/eispack/Makefile.lib
--- /usr/ports/math/eispack/Makefile.lib	Thu Apr  3 10:14:21 1997
+++ math/eispack/Makefile.lib	Thu Jan  1 09:00:00 1970
@@ -1,24 +0,0 @@
-# EISPACK sources
-LIBDIR= ${PREFIX}/lib
-NOPROFILE= no
-
-SHLIB_MAJOR= 1
-SHLIB_MINOR= 0
-
-# removed otqlrat.f from the SRCS list, only one tqlrat routine can
-# be used in a library.
-# ATS 
-LIB=eispack
-SRCS =	csroot.f epslon.f pythag.f bakvec.f balanc.f balbak.f bandr.f \
-	bandv.f bisect.f bqr.f cbabk2.f cbal.f cg.f ch.f cinvit.f combak.f \
-	comhes.f comlr.f comlr2.f comqr.f comqr2.f cortb.f corth.f elmbak.f \
-	elmhes.f eltran.f figi.f figi2.f hqr.f hqr2.f htrib3.f htribk.f \
-	htrid3.f htridi.f imtql1.f imtql2.f imtqlv.f invit.f minfit.f \
-	ortbak.f orthes.f ortran.f qzhes.f qzit.f qzval.f qzvec.f \
-	ratqr.f rebak.f rebakb.f reduc.f reduc2.f rg.f rgg.f rs.f rsb.f \
-	rsg.f rsgab.f rsgba.f rsm.f rsp.f rst.f rt.f svd.f tinvit.f tql1.f \
-	tql2.f tqlrat.f trbak1.f trbak3.f tred1.f tred2.f tred3.f tridib.f \
-	tsturm.f cdiv.f
-CLEANFILES+= *.c
-
-.include <bsd.lib.mk>
diff -urN /usr/ports/math/eispack/files/Makefile.lib math/eispack/files/Makefile.lib
--- /usr/ports/math/eispack/files/Makefile.lib	Thu Jan  1 09:00:00 1970
+++ math/eispack/files/Makefile.lib	Thu Dec 16 01:51:09 1999
@@ -0,0 +1,24 @@
+# EISPACK sources
+LIBDIR= ${PREFIX}/lib
+NOPROFILE= no
+
+SHLIB_MAJOR= 1
+SHLIB_MINOR= 0
+
+# removed otqlrat.f from the SRCS list, only one tqlrat routine can
+# be used in a library.
+# ATS 
+LIB=eispack
+SRCS =	csroot.f epslon.f pythag.f bakvec.f balanc.f balbak.f bandr.f \
+	bandv.f bisect.f bqr.f cbabk2.f cbal.f cg.f ch.f cinvit.f combak.f \
+	comhes.f comlr.f comlr2.f comqr.f comqr2.f cortb.f corth.f elmbak.f \
+	elmhes.f eltran.f figi.f figi2.f hqr.f hqr2.f htrib3.f htribk.f \
+	htrid3.f htridi.f imtql1.f imtql2.f imtqlv.f invit.f minfit.f \
+	ortbak.f orthes.f ortran.f qzhes.f qzit.f qzval.f qzvec.f \
+	ratqr.f rebak.f rebakb.f reduc.f reduc2.f rg.f rgg.f rs.f rsb.f \
+	rsg.f rsgab.f rsgba.f rsm.f rsp.f rst.f rt.f svd.f tinvit.f tql1.f \
+	tql2.f tqlrat.f trbak1.f trbak3.f tred1.f tred2.f tred3.f tridib.f \
+	tsturm.f cdiv.f
+CLEANFILES+= *.c
+
+.include <bsd.lib.mk>
diff -urN /usr/ports/math/eispack/pkg/DESCR math/eispack/pkg/DESCR
--- /usr/ports/math/eispack/pkg/DESCR	Mon Oct 31 23:33:50 1994
+++ math/eispack/pkg/DESCR	Thu Dec 16 01:55:06 1999
@@ -13,3 +13,5 @@
 
 As the package is in FORTRAN there are no include files for the library,
 and the only thing to install is the library itself.
+
+WWW: http://www.netlib.org/eispack/
diff -urN /usr/ports/math/eispack/scripts/uncomp math/eispack/scripts/uncomp
--- /usr/ports/math/eispack/scripts/uncomp	Wed Jul  8 07:41:55 1998
+++ math/eispack/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?19991215200509.DADA3155F5>