mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
004a7c5ac2
math/atlas-devel will be updated to use the same constructs at a later date PR: 162706 Approved by: miwi (portmgr) Feature safe: yes
41 lines
925 B
Makefile
41 lines
925 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= 2
|
|
CATEGORIES= math python
|
|
MASTER_SITES= SF/mdp-toolkit/mdp-toolkit/2.3
|
|
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_STATIC for symeig to function properly
|
|
.endif
|
|
.else
|
|
LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack \
|
|
blas.2:${PORTSDIR}/math/blas
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|