freebsd-ports/math/mcsim/Makefile
2021-08-27 15:33:14 -07:00

46 lines
919 B
Makefile

# Created by: Alessando Sagratini <ale_sagra@hotmail.com>
PORTNAME= mcsim
PORTVERSION= 6.2.0
PORTREVISION= 1
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 <bsd.port.options.mk>
.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 <bsd.port.mk>