summaryrefslogtreecommitdiff
path: root/math/blas/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-02-02 00:25:22 +0000
committerSteve Price <steve@FreeBSD.org>1998-02-02 00:25:22 +0000
commitfb6e99d86c68876091e8e04601dba7e285b46e27 (patch)
treee48624778e6e1a31ce8c403f86255efdbc86b101 /math/blas/Makefile
parentRemove ${MASTER_SITE_SUNSITE} from MASTER_SITES and use sunsite (diff)
update this port per PR and portlint.
PR: 5120 Submitted by: Pedro F. Giffuni <giffunip@asme.org>
Notes
Notes: svn path=/head/; revision=9563
Diffstat (limited to 'math/blas/Makefile')
-rw-r--r--math/blas/Makefile57
1 files changed, 15 insertions, 42 deletions
diff --git a/math/blas/Makefile b/math/blas/Makefile
index dd71f6b0b4fa..ffda1fd24eb7 100644
--- a/math/blas/Makefile
+++ b/math/blas/Makefile
@@ -3,60 +3,33 @@
# Date created: 27 October 1994
# Whom: ljo
#
-# $Id: Makefile,v 1.11 1997/04/03 01:10:59 fenner Exp $
+# $Id: Makefile,v 1.12 1997/07/17 15:12:52 max Exp $
#
DISTNAME= blas
PKGNAME= blas-1.0
CATEGORIES= math
-MASTER_SITES= ftp://netlib.bell-labs.com/netlib/blas/ \
- ftp://ftp.netlib.org/blas/
+MASTER_SITES= ftp://netlib.bell-labs.com/netlib/
+EXTRACT_SUFX= .tar
-# 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"
-
-DIST_SUBDIR= ${DISTNAME}
-
-EXTRACT_CMD= ${SCRIPTDIR}/uncomp
-EXTRACT_SUFX= .Z
-EXTRACT_ARGS= ${WRKDIR}
+MAINTAINER= ports@FreeBSD.org
-NO_WRKSUBDIR= yes
+# ${DISTFILES} is automatically created from the directory contents
+IGNOREFILES= ${DISTFILES}
+EXTRACT_BEFORE_ARGS= -xvf
-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}
+post-extract:
+ ${GUNZIP_CMD} ${WRKSRC}/*.f.gz
pre-build:
- cp Makefile.lib ${WRKDIR}/Makefile
-
-pre-extract:
- chmod +x ${SCRIPTDIR}/uncomp
+ ${RM} ${WRKSRC}/.depend
+ ${CP} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile
post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/blas
+ ${CP} ${WRKSRC}/*.ps.gz $(PREFIX)/share/doc/blas/
+.endif
${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>