Ticket #38755: Portfile.3

File Portfile.3, 2.4 KB (added by ryandesign (Ryan Carsten Schmidt), 11 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.4.1
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  7b9b8bab075d56314866fb3109e8e3a2e68e3d01 \
28                    sha256  e9e14cf31f29b98d76d3c5b25070aa478b15662dd4f23575695e4ef7c48612b0
29
30depends_lib         port:xraylib
31
32configure.args      --disable-xmi-msim
33
34use_parallel_build  yes
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] && \
57    ![variant_isset gcc47] && ![variant_isset gcc48]} {
58    default_variants +gcc47
59}
60
61livecheck.type      regex
62livecheck.url       [lindex ${master_sites} 0]
63livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}