# -*- 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 93011 2012-05-14 02:29:44Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

epoch               1
perl5.setup         XML-Feed 0.49
license             {Artistic-1 GPL}
maintainers         nomaintainer
supported_archs     noarch

description         Syndication feed parser and auto-discovery
long_description    An abstraction above the RSS and Atom syndication feed \
                    formats. It supports both parsing and autodiscovery of feeds.

platforms           darwin

checksums           rmd160  2a381d82f9306977c078e92a3317ec2b31d249cc \
                    sha256  9a601ab600e884e0ee771913fdb7c2cf270d0c2858f7022c3f3f8d9d04de7960

if {${perl5.major} != ""} {
depends_lib-append \
                    port:p${perl5.major}-class-errorhandler \
                    port:p${perl5.major}-xml-rss \
                    port:p${perl5.major}-xml-atom \
                    port:p${perl5.major}-datetime \
                    port:p${perl5.major}-datetime-format-mail \
                    port:p${perl5.major}-datetime-format-w3cdtf \
                    port:p${perl5.major}-feed-find \
                    port:p${perl5.major}-uri-fetch
}
