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 libctl |
---|
7 | version 3.1 |
---|
8 | categories science |
---|
9 | platforms darwin |
---|
10 | license GPL-3 |
---|
11 | |
---|
12 | maintainers ece.pdx.edu:higginja |
---|
13 | |
---|
14 | description Scheme/Guile-based scripting of scientific code. |
---|
15 | long_description \ |
---|
16 | Libctl is a free Guile-based library implementing flexible control files \ |
---|
17 | for scientific simulations. It was written to support the MIT Photonic \ |
---|
18 | Bands and Meep software, but has proven useful in other programs too. |
---|
19 | |
---|
20 | homepage http://ab-initio.mit.edu/wiki/index.php/Libctl |
---|
21 | master_sites http://ab-initio.mit.edu/libctl/ |
---|
22 | |
---|
23 | checksums sha1 1b2fd33a4aac7e759fee5ce501d846753f4d93de \ |
---|
24 | rmd160 b60182dcaab3abfa3b47eb67ace826c4d672e0c6 |
---|
25 | |
---|
26 | depends_lib port:guile16 |
---|
27 | |
---|
28 | variant gcc43 conflicts gcc44 gcc45 gcc46 description {Compile with gcc 4.3} { |
---|
29 | configure.compiler macports-gcc-4.3 |
---|
30 | depends_lib-append port:gcc43 |
---|
31 | } |
---|
32 | |
---|
33 | variant gcc44 conflicts gcc43 gcc45 gcc46 description {Compile with gcc 4.4} { |
---|
34 | configure.compiler macports-gcc-4.4 |
---|
35 | depends_lib-append port:gcc44 |
---|
36 | } |
---|
37 | |
---|
38 | variant gcc45 conflicts gcc43 gcc44 gcc46 description {Compile with gcc 4.5} { |
---|
39 | configure.compiler macports-gcc-4.5 |
---|
40 | depends_lib-append port:gcc45 |
---|
41 | } |
---|
42 | |
---|
43 | variant gcc46 conflicts gcc43 gcc44 gcc45 description {Compile with gcc 4.6} { |
---|
44 | configure.compiler macports-gcc-4.6 |
---|
45 | depends_lib-append port:gcc46 |
---|
46 | } |
---|
47 | |
---|
48 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { |
---|
49 | default_variants +gcc45 |
---|
50 | } |
---|
51 | |
---|
52 | patchfiles patch-configure.ac.diff \ |
---|
53 | patch-base-main.c.diff \ |
---|
54 | patch-src-ctl.h.in.diff \ |
---|
55 | patch-utils-gen-ctl-io.in.diff \ |
---|
56 | patch-examples-example.c.diff |
---|
57 | |
---|
58 | use_autoreconf yes |
---|
59 | autoreconf.args --install --force |
---|