1 | # $Id $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name pythia |
---|
6 | version 8.135 |
---|
7 | categories science |
---|
8 | maintainers gmail.com:mattiafrancescomoro |
---|
9 | license LGPLv2.1 |
---|
10 | description Generator of high-energy physics events |
---|
11 | long_description PYTHIA is a program for the generation of high-energy physics events, \ |
---|
12 | i.e. for the description of collisions at high energies between elementary particles \ |
---|
13 | such as e+, e-, p and pbar in various combinations. It contains theory and models for \ |
---|
14 | a number of physics aspects, including hard and soft interactions, parton distributions, \ |
---|
15 | initial- and final-state parton showers, multiple interactions, fragmentation and decay. \ |
---|
16 | It is largely based on original research, but also borrows many formulae and other \ |
---|
17 | knowledge from the literature. |
---|
18 | homepage http://home.thep.lu.se/~torbjorn/Pythia.html |
---|
19 | platforms darwin |
---|
20 | distfiles ${name}8135.tgz |
---|
21 | master_sites http://home.thep.lu.se/~torbjorn/pythia8/ |
---|
22 | |
---|
23 | checksums md5 5843543118f82dc1316f687138eb4628 \ |
---|
24 | sha1 40e56df0f7479d47753d20f0821f344065edbf4e |
---|
25 | |
---|
26 | worksrcdir ${name}8135 |
---|
27 | |
---|
28 | pre-configure { |
---|
29 | build.args CC=${configure.cc} \ |
---|
30 | CXX=${configure.cxx} \ |
---|
31 | F77=${configure.f77} |
---|
32 | } |
---|
33 | |
---|
34 | configure.args --with-cc=${configure.cc} \ |
---|
35 | --with-f77="${configure.f77}" \ |
---|
36 | --with-cxx="${configure.cxx}" \ |
---|
37 | --enable-shared |
---|
38 | |
---|
39 | |
---|
40 | destroot { |
---|
41 | xinstall -d ${destroot}${prefix}/lib |
---|
42 | xinstall ${worksrcpath}/lib/libpythia8.dylib ${destroot}${prefix}/lib |
---|
43 | xinstall ${worksrcpath}/lib/liblhapdfdummy.dylib ${destroot}${prefix}/lib |
---|
44 | xinstall ${worksrcpath}/lib/archive/liblhapdfdummy.a ${destroot}${prefix}/lib |
---|
45 | xinstall ${worksrcpath}/lib/archive/libpythia8.a ${destroot}${prefix}/lib |
---|
46 | xinstall -d ${destroot}${prefix}/include/$name$version |
---|
47 | eval xinstall -m 644 [ glob ${worksrcpath}/include/*.h ] ${destroot}${prefix}/include/ |
---|
48 | # xinstall -d ${destroot}${prefix}/share/$name$version/examples |
---|
49 | # xinstall -m 644 [ glob ${worksrcpath}/examples/* ] ${destroot}${prefix}/share/$name$version/examples |
---|
50 | } |
---|