1995-04-10 21:19:12 -04:00
|
|
|
# New ports collection makefile for: blas
|
|
|
|
# Version required: ?
|
|
|
|
# Date created: 27 October 1994
|
|
|
|
# Whom: ljo
|
|
|
|
#
|
1997-04-02 20:10:59 -05:00
|
|
|
# $Id: Makefile,v 1.10 1996/11/18 11:31:51 asami Exp $
|
1995-04-10 21:19:12 -04:00
|
|
|
#
|
|
|
|
|
1994-10-27 11:05:16 -04:00
|
|
|
DISTNAME= blas
|
1995-04-22 07:30:15 -04:00
|
|
|
PKGNAME= blas-1.0
|
1996-11-18 06:44:27 -05:00
|
|
|
CATEGORIES= math
|
1997-04-02 20:10:59 -05:00
|
|
|
MASTER_SITES= ftp://netlib.bell-labs.com/netlib/blas/ \
|
|
|
|
ftp://ftp.netlib.org/blas/
|
|
|
|
|
|
|
|
# NOTE:
|
|
|
|
# The files [dir]1mach.f were updated on the master site but
|
|
|
|
# FreeBSD's f77 can't handle them. patches/patch-aa reverts
|
|
|
|
# these files to a previous revision but should be removed when
|
|
|
|
# FreeBSD's f77 gets fixed.
|
|
|
|
#
|
|
|
|
# The alternative is:
|
|
|
|
#BROKEN= "Our f77 cannot compile d1mach.f"
|
1996-03-10 04:01:03 -05:00
|
|
|
|
|
|
|
DIST_SUBDIR= ${DISTNAME}
|
1995-04-10 21:19:12 -04:00
|
|
|
|
1997-04-02 20:10:59 -05:00
|
|
|
EXTRACT_CMD= ${SCRIPTDIR}/uncomp
|
|
|
|
EXTRACT_SUFX= .Z
|
|
|
|
EXTRACT_ARGS= ${WRKDIR}
|
1995-04-10 21:19:12 -04:00
|
|
|
|
1996-03-10 04:01:03 -05:00
|
|
|
NO_WRKSUBDIR= yes
|
1994-10-27 11:05:16 -04:00
|
|
|
|
|
|
|
SRCS = caxpy.f cblas1.f cblas2.f ccopy.f cdotc.f cdotu.f cgbmv.f cgemv.f \
|
|
|
|
cgerc.f cgeru.f chbmv.f chemv.f cher.f cher2.f chpmv.f chpr.f \
|
|
|
|
chpr2.f cmach.f crotg.f cscal.f csrot.f csscal.f cswap.f ctbmv.f \
|
|
|
|
ctbsv.f ctpmv.f ctpsv.f ctrmv.f ctrsv.f d1mach.f dasum.f daxpy.f \
|
|
|
|
dblas1.f dblas2.f dcopy.f ddot.f dgbmv.f dgemv.f dger.f dmach.f \
|
|
|
|
dnrm2.f drot.f drotg.f dsbmv.f dscal.f dspmv.f dspr.f dspr2.f \
|
|
|
|
dswap.f dsymv.f dsyr.f dsyr2.f dtbmv.f dtbsv.f dtpmv.f dtpsv.f \
|
|
|
|
dtrmv.f dtrsv.f esblas2.f esgbmv.f esgemv.f esger.f essbmv.f \
|
|
|
|
esspmv.f esspr.f esspr2.f essymv.f essyr.f essyr2.f estbmv.f \
|
|
|
|
estbsv.f estpmv.f estpsv.f estrmv.f estrsv.f \
|
|
|
|
i1mach.f \
|
|
|
|
icamax.f idamax.f isamax.f lsame.f r1mach.f sasum.f saxpy.f \
|
|
|
|
sblas1.f sblas2.f scasum.f scnrm2.f scopy.f sdot.f sgbmv.f sgemv.f \
|
|
|
|
sger.f smach.f snrm2.f srot.f srotg.f ssbmv.f sscal.f sspmv.f \
|
|
|
|
sspr.f sspr2.f sswap.f ssymv.f ssyr.f ssyr2.f stbmv.f stbsv.f \
|
|
|
|
stpmv.f stpsv.f strmv.f strsv.f xerbla.f
|
|
|
|
|
|
|
|
# fdump.f
|
|
|
|
|
|
|
|
DISTFILES= ${SRCS:.f=.f.Z}
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
cp Makefile.lib ${WRKDIR}/Makefile
|
|
|
|
|
|
|
|
pre-extract:
|
1997-04-02 20:10:59 -05:00
|
|
|
chmod +x ${SCRIPTDIR}/uncomp
|
1995-01-27 02:06:03 -05:00
|
|
|
|
1995-06-24 07:42:32 -04:00
|
|
|
post-install:
|
|
|
|
ldconfig -m ${PREFIX}/lib
|
1994-10-27 11:05:16 -04:00
|
|
|
|
1995-06-24 07:42:32 -04:00
|
|
|
.include <bsd.port.mk>
|