aboutsummaryrefslogtreecommitdiffstats
path: root/science/py-mlpy/Makefile
blob: 40dcdc13dd21b4532a1b84648a41e8ed8bcb46df (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=    2.2.2
PORTREVISION=   2
CATEGORIES= science python
MASTER_SITES=   https://mlpy.fbk.eu/download/src/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   MLPY-${PORTVERSION}

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

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

CFLAGS+=    -I${LOCALBASE}/include -I${PYTHON_SITELIBDIR}/numpy/core
LDFLAGS+=   -L${LOCALBASE}/lib
USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_PKGNAME=    MLPY

NO_STAGE=   yes
.include <bsd.port.mk>