# -*- 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           github 1.0
PortGroup           cmake 1.1
PortGroup           boost 1.0

github.setup        msgpack msgpack-c 6.1.1 cpp-
github.tarball_from archive
name                msgpack-cpp
revision            0

conflicts           msgpack0 msgpack1 msgpack2 msgpack3

categories          devel
platforms           any
supported_archs     noarch
license             Boost-1
maintainers         nomaintainer

description         MessagePack implementation for C++
long_description    MessagePack is a binary-based efficient data interchange \
                    format that is focused on high performance. \
                    It is like JSON, but very fast and small.

homepage            https://msgpack.org/

checksums           rmd160  8a168aa98057bd848a5b0ae5c01ff37fcc5443e6 \
                    sha256  d7b119f292365d41403b41b40c2fefd82ebd81241e3c658fafe0e638fa54604a \
                    size    474980

configure.args-append \
                   -DMSGPACK_BUILD_TESTS=OFF

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 0644 -W ${worksrcpath} COPYING NOTICE QUICKSTART-CPP.md \
        README.md CHANGELOG.md LICENSE_1_0.txt ${destroot}${docdir}
}