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

github.setup        keenerd jshon d919aeaece37962251dbe6c1ee50f0028a5c90e4
github.tarball_from archive
version             20180209
revision            0

homepage            http://kmkeen.com/jshon

description         Jshon is a JSON parser designed for maximum convenience \
                    within the shell

long_description    {*}${description}

categories          textproc
license             MIT
maintainers         nomaintainer
platforms           darwin

checksums           rmd160  c46accc619b038ec277babb0886f10370e3d9053 \
                    sha256  e28b541ad748ee3ffb1cda6759de1713dbead854e4b9095665d1faf38bb8a346 \
                    size    14121

depends_lib-append  port:jansson

patchfiles          Makefile.diff

variant universal   {}

post-extract {
    file rename ${worksrcpath}/jshon_zsh_completion ${worksrcpath}/_jshon
}

pre-destroot {
    xinstall -d ${destroot}${prefix}/share/zsh/site-functions
}
