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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name meep |
---|
7 | version 1.1.1 |
---|
8 | categories science |
---|
9 | platforms darwin |
---|
10 | license GPL-3 |
---|
11 | |
---|
12 | maintainers ece.pdx.edu:higginja |
---|
13 | |
---|
14 | description FDTD Simulation package |
---|
15 | long_description Meep (or MEEP) is a free finite-difference time-domain \ |
---|
16 | (FDTD) simulation software package developed at MIT to \ |
---|
17 | model electromagnetic systems. |
---|
18 | |
---|
19 | homepage http://ab-initio.mit.edu/wiki/index.php/Meep |
---|
20 | master_sites http://ab-initio.mit.edu/meep/ |
---|
21 | |
---|
22 | checksums sha1 df1910906ebc996ae154b6de78bb67ceadbb2813 \ |
---|
23 | rmd160 5b74b172678d5ce7e8d7ac2d7b78649aafdb11cb |
---|
24 | |
---|
25 | depends_lib port:atlas \ |
---|
26 | port:libpng \ |
---|
27 | port:hdf5-18 \ |
---|
28 | port:fftw-3 \ |
---|
29 | port:harminv \ |
---|
30 | port:h5utils |
---|
31 | |
---|
32 | configure.args --without-libctl |
---|
33 | |
---|
34 | variant libctl description {Front-end scripting support} { |
---|
35 | depends_lib-append port:libctl \ |
---|
36 | port:guile16 |
---|
37 | |
---|
38 | configure.args-delete --without-libctl |
---|
39 | configure.args-append --with-libctl=${prefix}/share/libctl |
---|
40 | |
---|
41 | patchfiles patch-configure.ac.diff \ |
---|
42 | patch-libctl-meep_wrap.cxx.diff |
---|
43 | |
---|
44 | use_autoreconf yes |
---|
45 | autoreconf.args --install --force |
---|
46 | } |
---|
47 | |
---|
48 | variant gcc43 conflicts gcc44 gcc45 gcc46 description {Compile with gcc 4.3} { |
---|
49 | configure.compiler macports-gcc-4.3 |
---|
50 | depends_lib-append port:gcc43 |
---|
51 | } |
---|
52 | |
---|
53 | variant gcc44 conflicts gcc43 gcc45 gcc46 description {Compile with gcc 4.4} { |
---|
54 | configure.compiler macports-gcc-4.4 |
---|
55 | depends_lib-append port:gcc44 |
---|
56 | } |
---|
57 | |
---|
58 | variant gcc45 conflicts gcc43 gcc44 gcc46 description {Compile with gcc 4.5} { |
---|
59 | configure.compiler macports-gcc-4.5 |
---|
60 | depends_lib-append port:gcc45 |
---|
61 | } |
---|
62 | |
---|
63 | variant gcc46 conflicts gcc43 gcc44 gcc45 description {Compile with gcc 4.6} { |
---|
64 | configure.compiler macports-gcc-4.6 |
---|
65 | depends_lib-append port:gcc46 |
---|
66 | } |
---|
67 | |
---|
68 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { |
---|
69 | default_variants +gcc45 |
---|
70 | } |
---|
71 | |
---|
72 | default_variants +libctl |
---|