aboutsummaryrefslogtreecommitdiffstats
path: root/science/py-mlpy/Makefile
blob: 5a82b42d7ea5e3c4c5a8fc4c68f154f8470a912e (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
28
29
30
# New ports collection makefile for:    py-mlpy
# Date created:     18 April, 2009
# Whom:         Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   mlpy
PORTVERSION=    2.1.0
PORTREVISION=   1
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
RUN_DEPENDS=    ${BUILD_DEPENDS}
LIB_DEPENDS=    gsl.14:${PORTSDIR}/math/gsl

CFLAGS+=    -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
MAKE_ENV+=  CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_PKGNAME=    MLPY

.include <bsd.port.mk>