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

github.setup        msgpack msgpack-c 1.4.2 cpp-

name                msgpack1
categories          devel
maintainers         nomaintainer

description         Library for a binary-based efficient data interchange format
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/
platforms           darwin
license             Boost-1

checksums           rmd160  67d03587f5d8e094200bd67bc12d5ebb773bb9f8 \
                    sha256  67f2e45023d954fa1df0749999eb5aaa79b2c76ac940bf453b9f2692aac0b805

dist_subdir         msgpack

conflicts           msgpack

depends_build       port:autoconf port:automake port:libtool

pre-configure {
    system -W ${worksrcpath} "./bootstrap"
}

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 644 -W ${worksrcpath} \
        AUTHORS COPYING ChangeLog LICENSE_1_0.txt NOTICE README README.md \
        ${destroot}${docdir}
}

livecheck.type      none
