Files
Christopher NielsenandChristopher Nielsen de72a9ec46 libxc4: fix homepage, master_sites; pin livecheck to ver major
- Add missing revision
- Mirror distfiles in shared dir 'libxc'
2023-06-01 18:27:12 -04:00

45 lines
1.6 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup compilers 1.0
name libxc4
set my_name libxc
version 4.3.4
revision 0
categories science
platforms darwin
license LGPL-3+
maintainers {dstrubbe @dstrubbe}
conflicts libxc
description exchange-correlation functionals for DFT
long_description Libxc is a library of exchange-correlation functionals \
for density-functional theory. The aim is to provide a \
portable, well tested and reliable set of exchange and \
correlation functionals that can be used by all the \
ETSF codes and also other codes.
homepage https://www.tddft.org/programs/libxc/
master_sites https://www.tddft.org/programs/libxc/down.php?file=${version}
distname ${my_name}-${version}
dist_subdir ${my_name}
checksums rmd160 48b4249e4ffa513e9c9c99e64bcc14c5d8ec7cc3 \
sha256 a8ee37ddc5079339854bd313272856c9d41a27802472ee9ae44b58ee9a298337 \
size 15602575
compilers.choose fc
compilers.setup require_fortran -g95
# g95 cannot handle F2003 here
universal_variant no
test.run yes
test.target check
livecheck.type regex
livecheck.url http://www.tddft.org/programs/libxc/download/previous
livecheck.regex "${my_name}-(4\.\[0-9\.\]+).tar.gz"