# -*- 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                mdds
version             1.4.3
categories          devel
maintainers         {gmail.com:rjvbertin @RJVB}
license             MIT
description         Multi-dimensional data structure and indexing algorithms.
long_description    A collection of multi-dimensional data structure and indexing algorithms.
homepage            https://gitlab.com/${name}/${name}
master_sites        http://kohei.us/files/${name}/src/
use_bzip2           yes

checksums           rmd160  d425751e6839e2ae608d70ebde78a30b3136c5ff \
                    sha256  25ce3d5af9f6609e1de05bb22b2316e57b74a72a5b686fbb2da199da72349c81 \
                    size    334515

installs_libs       no
supported_archs     noarch

set branch          [join [lrange [split ${version} .] 0 1] .]

compiler.cxx_standard   2011

configure.args-append \
                    --disable-dependency-tracking

post-destroot {
    file rename ${destroot}${prefix}/share/pkgconfig/mdds-${branch}.pc ${destroot}${prefix}/lib/pkgconfig
}

livecheck.url       https://gitlab.com/${name}/${name}
