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

perl5.branches      5.26
perl5.setup         HTTP-Entity-Parser 0.21
license             {Artistic-1 GPL}
maintainers         {devans @dbevans} openmaintainer
description         HTTP::Entity::Parser - PSGI compliant HTTP Entity Parser
long_description    ${description}

platforms           darwin

checksums           rmd160  c6f3cd85effa6137eb3041aa4b0f3be6f23a310d \
                    sha256  c14d3e42bdb0845eb412640ca5e396cbd52d3a9a616a5974a32a52cab487f8d8 \
                    size    23733

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-http-message \
                    port:p${perl5.major}-module-build-tiny

    depends_lib-append \
                    port:p${perl5.major}-file-temp \
                    port:p${perl5.major}-hash-multivalue \
                    port:p${perl5.major}-http-multipartparser \
                    port:p${perl5.major}-json-maybexs \
                    port:p${perl5.major}-module-load \
                    port:p${perl5.major}-stream-buffered \
                    port:p${perl5.major}-www-form-urlencoded \
                    port:p${perl5.major}-www-form-urlencoded-xs

    perl5.use_module_build
    supported_archs noarch
}