# Created by: Alessando Sagratini # $FreeBSD: head/math/mcsim/Makefile 538128 2020-06-06 19:44:13Z cs $ PORTNAME= mcsim PORTVERSION= 6.2.0 CATEGORIES= math MASTER_SITES= GNU MAINTAINER= ale_sagra@hotmail.com COMMENT= Monte Carlo stochastic simulations and Bayesian inference LICENSE= GPLv3+ BUILD_DEPENDS= indexinfo>=0.3.0:print/indexinfo USES= libtool shebangfix USE_LDCONFIG= yes INFO= mcsim SHEBANG_FILES= sim/makemcsim.in sim/makemcsims.in sim/makemcsimd.in sim/makemcsimp.in INSTALL_TARGET= install-strip GNU_CONFIGURE= yes OPTIONS_SUB= yes CONFIGURE_ARGS= --prefix=${PREFIX} OPTIONS_DEFINE= GSL SUNDIALS GSL_DESC= GNU Scientific Library support (recommended) SUNDIALS_DESC= Sundial's Cvodes integrator OPTIONS_DEFAULT=GSL .include .if ${PORT_OPTIONS:MSUNDIALS} BUILD_DEPENDS+= sundials>=3.0.0:math/sundials .endif .if ${PORT_OPTIONS:MGSL} BUILD_DEPENDS+= gsl>=2.5:math/gsl .endif .include