categories-append science
maintainers {mmoll @mamoll} openmaintainer
description The Molecular Modelling Toolkit is a library for molecular \
simulations with a focus on biomolecular systems.
long_description $description
homepage http://dirac.cnrs-orleans.fr/MMTK/
distname ${realname}-${version}
master_sites https://sourcesup.renater.fr/frs/download.php/file/3668/
checksums md5 8e941ac5bb3930919697d9a781738d9c \
sha1 31a4b3d7469e82fc24c363d7cd1b20d425976294 \
rmd160 0259d428336f5717307468f8e4ebd57351bacc19
if {${name} ne ${subport}} {
depends_build port:py${python.version}-setuptools
depends_lib port:py${python.version}-scientific
build.env-append CPPFLAGS="-I${prefix}/include -I${prefix}/include/python${python.branch}"
# The strings are multi-line, and hence fail (see r64144). Also, the dev
# version is really the "stable" branch, given the infrequency of updates.
# livecheck.url ${homepage}
# livecheck.regex "Development Releases</strong>\\s*</td>\\s*<td>\\s*(\[0-9.\]+)"