Ticket #45764: Portfile

File Portfile, 2.2 KB (added by Tom.Schoonjans@…, 10 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# $Id$
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        golosio xrmc 6.5.0
8categories          science
9platforms           darwin
10license             GPL-3+
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            ${github.homepage}/wiki
25master_sites        http://lvserver.ugent.be/xrmc/files
26
27checksums           rmd160  9bfee4c796043c8dc8b3e7b81d0d8c5827ab412d \
28                    sha256  4995eaaf3b4583d443d0cf2003d73d1855b443938e431a4f758a607f540e026a
29
30depends_lib         port:xraylib
31
32configure.args      --disable-xmi-msim
33
34use_parallel_build  yes
35
36variant 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
41variant 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
46variant 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
51variant 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
56if {![variant_isset gcc49] && ![variant_isset gcc46] && \
57    ![variant_isset gcc47] && ![variant_isset gcc48]} {
58    default_variants +gcc49
59}
60