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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python26 1.0 |
---|
6 | |
---|
7 | name py26-usadel1 |
---|
8 | version 0.2.3.2 |
---|
9 | categories-append science |
---|
10 | platforms darwin |
---|
11 | maintainers macsforever2000 |
---|
12 | license gpl |
---|
13 | |
---|
14 | description Usadel equation solver |
---|
15 | |
---|
16 | long_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 | |
---|
21 | homepage http://ltl.tkk.fi/~theory/usadel1/ |
---|
22 | master_sites ${homepage}_static/ |
---|
23 | distname usadel1-${version} |
---|
24 | |
---|
25 | checksums sha1 ffde19a5dd8a5977d99b00d88ec40873f9a904d1 \ |
---|
26 | rmd160 bef6ce3a839866bab5f69b3cc986d92c32765828 |
---|
27 | |
---|
28 | depends_lib-append port:py26-numpy \ |
---|
29 | port:py26-scipy \ |
---|
30 | port:py26-tables |
---|
31 | |
---|
32 | python.add_archflags no |
---|
33 | |
---|
34 | depends_lib-append port:gcc44 |
---|
35 | configure.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 | |
---|
52 | build.args config_fc \ |
---|
53 | --fcompiler=gfortran \ |
---|
54 | --noarch |
---|
55 | |
---|
56 | build.env-append CC=${configure.cc} \ |
---|
57 | F90=${configure.fc} |
---|
58 | |
---|
59 | livecheck.type regex |
---|
60 | livecheck.url http://ltl.tkk.fi/~theory/usadel1/download.html |
---|
61 | livecheck.regex {usadel1-(\d+(?:\.\d+)*)} |
---|