Ticket #4517: Portfile

File Portfile, 995 bytes (added by yuhei@…, 19 years ago)

Portfile

Line 
1# $Id: Portfile $
2PortSystem      1.0
3PortGroup       python24 1.0
4
5name                py-feedparser
6version             3.3
7categories          python
8platforms           darwin
9maintainers         yuhei@pop21.odn.ne.jp
10description         RSS and Atom parser
11long_description    Universal Feed Parser is a Python module for downloading \
12    and parsing syndicated feeds. It can handle RSS 0.90, Netscape RSS 0.91, \
13    Userland RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom, \
14    and CDF feeds.
15homepage            http://feedparser.org/
16master_sites        sourceforge:feedparser
17distname            feedparser-${version}
18use_zip             yes
19checksums           md5 f95db0d0e8832197c40a90f517546e21
20
21post-extract {
22    file rename ${workpath}/feedparser ${workpath}/${distname}
23}
24
25post-destroot   {
26        xinstall -m 644 -W ${worksrcpath} LICENSE README \
27                ${destroot}${prefix}/share/doc/${name}
28        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}/docs
29}