# -*- 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.0 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  9b3181f93a974306b1980829f1875e68791d3340 \
                    sha256  a7eac7765000373165f9373eb748be039c10b2efc00be9af3467ec92357d8954 \
                    size    486348

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