freebsd-ports/science/MOOSE-neural-simulator/Makefile
Gerald Pfeifer 09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00

45 lines
1.3 KiB
Makefile

# Created by: Yuri Victorovich <yuri@FreeBSD.org>
# $FreeBSD$
PORTNAME= MOOSE-neural-simulator
DISTVERSION= 3.1.2
PORTREVISION= 3
DISTVERSIONSUFFIX= -382-gc93d23a
CATEGORIES= science biology
MAINTAINER= yuri@FreeBSD.org
COMMENT= Multiphysics Object Oriented Simulation Environment
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENCE
LIB_DEPENDS= libgsl.so:math/gsl \
libhdf5.so:science/hdf5 \
libsbml.so:biology/libsbml \
libsz.so:science/szip
BUILD_DEPENDS= bash:shells/bash \
${PYNUMPY}
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}matplotlib>=1.1.0:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}networkx>=1.0:math/py-networkx@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygraphviz>=0:graphics/py-pygraphviz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}suds-jurko>=0.4:net/py-suds-jurko@${PY_FLAVOR}
USES= cmake:outsource fortran gettext-runtime pyqt:4 python:2.7
USE_GITHUB= yes
GH_ACCOUNT= BhallaLab
GH_PROJECT= moose
USE_PYQT= core_run gui_run test_run
OPTIONS_DEFINE= EXAMPLES
PORTEXAMPLES= *
post-patch:
@${REINPLACE_CMD} -e 's|DESTINATION lib/moose/moose-examples|DESTINATION share/examples/${PORTNAME}|' ${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -e 's|\.\./moose-examples/|${EXAMPLESDIR}/|' ${WRKSRC}/moose-gui/mgui.py
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/moose/_moose.so
.include <bsd.port.mk>