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 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup golosio xrmc 6.5.0 |
---|
8 | categories science |
---|
9 | platforms darwin |
---|
10 | license GPL-3+ |
---|
11 | maintainers me.com:Tom.Schoonjans |
---|
12 | |
---|
13 | description A Monte Carlo program for the accurate simulation of X-ray imaging and spectroscopy experiments in heterogeneous samples |
---|
14 | |
---|
15 | long_description XRMC is a Monte Carlo program for the accurate simulation \ |
---|
16 | of X-ray imaging and spectroscopy experiments in heterogeneous \ |
---|
17 | samples. The use of the Monte Carlo method makes the code \ |
---|
18 | suitable for the detailed simulation of complex experiments \ |
---|
19 | on generic samples. Variance reduction techniques are used \ |
---|
20 | to reduce the computational time considerably compared to \ |
---|
21 | general purpose Monte Carlo programs. The program is written in \ |
---|
22 | C++ and has been tested on Linux, Mac OS X and MS Windows platforms. |
---|
23 | |
---|
24 | homepage ${github.homepage}/wiki |
---|
25 | master_sites http://lvserver.ugent.be/xrmc/files |
---|
26 | |
---|
27 | checksums rmd160 9bfee4c796043c8dc8b3e7b81d0d8c5827ab412d \ |
---|
28 | sha256 4995eaaf3b4583d443d0cf2003d73d1855b443938e431a4f758a607f540e026a |
---|
29 | |
---|
30 | depends_lib port:xraylib |
---|
31 | |
---|
32 | configure.args --disable-xmi-msim |
---|
33 | |
---|
34 | use_parallel_build yes |
---|
35 | |
---|
36 | variant gcc46 conflicts gcc49 gcc47 gcc48 description {Compile with gcc 4.6} { |
---|
37 | configure.compiler macports-gcc-4.6 |
---|
38 | depends_lib-append port:gcc46 |
---|
39 | } |
---|
40 | |
---|
41 | variant gcc47 conflicts gcc49 gcc46 gcc48 description {Compile with gcc 4.7} { |
---|
42 | configure.compiler macports-gcc-4.7 |
---|
43 | depends_lib-append port:gcc47 |
---|
44 | } |
---|
45 | |
---|
46 | variant gcc48 conflicts gcc49 gcc46 gcc47 description {Compile with gcc 4.8} { |
---|
47 | configure.compiler macports-gcc-4.8 |
---|
48 | depends_lib-append port:gcc48 |
---|
49 | } |
---|
50 | |
---|
51 | variant gcc49 conflicts gcc46 gcc47 gcc48 description {Compile with gcc 4.9} { |
---|
52 | configure.compiler macports-gcc-4.9 |
---|
53 | depends_lib-append port:gcc49 |
---|
54 | } |
---|
55 | |
---|
56 | if {![variant_isset gcc49] && ![variant_isset gcc46] && \ |
---|
57 | ![variant_isset gcc47] && ![variant_isset gcc48]} { |
---|
58 | default_variants +gcc49 |
---|
59 | } |
---|
60 | |
---|