aboutsummaryrefslogtreecommitdiffstats
path: root/science/py-scikit-sparse/Makefile
blob: d9d5e2c07298b567c9fbcf560c8f3ae253f80dff (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
# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$

PORTNAME=   scikit-sparse
PORTVERSION=    0.2
PORTREVISION=   5
CATEGORIES= science python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   scikits.sparse-${PORTVERSION}

MAINTAINER= yuri@FreeBSD.org
COMMENT=    Sparse matrix package

LICENSE=    BSD2CLAUSE

RUN_DEPENDS=    ${PYNUMPY} \
        ${PYTHON_SITELIBDIR}/scipy/version.py:science/py-scipy@${FLAVOR}
BUILD_DEPENDS=  ${RUN_DEPENDS}
LIB_DEPENDS=    libumfpack.so:math/suitesparse

USES=       fortran python
USE_PYTHON= autoplist distutils cython

CFLAGS+=    -I${LOCALBASE}/include
LDFLAGS+=   -shared

.include <bsd.port.mk>