Ticket #29204: Portfile.2

File Portfile.2, 1.9 KB (added by higginja@…, 13 years ago)
Line 
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
4PortSystem          1.0
5
6name                libctl
7version             3.1
8categories          science
9platforms           darwin
10license                         GPL-3
11
12maintainers         ece.pdx.edu:higginja
13
14description         Scheme/Guile-based scripting of scientific code.
15long_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
20homepage            http://ab-initio.mit.edu/wiki/index.php/Libctl
21master_sites        http://ab-initio.mit.edu/libctl/
22
23checksums           sha1    1b2fd33a4aac7e759fee5ce501d846753f4d93de \
24                    rmd160  b60182dcaab3abfa3b47eb67ace826c4d672e0c6
25
26depends_lib                     port:guile16
27
28variant 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
33variant 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
38variant 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
43variant 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
48if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
49    default_variants +gcc45
50}
51
52patchfiles                      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
58use_autoreconf          yes
59autoreconf.args         --install --force