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

github.setup        msgpack msgpack-c 6.1.0 c-
github.tarball_from archive
revision            0

conflicts           msgpack0 msgpack1 msgpack2 msgpack3

categories          devel
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  cbc037bb05dbd39164478620545596273bc56a51 \
                    sha256  c23c4070dbe01f46044bf70c5349f29453d655935b6dc710714c008bca0825a7 \
                    size    76306

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-C.md \
        README.md CHANGELOG.md LICENSE_1_0.txt ${destroot}${docdir}
}
