Files

38 lines
1.2 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name mcsim
version 6.2.0
revision 0
categories math science
maintainers nomaintainer
license GPL-3+
description Monte Carlo stochastic simulations and Bayesian inference
long_description {*}${description}
homepage https://www.gnu.org/software/mcsim
master_sites gnu:mcsim
checksums rmd160 7e12d04e9995486ace588cf8c893f3e7d4a3c1a5 \
sha256 c6a3a685dfb9a6f0e99760f2628a91cf40798f6f05d4577e49fade9d80664f7e \
size 2221353
patchfiles patch-configure.ac.diff
use_autoreconf yes
depends_lib-append port:gsl
# Build fails with sundials5+
set sundials_ver 2
depends_lib-append port:sundials${sundials_ver}
set sundials_base ${prefix}/libexec/sundials${sundials_ver}
set sundials_include \
${sundials_base}/include
set sundials_lib ${sundials_base}/lib
configure.cflags-append \
-I${sundials_include}
configure.ldflags-append \
-L${sundials_lib}