Ticket #26672: Portfile.3

File Portfile.3, 1.9 KB (added by mf2k (Frank Schima), 14 years ago)

Working version. variants commented.

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