# $Id: Portfile,v 1.1 2005/08/19 05:14:47 pguyot Exp $
PortSystem      1.0
PortGroup       python24 1.0

name                py-feedparser
version             3.3
categories          python
platforms           darwin
maintainers         yuhei@pop21.odn.ne.jp
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 f95db0d0e8832197c40a90f517546e21

post-extract {
    file rename ${workpath}/feedparser ${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
}
