# -*- 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

name                mmdb2
version             2.0.24
revision            0

categories          science
license             {LGPL-3 GPL-3}
maintainers         {reneeotten @reneeotten} openmaintainer

description         A C++ toolkit for working with macromolecular coordinate files
long_description    MMDB is designed to assist developers in working \
                    with macromolecular coordinate files. The library \
                    handles both PDB and mmCIF format files. \
                    The Library also features an internal binary \
                    format, portable between different platforms. This \
                    is achieved at uniformity of the Library's \
                    interface functions, so that there is no \
                    difference in handling different formats. \
                    MMDB provides various high-level tools for working \
                    with coordinate files, including reading and \
                    writing, orthogonal-fractional transforms, \
                    generation of symmetry mates, editing the \
                    molecular structure and more.

homepage            https://launchpad.net/mmdb
master_sites        https://ccp4forge.rc-harwell.ac.uk/ccp4/mmdb2/-/archive/${version}

checksums           rmd160  0115df224e6e9fd6d13f25c0b8d8729976bb05b9 \
                    sha256  90c413a879a45ccb251b77f1bf05c24dbcbf4ac816bdb0a78cc23a87ceb4f15f \
                    size    4339033

patchfiles-append   patch-mmdb2_mmdb_machine_.h.diff

configure.args-append \
                    --disable-silent-rules \
                    --enable-shared \
                    --disable-static
