Ticket #38755: Portfile.2

File Portfile.2, 2.2 KB (added by Tom.Schoonjans@…, 12 years ago)
Line 
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
3PortSystem          1.0
4
5name                xrmc
6version             6.4.1
7revision            0
8categories          science
9platforms           darwin
10license             GPLv3
11maintainers         me.com:Tom.Schoonjans
12
13description         A Monte Carlo program for the accurate simulation of X-ray imaging and spectroscopy experiments in heterogeneous samples
14
15long_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
24homepage            http://github.com/golosio/xrmc
25master_sites        http://lvserver.ugent.be/xrmc/files
26
27checksums           rmd160 0e8ed9825f99a3bec3ac683a7399dd485d360347 \
28                    sha256 6e662d7b71d6db51dd1ece73cdd9fb6251d2c78afef79c44a1eb860bce2ffb08
29
30
31use_parallel_build  yes
32depends_lib         port:xraylib
33
34configure.args      --disable-xmi-msim
35
36variant 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
41variant 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
46variant 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
51variant 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
56if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc48]
57} then {
58    default_variants +gcc47
59}