aboutsummaryrefslogtreecommitdiffstats
path: root/math/blas
diff options
context:
space:
mode:
Diffstat (limited to 'math/blas')
-rw-r--r--math/blas/Makefile37
-rw-r--r--math/blas/pkg-comment1
-rw-r--r--math/blas/pkg-descr5
-rw-r--r--math/blas/pkg-plist3
4 files changed, 46 insertions, 0 deletions
diff --git a/math/blas/Makefile b/math/blas/Makefile
new file mode 100644
index 000000000000..2e1e4cecddc2
--- /dev/null
+++ b/math/blas/Makefile
@@ -0,0 +1,37 @@
+DISTNAME= blas
+DISTDIR=${PORTSDIR}/distfiles/${DISTNAME}
+MASTER_SITES= ftp://netlib.att.com/netlib/blas/
+EXTRACT_CMD=scripts/uncomp
+EXTRACT_SUFX=.Z
+EXTRACT_ARGS= ${WRKDIR}
+WRKSRC=${WRKDIR}
+
+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:
+ chmod +x scripts/uncomp
+
+.include <bsd.port.mk>
+
diff --git a/math/blas/pkg-comment b/math/blas/pkg-comment
new file mode 100644
index 000000000000..04f8c08ebe4e
--- /dev/null
+++ b/math/blas/pkg-comment
@@ -0,0 +1 @@
+BLAS level 1, 2, and 3 (Basic Linear Algebra) \ No newline at end of file
diff --git a/math/blas/pkg-descr b/math/blas/pkg-descr
new file mode 100644
index 000000000000..9a21192c185c
--- /dev/null
+++ b/math/blas/pkg-descr
@@ -0,0 +1,5 @@
+This is BLAS 1, 2, and 3 from research.att.com. I cleaned up the makefile
+and created a second() function. This is used by linpack, eispack, and
+lapack.
+BLAS stands for Basic Linear Algebra (System?). It is a Fortran library, but
+can be called from C, C++, or whatever. \ No newline at end of file
diff --git a/math/blas/pkg-plist b/math/blas/pkg-plist
new file mode 100644
index 000000000000..c97ae40a3f75
--- /dev/null
+++ b/math/blas/pkg-plist
@@ -0,0 +1,3 @@
+@cwd /usr/local
+lib/libcor.a
+lib/libcor.so.1.0