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: Portfile 149332 2016-06-13 01:06:10Z khindenburg@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup compilers 1.0 |
---|
6 | |
---|
7 | name whizard |
---|
8 | version 2.2.8 |
---|
9 | categories science |
---|
10 | platforms darwin |
---|
11 | maintainers desy.de:juergen.reuter desy.de:whizard |
---|
12 | license GPL-2+ |
---|
13 | |
---|
14 | description Generator of high-energy physics events |
---|
15 | |
---|
16 | long_description WHIZARD is a program system designed for the efficient \ |
---|
17 | calculation of multi-particle scattering cross sections \ |
---|
18 | and simulated event samples. Tree-level matrix elements \ |
---|
19 | are generated automatically for arbitrary partonic \ |
---|
20 | processes by using the Optimized Matrix Element Generator O'Mega. \ |
---|
21 | Matrix elements obtained by alternative methods (e.g., \ |
---|
22 | including loop corrections) may be interfaced as well. \ |
---|
23 | The program is able to calculate numerically stable signal \ |
---|
24 | and background cross sections and generate unweighted \ |
---|
25 | event samples with reasonable efficiency for processes \ |
---|
26 | with up to eight final-state particles\; more particles are \ |
---|
27 | possible. For more particles, there is the option to generate \ |
---|
28 | processes as decay cascades including complete spin correlations. |
---|
29 | |
---|
30 | homepage http://whizard.hepforge.org/ |
---|
31 | master_sites http://www.hepforge.org/archive/whizard/ |
---|
32 | |
---|
33 | checksums rmd160 cb4c354816e9488704a6ffe901eda518710f928f \ |
---|
34 | sha256 d6b5e84d5bc5bad387f842f7cb69e55a62a0a2a9d42f10fdcf76161459f03902 |
---|
35 | |
---|
36 | depends_build port:ocaml |
---|
37 | |
---|
38 | configure.args --enable-fc-openmp |
---|
39 | |
---|
40 | use_parallel_build yes |
---|
41 | |
---|
42 | # if clang is used with gfortran, fails to link -lgomp |
---|
43 | compilers.choose cc cxx fc f77 |
---|
44 | compilers.setup require_fortran -clang -llvm -g95 -gfortran |
---|
45 | |
---|
46 | # make check doesn't work in general on El Capitan as long as SIP is activated as DYLD variables are not exported. |
---|
47 | if {${os.major} <= 14 && ${os.platform} eq "darwin"} { |
---|
48 | test.run yes |
---|
49 | test.target check |
---|
50 | } |
---|
51 | |
---|
52 | # needs further work, many tests fail |
---|
53 | #variant installcheck description {Run testsuite after installation. Use instead of 'port test' for El Capitan.} { |
---|
54 | # patchfiles-append patch-omega-tests-Makefile.in.diff |
---|
55 | # destroot.target install installcheck |
---|
56 | #} |
---|
57 | |
---|
58 | livecheck.type regex |
---|
59 | livecheck.url [lindex ${master_sites} 0] |
---|
60 | livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} |
---|