/
Portfile
39 lines (29 loc) · 1.44 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# -*- 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
PortSystem 1.0
PortGroup compilers 1.0
PortGroup compiler_blacklist_versions 1.0
name libctl
version 3.2.2
revision 2
categories science
license GPL-2+
maintainers saabusa.com:Yogesh.Sharma openmaintainer
description Scheme/Guile-based scripting of scientific code.
long_description \
Libctl is a free Guile-based library implementing flexible control files \
for scientific simulations. It was written to support the MIT Photonic \
Bands and Meep software, but has proven useful in other programs too.
homepage http://ab-initio.mit.edu/wiki/index.php/Libctl
master_sites http://ab-initio.mit.edu/libctl/
checksums rmd160 2390548f7a30e709e22b3ee12f21ec9f7e45def7 \
sha256 8abd8b58bc60e84e16d25b56f71020e0cb24d75b28bc5db86d50028197c7efbc \
size 505796
depends_lib port:guile
compilers.choose f77
compilers.setup require_fortran
# gcc-4.2 fails with multiple errors: https://trac.macports.org/ticket/66164
# Xcode clang of 10.6 fails on guile headers.
compiler.blacklist-append *gcc-4.* {clang < 421}
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex <b>${name} (\[0-9.\]+)</b> is the current version