source: trunk/dports/science/xloops/Portfile @ 40682

Last change on this file since 40682 was 40682, checked in by nox@…, 9 years ago

cln, nestedsums, qmail-spamcontrol, xloops: Errors in platform blocks are now executed in a pre-fetch block.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 40682 2008-10-10 17:19:39Z nox@macports.org $
2
3PortSystem 1.0
4name            xloops
5version         current
6revision        9
7categories      science
8platforms       darwin
9maintainers     nomaintainer
10description     A Program for Calculating Feynman Diagrams
11long_description        \
12                The aim of xloops is to calculate one-particle          \
13                irreducible Feynman diagrams with one or two closed     \
14                loops for arbitrary processes in the Standard Model     \                       of particles and related theories. Results can be       \
15                returned both algebraically and numerically.            \
16                All necessary tensor integrals are treated for          \
17                arbitrary masses and momenta.
18
19homepage        http://wwwthep.physik.uni-mainz.de/~xloops/
20
21fetch.type      cvs
22cvs.password    anoncvs
23cvs.root        :pserver:anoncvs@cvsthep.physik.uni-mainz.de:/home/cvs
24cvs.module      ${name}
25cvs.date        20060413
26
27set worksrcdir  ${name}
28
29depends_lib     port:GiNaC              \
30                port:nestedsums
31
32patchfiles      patch-ginsh-Makefile.am \
33                patch-fcntimer.cpp      \
34                patch-ginsh_parser.yy   \
35                patch-two_loop_two_point.cpp
36
37pre-configure   {
38                  system "cd ${worksrcpath} && LIBTOOLIZE=glibtoolize autoreconf -i"
39}
40
41platform darwin 6 {
42        pre-fetch {
43                error "xloops is not supported on Jaguar (OS X 10.2.x)"
44        }
45}
46
47platform darwin 7 {
48                depends_build   port:gcc40
49                configure.compiler      macports-gcc-4.0
50}
51
52build.target    { }
53
54#user_notes     Not all of the two loops tests pass yet. The ones that  \
55#               do not are commented out.                               \
56#                                                                       \
57#               Some of the functions in the cvs version take different \
58#               arguments than are specified in the documentation.      \
59#               As always, the source code is your friend in these      \
60#               situations.                                             \
61#                                                                       \
62#               Remember, you must build your programs that include     \
63#               the xloop library with the same C++ compiler as was     \
64#               used to build xloops (g++ 4.0, most recently).
65
66default_variants  +test
67variant test    { test.run      yes
68                  test.cmd      make
69                  test.target   check
70}
71
Note: See TracBrowser for help on using the repository browser.