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: Portfile 113161 2013-11-11 06:40:09Z jeremyhu@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name libctl |
---|
7 | version 3.2.2 |
---|
8 | revision 1 |
---|
9 | categories science |
---|
10 | platforms darwin |
---|
11 | license GPL-2+ |
---|
12 | distname libctl-${version} |
---|
13 | |
---|
14 | maintainers saabusa.com:Yogesh.Sharma ece.pdx.edu:higginja |
---|
15 | |
---|
16 | description Scheme/Guile-based scripting of scientific code. |
---|
17 | long_description \ |
---|
18 | Libctl is a free Guile-based library implementing flexible control files \ |
---|
19 | for scientific simulations. It was written to support the MIT Photonic \ |
---|
20 | Bands and Meep software, but has proven useful in other programs too. |
---|
21 | |
---|
22 | homepage http://ab-initio.mit.edu/wiki/index.php/Libctl |
---|
23 | master_sites http://ab-initio.mit.edu/libctl/ |
---|
24 | |
---|
25 | checksums md5 5fd7634dc9ae8e7fa70a68473b9cbb68 \ |
---|
26 | sha1 d7f860313d5cc226c51f868bbe9bb930d143ab9c \ |
---|
27 | rmd160 2390548f7a30e709e22b3ee12f21ec9f7e45def7 |
---|
28 | |
---|
29 | depends_lib port:guile |
---|
30 | |
---|
31 | variant gcc45 conflicts gcc46 gcc47 gcc48 description {Compile with gcc 4.5} { |
---|
32 | configure.compiler macports-gcc-4.5 |
---|
33 | } |
---|
34 | |
---|
35 | variant gcc46 conflicts gcc45 gcc47 gcc48 description {Compile with gcc 4.6} { |
---|
36 | configure.compiler macports-gcc-4.6 |
---|
37 | } |
---|
38 | |
---|
39 | variant gcc47 conflicts gcc45 gcc46 gcc48 description {Compile with gcc 4.7} { |
---|
40 | configure.compiler macports-gcc-4.7 |
---|
41 | } |
---|
42 | |
---|
43 | variant gcc48 conflicts gcc45 gcc46 gcc47 description {Compile with gcc 4.8} { |
---|
44 | configure.compiler macports-gcc-4.8 |
---|
45 | } |
---|
46 | |
---|
47 | if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47]} { |
---|
48 | default_variants +gcc48 |
---|
49 | } |
---|
50 | |
---|
51 | use_autoreconf yes |
---|
52 | autoreconf.args -fvi |
---|