Ticket #26672: Portfile.4

File Portfile.4, 2.1 KB (added by mf2k (Frank Schima), 14 years ago)

Added livecheck and license

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: Portfile 70685 2010-08-16 22:56:38Z macsforever2000@macports.org $
3
4PortSystem          1.0
5PortGroup           python26 1.0
6
7name                py26-usadel1
8version             0.2.3.2
9categories-append   science
10platforms           darwin
11maintainers         macsforever2000
12license             gpl
13
14description         Usadel equation solver
15
16long_description    This code solves Usadel equations in a circuit consisting of quasi-1D \
17                    metallic wires. This is an efficient approach for modelling charge and heat \
18                    transport in mesoscopic electronic circuits made of superconducting and normal-state \
19                    metals, in the presence of a sufficient amount of impurities (dirty limit).
20
21homepage            http://ltl.tkk.fi/~theory/usadel1/
22master_sites        ${homepage}_static/
23distname            usadel1-${version}
24
25checksums           sha1    ffde19a5dd8a5977d99b00d88ec40873f9a904d1 \
26                    rmd160  bef6ce3a839866bab5f69b3cc986d92c32765828
27
28depends_lib-append  port:py26-numpy \
29                    port:py26-scipy \
30                    port:py26-tables
31
32python.add_archflags no
33
34depends_lib-append  port:gcc44
35configure.compiler  macports-gcc-4.4
36
37# Using variants causes fortran compiler failure.
38#variant gcc45 conflicts gcc44 description {Use the gcc45 compiler (enables fortran code)} {
39#    depends_lib-append  port:gcc45
40#    configure.compiler  macports-gcc-4.5
41#}
42
43#variant gcc44 conflicts gcc45 description {Use the gcc44 compiler (enables fortran code)} {
44#    depends_lib-append  port:gcc44
45#    configure.compiler  macports-gcc-4.4
46#}
47
48#if {![variant_isset gcc45]} {
49#    default_variants +gcc44
50#}
51
52build.args          config_fc \
53                    --fcompiler=gfortran \
54                    --noarch
55
56build.env-append    CC=${configure.cc} \
57                    F90=${configure.fc}
58
59livecheck.type  regex
60livecheck.url   http://ltl.tkk.fi/~theory/usadel1/download.html
61livecheck.regex {usadel1-(\d+(?:\.\d+)*)}