# $Id: Portfile 46525 2009-02-06 06:04:45Z ryandesign@macports.org $

PortSystem      1.0
PortGroup       python26 1.0

name            py26-feedparser
version         4.1
categories      python
platforms       darwin
maintainers     openmaintainer brett
description     RSS and Atom parser
long_description    Universal Feed Parser is a Python module for downloading \
    and parsing syndicated feeds. It can handle RSS 0.90, Netscape RSS 0.91, \
    Userland RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom, \
    and CDF feeds.
homepage        http://feedparser.org/
master_sites    sourceforge:feedparser
distname        feedparser-${version}

use_zip         yes

checksums       md5 7ab1140c1e29d4cd52ab20fa7b1f8640

extract.mkdir   yes

post-destroot   {
        xinstall -m 644 -W ${worksrcpath} LICENSE README \
                ${destroot}${prefix}/share/doc/${name}
        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}/docs
}
