# -*- 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.28 5.30 5.32 5.34
perl5.setup         Gtk2-Ex-PodViewer 0.18
revision            1
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Gtk2::Ex::PodViewer - a Gtk2 widget for displaying Plain old Documentation (POD).
long_description    Gtk2::Ex::PodViewer is a widget for rendering Perl POD documents. It is \
                    based on the Gtk2::TextView widget and uses Pod::Parser for manipulating POD data.

platforms           {darwin any}

checksums           rmd160  e4e8be1fdee5a500d79ccbeedcff8fff9a216232 \
                    sha256  0bb895cd6f8d0a072f466972dff38743248c68df1dec9398bd944f002dbeeb60 \
                    size    15417

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-gtk2 \
                    port:p${perl5.major}-io-stringy \
                    port:p${perl5.major}-pod-simple

# use our p5-pod-parser on perl5.32+ where Pod::Parser and friends are no longer in core
    if {${perl5.major} > 5.30} {
        depends_lib-append \
                    port:p${perl5.major}-pod-parser
    }

    
    supported_archs noarch
}
