freebsd-ports/math/py-symeig/Makefile
Martin Wilke e705ceace4 The symeig module contains a Python wrapper for the LAPACK functions to
solve the standard and generalized eigenvalue problems for symmetric
(hermitian) positive definite matrices. Those specialized algorithms give
an important speed-up with respect to the generic LAPACK eigenvalue
problem solver used by NumPy (linalg.eig and linalg.eigh).

WWW: http://mdp-toolkit.sourceforge.net/symeig.html

PR:		ports/127336
Submitted by:	Li-Lun Wang <llwang at infor.org>
2008-09-27 18:50:12 +00:00

40 lines
939 B
Makefile

# Ports collection makefile for: Symeig
# Date created: September 10, 2008
# Whom: Li-Lun Wang <llwang@infor.org>
#
# $FreeBSD$
#
PORTNAME= symeig
PORTVERSION= 1.4
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>