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

PortSystem          1.0
PortGroup           github 1.0

github.setup        msgpack msgpack-c 1.4.1 cpp-

name                msgpack1
categories          devel
maintainers         hum openmaintainer

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            http://msgpack.org/
platforms           darwin
license             Boost-1

checksums           rmd160  6def3d900a27422aee48219a01ae3c01a1fc8e31 \
                    sha256  db419565331ebf6b101f02da3b571408ee6c860ab3c5e3587007922da0997154

dist_subdir         msgpack

conflicts           port: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}
}