# $Id: Portfile 44419 2008-12-28 09:31:44Z akitada@macports.org $

PortSystem      1.0
PortGroup       python25 1.0

name            py25-feedparser
version         4.1
categories      python
platforms       darwin
maintainers     akitada openmaintainer
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

pre-extract {
	extract.post_args -d ${workpath}/${distname}
}

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