# -*- 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 5.28 5.30
perl5.setup         HTML-FormatText-WithLinks 0.15
license             {Artistic-1 GPL}
maintainers         {devans @dbevans} openmaintainer
description         HTML::FormatText::WithLinks - HTML to text conversion with links as footnotes
long_description    ${description}

platforms           darwin

checksums           rmd160  823926a9c922d33697d3802a96fb8a99d86946c3 \
                    sha256  7fcc1ab79eb58fb97d43e5bdd14e21791a250a204998918c62d6a171131833b1

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-test-mockobject

    depends_lib-append \
                    port:p${perl5.major}-html-formatter \
                    port:p${perl5.major}-html-tree \
                    port:p${perl5.major}-uri

    supported_archs noarch
    perl5.use_module_build
}