# $Id: Portfile 84447 2011-09-26 12:28:46Z jmr@macports.org $

PortSystem            1.0
PortGroup             perl5 1.0

perl5.setup           File-Comments 0.08
revision              2
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.

platforms             darwin

checksums             md5 e2074a4a2cbc32c86ac9d92ab4481d1c \
                      sha1 b0b6cb493c8d7d51dde40f144b4b0ef2c7965ae7 \
                      rmd160 33af31e29f2f622b835a37d443dc5fd10f41c364

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

supported_archs       noarch
}
