# -*- 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: Portfile 150279 2016-07-14 03:50:28Z devans@macports.org $

# This comment was inserted on 20160713 to force reindexing of
# this port after the default homepage definition in the perl5
# PortGroup was changed to use metacpan.org (r150080).
# Reindexing is necessary for the new definition to take effect.
# This comment may be removed in subsequent updates of this port.

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.22 5.24
perl5.setup         Plack-Middleware-FixMissingBodyInRedirect 0.12

platforms           darwin
maintainers         nomaintainer
license             {Artistic-1 GPL}

supported_archs     noarch

description         Plack::Middleware which sets body for redirect response, if it's not already set
long_description    ${description}

checksums           rmd160 7b9320eee383cd2ee7abc1e3c2fa492ba22bfc17 \
                    sha256 6c22d069f5a57ac206d4659b28b8869bb9270640bb955efddd451dcc58cdb391

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-http-message
    depends_lib-append \
                    port:p${perl5.major}-html-parser \
                    port:p${perl5.major}-plack
}


