aboutsummaryrefslogtreecommitdiffstats
path: root/math/lapack/Makefile
blob: 89be1300fe7887eac3ab4cc3e9242724d966ec1b (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.1.1.1 1996/06/07 15:39:53 jmz 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
    /sbin/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>