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.4.1 |
---|
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 7b9b8bab075d56314866fb3109e8e3a2e68e3d01 \ |
---|
28 | sha256 e9e14cf31f29b98d76d3c5b25070aa478b15662dd4f23575695e4ef7c48612b0 |
---|
29 | |
---|
30 | depends_lib port:xraylib |
---|
31 | |
---|
32 | configure.args --disable-xmi-msim |
---|
33 | |
---|
34 | use_parallel_build yes |
---|
35 | |
---|
36 | variant gcc45 conflicts gcc46 gcc47 gcc48 description {Compile with gcc 4.5} { |
---|
37 | configure.compiler macports-gcc-4.5 |
---|
38 | depends_lib-append port:gcc45 |
---|
39 | } |
---|
40 | |
---|
41 | variant gcc46 conflicts gcc45 gcc47 gcc48 description {Compile with gcc 4.6} { |
---|
42 | configure.compiler macports-gcc-4.6 |
---|
43 | depends_lib-append port:gcc46 |
---|
44 | } |
---|
45 | |
---|
46 | variant gcc47 conflicts gcc45 gcc46 gcc48 description {Compile with gcc 4.7} { |
---|
47 | configure.compiler macports-gcc-4.7 |
---|
48 | depends_lib-append port:gcc47 |
---|
49 | } |
---|
50 | |
---|
51 | variant gcc48 conflicts gcc45 gcc46 gcc47 description {Compile with gcc 4.8} { |
---|
52 | configure.compiler macports-gcc-4.8 |
---|
53 | depends_lib-append port:gcc48 |
---|
54 | } |
---|
55 | |
---|
56 | if {![variant_isset gcc45] && ![variant_isset gcc46] && \ |
---|
57 | ![variant_isset gcc47] && ![variant_isset gcc48]} { |
---|
58 | default_variants +gcc47 |
---|
59 | } |
---|
60 | |
---|
61 | livecheck.type regex |
---|
62 | livecheck.url [lindex ${master_sites} 0] |
---|
63 | livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} |
---|