blob: 94626a0c131df23050ca4fbe753505c317c6094d (
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
|
# Ports collection makefile for: Symeig
# Date created: September 10, 2008
# Whom: Li-Lun Wang <llwang@infor.org>
#
# $FreeBSD$
#
PORTNAME= symeig
PORTVERSION= 1.4
PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mdp-toolkit
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= llwang@infor.org
COMMENT= Symmetrical eigenvalue routines for NumPy
BUILD_DEPENDS+= ${PYNUMPY}
RUN_DEPENDS+= ${PYNUMPY}
LATEST_LINK= py-${PORTNAME}
OPTIONSFILE= ${PORT_DBDIR}/py-numpy/options
USE_FORTRAN= yes
USE_PYTHON= 2.4+
USE_PYDISTUTILS= yes
OPTIONS= ATLAS "Use optimized blas library" OFF
.if defined(WITH_ATLAS)
LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas
.if !exists(${LOCALBASE}/lib/libalapack.a)
IGNORE= atlas needs to be built with WITH_STATICLIB for scipy to function properly
.endif
.else
LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack \
blas.2:${PORTSDIR}/math/blas
.endif
.include <bsd.port.mk>
|