aboutsummaryrefslogtreecommitdiffstats
path: root/math/blas/Makefile
blob: cadde69ac1bf607cb4bbde961e40368af7be6ff3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# New ports collection makefile for:    blas
# Version required:     ?
# Date created:         27 October 1994
# Whom:                 ljo
#
# $Id: Makefile,v 1.10 1996/11/18 11:31:51 asami Exp $
#

DISTNAME=   blas
PKGNAME=    blas-1.0
CATEGORIES= math
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"

DIST_SUBDIR=    ${DISTNAME}

EXTRACT_CMD=    ${SCRIPTDIR}/uncomp
EXTRACT_SUFX=   .Z
EXTRACT_ARGS=   ${WRKDIR}

NO_WRKSUBDIR=   yes

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 ${SCRIPTDIR}/uncomp

post-install:
    ldconfig -m ${PREFIX}/lib

.include <bsd.port.mk>