2008-09-27 20:52:29 +02:00
|
|
|
# Ports collection makefile for: mdp
|
|
|
|
# Date created: September 9, 2008
|
|
|
|
# Whom: Li-Lun Wang <llwang@infor.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mdp
|
2012-08-08 23:27:15 +02:00
|
|
|
PORTVERSION= 3.2
|
2008-09-27 20:52:29 +02:00
|
|
|
CATEGORIES= science python
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}-toolkit/${PORTNAME}-toolkit/${PORTVERSION}
|
2008-09-27 20:52:29 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ${PORTNAME:U}-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= llwang@infor.org
|
|
|
|
COMMENT= Modular toolkit for Data Processing
|
|
|
|
|
2012-08-08 23:27:15 +02:00
|
|
|
LICENSE= BSD
|
2008-09-27 20:52:29 +02:00
|
|
|
|
2012-08-08 23:27:15 +02:00
|
|
|
RUN_DEPENDS= ${PYNUMPY}
|
|
|
|
|
|
|
|
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= LIBSVM PP SCIPY
|
|
|
|
|
|
|
|
LIBSVM_DESC= Provide the LibSVMClassifier node
|
|
|
|
PP_DESC= Provide the Parallel Python PPScheduler
|
|
|
|
SCIPY_DESC= Instal SciPy versions of eigensolver, FFT and convolution
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MLIBSVM}
|
|
|
|
RUN_DEPENDS+= libsvm>2.91:${PORTSDIR}/science/libsvm \
|
|
|
|
libsvm-python>2.91:${PORTSDIR}/science/libsvm-python
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MPP}
|
|
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pp>0:${PORTSDIR}/devel/py-pp
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MSCIPY}
|
|
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}scipy>=0.5.2:${PORTSDIR}/science/py-scipy
|
|
|
|
.endif
|
|
|
|
|
|
|
|
#Python3 ready
|
2011-02-25 01:47:51 +01:00
|
|
|
USE_PYTHON= 2.5+
|
2008-09-27 20:52:29 +02:00
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
PYDISTUTILS_EGGINFO= ${PYDISTUTILS_PKGNAME:C/[^A-Za-z0-9.]+/_/g:U}-${PYDISTUTILS_PKGVERSION:C/[^A-Za-z0-9.]+/_/g}-${PYTHON_VERSION:S/thon//}.egg-info
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|