1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name swarm |
---|
6 | version 2.3.0 |
---|
7 | categories science |
---|
8 | maintainers pd.infn.it:cristiano.fontana |
---|
9 | license GPL |
---|
10 | description Swarm is a platform for agent-based models (ABMs). |
---|
11 | long_description ${description} |
---|
12 | homepage http://www.swarm.org/ |
---|
13 | platforms darwin |
---|
14 | master_sites http://ftp.swarm.org/pub/swarm/src/swarm/ |
---|
15 | |
---|
16 | checksums md5 f91acad01988aa6d9a7ee10933c282b3 \ |
---|
17 | sha1 d000c765f3129d5806ce9660de6bcb79740f89d1 \ |
---|
18 | rmd160 05b0a7b9dfab409c4550b6541c001ae483d0ea0b |
---|
19 | |
---|
20 | depends_build port:pkgconfig |
---|
21 | |
---|
22 | depends_lib port:blt \ |
---|
23 | port:tcl \ |
---|
24 | port:tk \ |
---|
25 | port:xpm \ |
---|
26 | port:libffi \ |
---|
27 | port:zlib \ |
---|
28 | port:libpng \ |
---|
29 | port:hdf5-18 |
---|
30 | |
---|
31 | post-patch { |
---|
32 | reinplace {s:-fgnu-runtime:-DH5_USE_16_API -fnested-functions -fgnu-runtime:g} \ |
---|
33 | ${worksrcpath}/configure \ |
---|
34 | ${worksrcpath}/libobjc/configure |
---|
35 | } |
---|
36 | |
---|
37 | configure.args --with-jdkdir=/System/Library/Frameworks/JavaVM.framework \ |
---|
38 | --with-x \ |
---|
39 | --x-includes=${prefix} \ |
---|
40 | --x-libraries=${prefix} |
---|
41 | |
---|
42 | pre-configure { |
---|
43 | configure.cppflags-append [exec ${prefix}/bin/pkg-config libffi --cflags] |
---|
44 | } |
---|