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

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

MAINTAINER= yuri@rawbw.com
COMMENT=    Sparse matrix package

LICENSE=    BSD2CLAUSE

RUN_DEPENDS=    ${PYNUMPY} \
        ${PYTHON_SITELIBDIR}/scipy/version.py:science/py-scipy
BUILD_DEPENDS=  ${RUN_DEPENDS} \
        cython>0:lang/cython
LIB_DEPENDS=    libumfpack.so:math/suitesparse

USES=       fortran python
USE_PYTHON= autoplist distutils

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

.include <bsd.port.mk>