aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-symeig/Makefile
blob: 6c0b7e064a84c211c8cbd41ce30aac922a612b2f (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
# Created by: Li-Lun Wang <llwang@infor.org>
# $FreeBSD$

PORTNAME=   symeig
PORTVERSION=    1.5
CATEGORIES= math python
MASTER_SITES=   SF/mdp-toolkit/mdp-toolkit/2.4
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= 5u623l20@gmail.com
COMMENT=    Symmetrical eigenvalue routines for NumPy

LICENSE=    BSD3CLAUSE

BUILD_DEPENDS+= ${PYNUMPY}
RUN_DEPENDS+=   ${PYNUMPY}

LATEST_LINK=    py-${PORTNAME}
OPTIONSFILE=    ${PORT_DBDIR}/py-numpy/options

USES=       fortran
USE_PYTHON= 2
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST=  yes

OPTIONS_DEFINE= ATLAS
ATLAS_DESC= Use optimized blas library

ATLAS_LIB_DEPENDS=  libatlas.so:${PORTSDIR}/math/atlas
ATLAS_LIB_DEPENDS_OFF=  libblas.so:${PORTSDIR}/math/blas \
            liblapack.so:${PORTSDIR}/math/lapack

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MATLAS} && !exists(${LOCALBASE}/lib/libalapack.a)
IGNORE=     atlas needs to be built with WITH_STATIC for symeig to function properly
.endif

.include <bsd.port.mk>