freebsd-ports/math/py-symeig/Makefile

42 lines
955 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
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>