aboutsummaryrefslogtreecommitdiffstats
path: root/science/py-mlpy/Makefile
blob: ed3c65a48656be35275b4f936d347673cd70ea6e (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
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$

PORTNAME=   mlpy
PORTVERSION=    3.5.0
PORTREVISION=   2
CATEGORIES= science python
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= wen@FreeBSD.org
COMMENT=    High performance Python package for predictive modeling

LICENSE=    GPLv3

BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \
        cython>0:${PORTSDIR}/lang/cython
RUN_DEPENDS:=   ${BUILD_DEPENDS}
LIB_DEPENDS=    libgsl.so:${PORTSDIR}/math/gsl

USE_LDCONFIG=   yes
CFLAGS+=    -I${LOCALBASE}/include -I${PYTHON_SITELIBDIR}/numpy/core
LDFLAGS+=   -L${LOCALBASE}/lib
USES=       python
USE_PYTHON= distutils autoplist

.include <bsd.port.mk>