Ticket #32897: whizard.portfile.3

File whizard.portfile.3, 2.3 KB (added by Romendakil, 12 years ago)

New WHIZARD Portfile including variants and configure.compiler settings.

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
43variant gcc45 conflicts gcc47 description "Use GCC 4.5 for compilation of WHIZARD" {
44    depends_build-append        port:gcc45
45    configure.compiler          macports-gcc-4.5
46}
47
48variant gcc47 conflicts gcc45 description "Use (experimental) GCC 4.7 for compilation of WHIZARD" {
49    depends_build-append        port:gcc47
50    configure.compiler          macports-gcc-4.7
51}