|
|
@@ -5,8 +5,7 @@ PortGroup compilers 1.0 |
|
|
PortGroup linear_algebra 1.0 |
|
|
|
|
|
name wannier90 |
|
|
version 2.1.0 |
|
|
revision 1 |
|
|
version 3.0.0 |
|
|
categories science |
|
|
platforms darwin |
|
|
license GPL-2+ |
|
|
@@ -20,15 +19,18 @@ long_description Wannier90 uses inputs from an electronic-structure code \ |
|
|
for various density-functional theory codes. |
|
|
|
|
|
homepage http://www.wannier.org |
|
|
master_sites ${homepage}/code/ |
|
|
master_sites https://github.com/wannier-developers/wannier90/archive |
|
|
|
|
|
checksums rmd160 a650304810c8cf35a2942d074657d749e11d28a7 \ |
|
|
sha1 40cf6607b5a8b960482251ba747382fbe0106f59 \ |
|
|
sha256 ee90108d4bc4aa6a1cf16d72abebcb3087cf6c1007d22dda269eb7e7076bddca \ |
|
|
size 57264711 |
|
|
checksums rmd160 cf937b9854e64ea545fe81ce063a02689aefa8de \ |
|
|
sha1 233773801b170d46200004dd1c0db8cdf7003ddd \ |
|
|
sha256 f196e441dcd7b67159a1d09d2d7de2893b011a9f03aab6b30c4703ecbf20fe5b \ |
|
|
size 71943515 |
|
|
|
|
|
distname v${version} |
|
|
worksrcdir ${name}-${version} |
|
|
|
|
|
configure { |
|
|
file copy ${worksrcpath}/config/make.inc.macosx ${worksrcpath}/make.inc |
|
|
file copy ${worksrcpath}/config/make.inc.macosx.macports ${worksrcpath}/make.inc |
|
|
} |
|
|
|
|
|
# TODO: enable use of MPI |
|
|
@@ -40,7 +42,6 @@ pre-build { |
|
|
} else { |
|
|
build.args-append FCOPTS="-O3" |
|
|
} |
|
|
build.target all w90pov w90vdw |
|
|
} |
|
|
|
|
|
use_parallel_build yes |
|
|
@@ -58,9 +59,12 @@ compilers.choose f90 |
|
|
compilers.setup require_fortran |
|
|
|
|
|
variant threads requires atlas description {Build with threaded ATLAS} {} |
|
|
# test fails with tiny discrepancies: |
|
|
# tests/testw90_example26 - gaas.win: **FAILED** |
|
|
|
|
|
test.run yes |
|
|
test.run yes |
|
|
test.target test-serial |
|
|
|
|
|
livecheck.type regex |
|
|
livecheck.url ${homepage}/download.html |
|
|
livecheck.url ${homepage}/download |
|
|
livecheck.regex Wannier90 \\(v(\[0-9.\]+)\\) |