Ticket #29204: Portfile

File Portfile, 1.1 KB (added by higginja@…, 14 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4
5name                libctl
6version             3.1
7categories          science
8platforms           darwin
9maintainers         higginja
10description         Scheme/Guile-based scripting of scientific code.
11long_description    \
12        Libctl is a free Guile-based library implementing flexible control files \
13        for scientific simulations. It was written to support the MIT Photonic \
14        Bands and Meep software, but has proven useful in other programs too.
15
16homepage            http://ab-initio.mit.edu/wiki/index.php/Libctl
17master_sites        http://ab-initio.mit.edu/libctl/
18
19checksums           md5         173fdc658b652a4ddfb983efc849e760 \
20                    sha1    1b2fd33a4aac7e759fee5ce501d846753f4d93de \
21                    rmd160  b60182dcaab3abfa3b47eb67ace826c4d672e0c6
22
23depends_lib                     port:guile16
24
25configure.args      F77=gfortran-mp-4.4
26
27pre-configure {
28        ln -sf ${prefix}/bin/guile16 ${prefix}/bin/guile
29        ln -sf ${prefix}/bin/guile16-config ${prefix}/bin/guile-config
30
31        ln -sf ${prefix}/include/guile16 ${prefix}/include/guile
32        ln -sf ${prefix}/include/libguile16.h ${prefix}/include/libguile.h
33}