Skip to content

Commit

Permalink
biology/libneurosim: New port: Common interfaces for neuronal simulators
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Oct 8, 2021
1 parent 946903c commit c38052d
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 0 deletions.
1 change: 1 addition & 0 deletions biology/Makefile
Expand Up @@ -76,6 +76,7 @@
SUBDIR += lamarc
SUBDIR += libbigwig
SUBDIR += libgtextutils
SUBDIR += libneurosim
SUBDIR += libnuml
SUBDIR += libsbml
SUBDIR += libsedml
Expand Down
34 changes: 34 additions & 0 deletions biology/libneurosim/Makefile
@@ -0,0 +1,34 @@
PORTNAME= libneurosim
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.0
CATEGORIES= biology

MAINTAINER= yuri@FreeBSD.org
COMMENT= Common interfaces for neuronal simulators

LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING

USES= autoreconf gmake libtool
USE_LDCONFIG= yes

GNU_CONFIGURE= yes

USE_GITHUB= yes
GH_ACCOUNT= INCF

INSTALL_TARGET= install-strip

BINARY_ALIAS= aclocal-1.15=aclocal automake-1.15=automake # workaround for the outdated aclocal-1.15 & automake-1.15 somehow placed into libltdl/Makefile

OPTIONS_DEFINE= PYTHON
OPTIONS_DEFAULT= PYTHON
OPTIONS_SUB= yes

PYTHON_CONFIGURE_ON= --with-python=${PYTHON_VER:R}
PYTHON_USES= python:3.6+

pre-build: # ignore failure of the first run of the build command that always fails first, see https://github.com/INCF/libneurosim/issues/21
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} || ${TRUE}

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions biology/libneurosim/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1633636734
SHA256 (INCF-libneurosim-v1.2.0_GH0.tar.gz) = 372fa0d8fb31950370f1d27bff4865e1200456239f4ea382c267d9a310175f83
SIZE (INCF-libneurosim-v1.2.0_GH0.tar.gz) = 33695
13 changes: 13 additions & 0 deletions biology/libneurosim/pkg-descr
@@ -0,0 +1,13 @@
libneurosim is a general library that provides interfaces and common utility
code for neuronal simulators.

Currently it provides the ConnectionGenerator interface.

The ConnectionGenerator API is a standard interface supporting efficient
generation of network connectivity during model setup in neuronal network
simulators. It is intended as an abstraction isolating both sides of the API:
any simulator can use a given connection generator and a given simulator can use
any library providing the ConnectionGenerator interface. It was initially
developed to support the use of libcsa from NEST.

WWW: https://github.com/INCF/libneurosim
13 changes: 13 additions & 0 deletions biology/libneurosim/pkg-plist
@@ -0,0 +1,13 @@
include/neurosim/config.h
include/neurosim/connection_generator.h
include/neurosim/connection_generator_V2_0.h
%%PYTHON%%include/neurosim/pyneurosim.h
include/neurosim/version.h
lib/libneurosim.a
lib/libneurosim.so
lib/libneurosim.so.0
lib/libneurosim.so.0.0.0
%%PYTHON%%lib/libpy3neurosim.a
%%PYTHON%%lib/libpy3neurosim.so
%%PYTHON%%lib/libpy3neurosim.so.0
%%PYTHON%%lib/libpy3neurosim.so.0.0.0

0 comments on commit c38052d

Please sign in to comment.