# -*- 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                libccp4
version             8.0.0
revision            0

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

description         C++ toolkit for superposition of macromolecules
long_description    SSM is a macromolecular coordinate superposition library, written by Eugene \
                    Krissinel of the EBI. It implements the SSM algorithm of protein structure \
                    comparison in three dimensions, which includes an original procedure of \
                    matching graphs built on the protein's secondary-structure elements, followed \
                    by an iterative three-dimensional alignment of protein backbone Calpha atoms.

homepage            https://github.com/cctbx/ccp4io/tree/master/libccp4

master_sites        https://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/dependencies

checksums           sha256  cb813ae86612a0866329deab7cee96eac573d81be5b240341d40f9ad5322ff2d \
                    rmd160  32d82bce34d5e7663a36fe9f9b8b55b527135104 \
                    size    937534

patchfiles          patch-Makefile.in.diff

depends_build-append \
                    path:bin/pkg-config:pkgconfig \
                    port:m4

depends_lib-append  port:mmdb2

configure.env-append \
                    M4=${prefix}/bin/gm4

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