# -*- 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         File-Comments 0.08
revision            3
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Recognizes file formats and extracts format-specific comments
long_description    File::Comments guesses the type of a given file, \
                    determines the format used for comments, extracts all \
                    comments, and returns them as a reference to an array \
                    of chunks. Alternatively, it strips all comments from \
                    a file.

checksums           rmd160  33af31e29f2f622b835a37d443dc5fd10f41c364 \
                    sha256  5f848ca06f9f9d95d5ba63f5e6847806d794ea266ea6cb7c9a6931bcf14c1390

platforms           {darwin any}
supported_archs     noarch

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-html-parser \
                    port:p${perl5.major}-html-tree \
                    port:p${perl5.major}-log-log4perl \
                    port:p${perl5.major}-module-pluggable \
                    port:p${perl5.major}-ppi \
                    port:p${perl5.major}-sysadm-install
}
