aboutsummaryrefslogtreecommitdiffstats
path: root/math/lapack/Makefile
blob: 5304dee22227c9777de185ecc67f6dbe76c5a70c (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
# New ports collection makefile for:    lapack
# Version required:     2.0
# Date created:         2 July 1994
# Whom:                 jmz
#
# $Id: Makefile,v 1.3 1996/11/18 11:32:23 asami Exp $
#

DISTNAME=   LAPACK
PKGNAME=    lapack-2.0
CATEGORIES= math
MASTER_SITES=   ftp://ftp.netlib.org/lapack/
DISTFILES=  lapack.tar.gz manpages.tar.gz

MAINTAINER= jmz@FreeBSD.org

do-install:
    install -c -o bin -g bin ${WRKSRC}/BLAS/SRC/libblas.* ${PREFIX}/lib
    install -c -o bin -g bin ${WRKSRC}/SRC/liblapack.* ${PREFIX}/lib
    ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOMANCOMPRESS)
    cd ${WRKDIR}/blas/man/manl; \
       for i in *.l; do gzip -9f < $$i >${PREFIX}/man/manl/$$i.gz; done
    cd ${WRKDIR}/man/manl; \
       for i in *.l; do gzip -9f < $$i >${PREFIX}/man/manl/$$i.gz; done
.else
    cd ${WRKDIR}/blas/man/manl; \
       for i in *.l; do cp $$i ${PREFIX}/man/manl/; done
    cd ${WRKDIR}/man/manl; \
       for i in *.l; do cp $$i ${PREFIX}/man/manl/; done
.endif

.include <bsd.port.mk>