summaryrefslogtreecommitdiff
path: root/science/nest/Makefile
blob: 7bb5851b788afa3f86de4822a76304065fc03b76 (plain)
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
35
36
37
# $FreeBSD$

PORTNAME=	nest
DISTVERSIONPREFIX=	v
DISTVERSION=	2.18.0
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 \
		libomp.so:devel/openmp

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>