diff options
author | steve <steve@FreeBSD.org> | 1999-12-24 03:25:48 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-12-24 03:25:48 +0800 |
commit | 60df32c4b504df661bc582049b0bb5c6eb670d3e (patch) | |
tree | f78f1c16424b1e3cfcc1797feeab1e20ceae838a /math | |
parent | 7c59b97ea70d01d1f1f9616c11c5c84beeebf36a (diff) | |
download | freebsd-ports-gnome-60df32c4b504df661bc582049b0bb5c6eb670d3e.tar.gz freebsd-ports-gnome-60df32c4b504df661bc582049b0bb5c6eb670d3e.tar.zst freebsd-ports-gnome-60df32c4b504df661bc582049b0bb5c6eb670d3e.zip |
* Fixed MASTER_SITES
* Moved makefile.lib to files/
* Rearranged extract target
* Added WWW: line into pkg/DESCR
PR: 15499
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'math')
-rw-r--r-- | math/eispack/Makefile | 32 | ||||
-rw-r--r-- | math/eispack/files/Makefile.lib | 24 | ||||
-rw-r--r-- | math/eispack/pkg-descr | 2 |
3 files changed, 43 insertions, 15 deletions
diff --git a/math/eispack/Makefile b/math/eispack/Makefile index 15d81d6926da..5dd567154e4e 100644 --- a/math/eispack/Makefile +++ b/math/eispack/Makefile @@ -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$ # @@ -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,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} 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 --git a/math/eispack/files/Makefile.lib b/math/eispack/files/Makefile.lib new file mode 100644 index 000000000000..079bafa60e2d --- /dev/null +++ b/math/eispack/files/Makefile.lib @@ -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 --git a/math/eispack/pkg-descr b/math/eispack/pkg-descr index 02e4215b6d3c..2937097c2bbb 100644 --- a/math/eispack/pkg-descr +++ b/math/eispack/pkg-descr @@ -13,3 +13,5 @@ it is otherwise the same. The package is described in: 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/ |