Ticket #32897: whizard.portfile.4

File whizard.portfile.4, 2.6 KB (added by Romendakil, 13 years ago)

Added variant gcc46.

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
5
6name                whizard
7version             2.0.6
8set my_version      [strsed ${version} g/\\.//]
9categories          science
10platforms           darwin
11maintainers         mail.desy.de:whizard
12license             LGPL-2.1
13description         Generator of high-energy physics events
14long_description    WHIZARD is a program system designed for the efficient \
15                    calculation of multi-particle scattering cross sections \
16                    and simulated event samples. Tree-level matrix elements \
17                    are generated automatically for arbitrary partonic \
18                    processes by using the Optimized Matrix Element Generator O'Mega. \
19                    Matrix elements obtained by alternative methods (e.g., \
20                    including loop corrections) may be interfaced as well. \
21                    The program is able to calculate numerically stable signal \
22                    and background cross sections and generate unweighted \
23                    event samples with reasonable efficiency for processes \
24                    with up to eight final-state particles; more particles are \
25                    possible. For more particles, there is the option to generate \
26                    processes as decay cascades including complete spin correlations.
27
28homepage            http://projects.hepforge.org/whizard/index.html
29master_sites        http://www.hepforge.org/downloads/whizard
30
31checksums           sha256 9f9baba030b1fcd5b8700cf84f0342327bfc0ba5837a86fc2e79d6831ac168a8 \
32                    rmd160 7d4b31f411f469b8080122b43170ccdfeadeb36c
33
34depends_build       port:gcc46   port:ocaml
35use_parallel_build  yes
36
37configure.args      --enable-matching --enable-shower --enable-fc-openmp
38configure.compiler  macports-gcc-4.6
39
40test.run            yes
41test.target         check
42
43if { ![variant_isset gcc45] &![variant_isset gcc47] } {
44  default_variants      +gcc46
45}
46
47variant gcc45 conflicts gcc46 gcc47 description "Use GCC 4.5 for compilation of WHIZARD" {
48    depends_build-append        port:gcc45
49    configure.compiler          macports-gcc-4.5
50}
51
52variant gcc46 conflicts gcc45 gcc47 description "Use GCC 4.6 for compilation of WHIZARD" {
53    depends_build-append        port:gcc46
54    configure.compiler          macports-gcc-4.6
55}
56
57variant gcc47 conflicts gcc45 gcc46 description "Use (experimental) GCC 4.7 for compilation of WHIZARD" {
58    depends_build-append        port:gcc47
59    configure.compiler          macports-gcc-4.7
60}