aboutsummaryrefslogtreecommitdiff
path: root/science/nest/Makefile
blob: 29fa2aa073b122eff531301f5bda6b999393b207 (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
31
32
33
34
PORTNAME=	nest
DISTVERSIONPREFIX=	v
DISTVERSION=	2.20.1
PORTREVISION=	1
CATEGORIES=	science biology # NEST is used in neuroscience

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Simulator for spiking neural network models

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_i386=	https://github.com/nest/nest-simulator/issues/1205

LIB_DEPENDS=	libgsl.so:math/gsl \
		libltdl.so:devel/libltdl

USES=		cmake compiler:c++11-lang ncurses pkgconfig readline
USE_GITHUB=	yes
GH_PROJECT=	nest-simulator
USE_LDCONFIG=	yes

OPTIONS_DEFINE=		PYTHON DOCS
OPTIONS_DEFAULT=	PYTHON
OPTIONS_SUB=		yes

PYTHON_CMAKE_BOOL=	BUILD_PYTHON
PYTHON_USES=		python
PYTHON_USE=		python=cython
PYTHON_CMAKE_ON=	-DCYTHON_EXECUTABLE:STRING=${PREFIX}/bin/cython-${PYTHON_VER}

PORTDOCS=		*

.include <bsd.port.mk>