# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-usadel1 version 0.2.3.2 categories-append science platforms darwin maintainers macsforever2000 license gpl description Usadel equation solver long_description This code solves Usadel equations in a circuit consisting of quasi-1D \ metallic wires. This is an efficient approach for modelling charge and heat \ transport in mesoscopic electronic circuits made of superconducting and normal-state \ metals, in the presence of a sufficient amount of impurities (dirty limit). homepage http://ltl.tkk.fi/~theory/usadel1/ master_sites ${homepage}_static/ distname usadel1-${version} checksums sha1 ffde19a5dd8a5977d99b00d88ec40873f9a904d1 \ rmd160 bef6ce3a839866bab5f69b3cc986d92c32765828 python.versions 25 26 27 python.default_version 25 if {$subport != $name} { depends_lib-append port:py${python.version}-numpy \ port:py${python.version}-scipy \ port:py${python.version}-tables python.add_archflags no depends_lib-append port:gcc45 configure.compiler macports-gcc-4.5 # Using variants causes fortran compiler failure. #variant gcc45 conflicts gcc44 description {Use the gcc45 compiler (enables fortran code)} { # depends_lib-append port:gcc45 # configure.compiler macports-gcc-4.5 #} #variant gcc44 conflicts gcc45 description {Use the gcc44 compiler (enables fortran code)} { # depends_lib-append port:gcc44 # configure.compiler macports-gcc-4.4 #} #if {![variant_isset gcc44]} { # default_variants +gcc45 #} build.args config_fc \ --fcompiler=gfortran \ --noarch build.env-append CC=${configure.cc} \ F90=${configure.fc} livecheck.type none } else { livecheck.type regex livecheck.url http://ltl.tkk.fi/~theory/usadel1/download.html livecheck.regex {usadel1-(\d+(?:\.\d+)*)} }