# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD: tags/RELEASE_11_0_0/science/py-mlpy/Makefile 412349 2016-04-01 14:25:16Z mat $

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=	${PYNUMPY} \
		cython>0:lang/cython
RUN_DEPENDS:=	${BUILD_DEPENDS}
LIB_DEPENDS=	libgsl.so: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>
