1999-12-23 19:25:48 +00:00
|
|
|
# New ports collection makefile for: eispack
|
|
|
|
# Version required: ?
|
|
|
|
# Date created: 31 October 1994
|
|
|
|
# Whom: ljo
|
1995-04-11 01:19:12 +00:00
|
|
|
#
|
1999-08-25 07:23:21 +00:00
|
|
|
# $FreeBSD$
|
1995-04-11 01:19:12 +00:00
|
|
|
#
|
|
|
|
|
1994-10-31 14:33:50 +00:00
|
|
|
DISTNAME= eispack
|
1995-04-22 11:30:15 +00:00
|
|
|
PKGNAME= eispack-1.0
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= math
|
1999-12-23 19:25:48 +00:00
|
|
|
MASTER_SITES= ftp://ftp.netlib.org/eispack/ \
|
|
|
|
ftp://netlib.bell-labs.com/netlib/eispack/ \
|
|
|
|
ftp://www.hensa.ac.uk/mirrors/netlib/eispack/
|
1996-03-10 09:01:03 +00:00
|
|
|
|
1999-12-23 19:25:48 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1995-04-11 01:19:12 +00:00
|
|
|
|
1998-09-28 10:49:21 +00:00
|
|
|
LIB_DEPENDS= blas.1:${PORTSDIR}/math/blas
|
1997-04-03 01:17:25 +00:00
|
|
|
|
1999-12-23 19:25:48 +00:00
|
|
|
DIST_SUBDIR= ${DISTNAME}
|
1996-03-10 09:01:03 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
1994-10-31 14:33:50 +00:00
|
|
|
|
|
|
|
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 otqlrat.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
|
|
|
|
|
1998-07-07 18:40:47 +00:00
|
|
|
DISTFILES= ${SRCS:.f=.f.gz}
|
1994-10-31 14:33:50 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1999-12-23 19:25:48 +00:00
|
|
|
do-extract:
|
|
|
|
@${MKDIR} ${WRKDIR}
|
|
|
|
.for file in ${SRCS}
|
|
|
|
@${GZCAT} ${_DISTDIR}/${file:.f=.f.gz} > ${WRKSRC}/${file}
|
|
|
|
.endfor
|
|
|
|
|
1994-10-31 14:33:50 +00:00
|
|
|
pre-build:
|
1999-12-23 19:25:48 +00:00
|
|
|
${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
|
1994-10-31 14:33:50 +00:00
|
|
|
|
1995-06-24 11:42:32 +00:00
|
|
|
post-install:
|
1999-12-23 19:25:48 +00:00
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1998-11-14 09:43:39 +00:00
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
|
|
|
${LN} -sf libeispack.so.1.0 ${PREFIX}/lib/libeispack.so
|
|
|
|
.endif
|
1995-06-24 11:42:32 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.post.mk>
|