# -*- 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 PortGroup compilers 1.0 name jags version 4.3.2 revision 0 set major [lindex [split ${version} .] 0] categories science math license GPL-2 maintainers {@barracuda156 gmail.com:vital.had} openmaintainer description Just Another Gibbs Sampler long_description JAGS is a program for analysis of Bayesian hierarchical \ models using Markov Chain Monte Carlo (MCMC) simulation, \ not wholly unlike BUGS. homepage https://mcmc-jags.sourceforge.net/ master_sites sourceforge:project/mcmc-jags/JAGS/${major}.x/Source distname JAGS-${version} checksums rmd160 35e7695072b6bb5a6dfb60d789ac0474eafb92a5 \ sha256 871f556af403a7c2ce6a0f02f15cf85a572763e093d26658ebac55c4ab472fc8 \ size 2032834 # test deps pkgconfig and cppunit have to be added in build to work depends_build-append path:libexec/coreutils/libstdbuf.so:coreutils \ port:cppunit \ port:libtool \ port:pkgconfig compilers.choose cc cxx f77 compilers.setup require_fortran universal_variant no # note: BLAS/LAPACK is an optional dependency configure.args-append --with-blas='-framework Accelerate' compiler.cxx_standard 2011 configure.cxxflags-append \ -std=c++11 \ -Wno-c++11-narrowing test.run yes test.target check # note: actually seems to contain source of SuiteSparse, which is another port livecheck.type sourceforge livecheck.name mcmc-jags livecheck.regex /JAGS-(\[0-9.\]+)${extract.suffix}