aboutsummaryrefslogtreecommitdiffstats
path: root/math/blas/Makefile
blob: 2e3a04214039a30a1756b8bdec82cf508ad3e642 (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
# New ports collection makefile for:    blas
# Date created:         27 October 1994
# Whom:                 ljo
#
# $FreeBSD$
#

PORTNAME=   blas
PORTVERSION=    1.0
PORTREVISION=   2
CATEGORIES= math
MASTER_SITES=   http://www.netlib.org/blas/ \
        ftp://ftp.mirrorservice.org/sites/netlib.bell-labs.com/netlib/blas/ \
        ftp://netlib.bell-labs.com/netlib/blas/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .tgz

MAINTAINER= maho@FreeBSD.org
COMMENT=    Basic Linear Algebra, level 1, 2, and 3

USE_LDCONFIG=   yes
USE_FORTRAN=    yes
WRKSRC=     ${WRKDIR}/BLAS

PLIST_FILES=    lib/libblas.a lib/libblas.so lib/libblas.so.2

do-configure:
    @${INSTALL_DATA} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile
    @${REINPLACE_CMD} -e 's+@FFLAGS@+${FFLAGS}+g' ${WRKSRC}/Makefile

.include <bsd.port.mk>