1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name jags |
---|
7 | version 2.1.0 |
---|
8 | categories science |
---|
9 | platforms darwin |
---|
10 | maintainers uchicago.edu:dmeliza |
---|
11 | description Just Another Gibbs Sampler |
---|
12 | long_description JAGS is a program for analysis of Bayesian hierarchical \ |
---|
13 | models using Markov Chain Monte Carlo (MCMC) simulation \ |
---|
14 | not wholly unlike BUGS. |
---|
15 | homepage http://www-fis.iarc.fr/~martyn/software/jags/ |
---|
16 | master_sites sourceforge:mcmc-jags |
---|
17 | distname JAGS-${version} |
---|
18 | |
---|
19 | checksums md5 ddb5eb745cb48537517aba186d7030c8 \ |
---|
20 | sha1 df06fdd7485a33266c372de59058ff3bebfe6a43 \ |
---|
21 | rmd160 16aeb48b8e0bed9c21651eabf53221370fc10879 |
---|
22 | |
---|
23 | depends_build port:bison \ |
---|
24 | port:libtool |
---|
25 | |
---|
26 | configure.args --with-blas='-framework vecLib' \ |
---|
27 | --with-lapack='-framework vecLib' |
---|
28 | configure.f77 gfortran |
---|
29 | |
---|
30 | variant gcc43 conflicts gcc44 description {Use the gcc43 compiler} { |
---|
31 | depends_lib-append port:gcc43 |
---|
32 | configure.compiler macports-gcc-4.3 |
---|
33 | build.env-append CC="${prefix}/bin/gcc-mp-4.3" \ |
---|
34 | CXX="${prefix}/bin/g++-mp-4.3" \ |
---|
35 | F77="${prefix}/bin/gfortran-mp-4.3" |
---|
36 | |
---|
37 | destroot.env-append CC="${prefix}/bin/gcc-mp-4.3" \ |
---|
38 | CXX="${prefix}/bin/g++-mp-4.3" \ |
---|
39 | F77="${prefix}/bin/gfortran-mp-4.3" |
---|
40 | } |
---|
41 | |
---|
42 | variant gcc44 conflicts gcc43 description {Use the gcc44 compiler} { |
---|
43 | depends_lib-append port:gcc44 |
---|
44 | configure.compiler macports-gcc-4.4 |
---|
45 | build.env-append CC="${prefix}/bin/gcc-mp-4.4" \ |
---|
46 | CXX="${prefix}/bin/g++-mp-4.4" \ |
---|
47 | F77="${prefix}/bin/gfortran-mp-4.4" |
---|
48 | |
---|
49 | destroot.env-append CC="${prefix}/bin/gcc-mp-4.4" \ |
---|
50 | CXX="${prefix}/bin/g++-mp-4.4" \ |
---|
51 | F77="${prefix}/bin/gfortran-mp-4.4" |
---|
52 | |
---|
53 | } |
---|
54 | |
---|
55 | if {![variant_isset gcc43]} { |
---|
56 | default_variants +gcc44 |
---|
57 | } |
---|