# -*- 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        akheron jansson 2.15.1 v
github.tarball_from releases
revision            0

categories          devel
license             MIT
maintainers         {stromnov @stromnov} openmaintainer

description         C library for encoding, decoding and manipulating JSON data.
long_description    {*}${description}

homepage            https://www.digip.org/jansson/

use_bzip2           yes
checksums           rmd160  249aded2ae8649169a9f257f49cf0140007502fd \
                    sha256  f9aa4b3ec8496fee69db94f06f3d76fd4a26b012ee9bf1e917078c2cd2841881 \
                    size    488779

post-destroot {
    set docdir ${destroot}${prefix}/share/doc/${subport}
    xinstall -d ${docdir}
    xinstall -m 0644 {*}[glob ${worksrcpath}/doc/*.rst] ${docdir}
}
