Ticket #20611: Portfile

File Portfile, 997 bytes (added by neric27@…, 15 years ago)
Line 
1# $Id: Portfile 44419 2008-12-28 09:31:44Z akitada@macports.org $
2
3PortSystem      1.0
4PortGroup       python26 1.0
5
6name            py26-feedparser
7version         4.1
8categories-append net
9platforms       darwin
10maintainers     wanadoo.fr:neric27 openmaintainer
11description     RSS and Atom parser
12long_description    Universal Feed Parser is a Python module for downloading \
13    and parsing syndicated feeds. It can handle RSS 0.90, Netscape RSS 0.91, \
14    Userland RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom, \
15    and CDF feeds.
16homepage        http://feedparser.org/
17master_sites    sourceforge:feedparser
18distname        feedparser-${version}
19
20use_zip         yes
21
22checksums       md5 7ab1140c1e29d4cd52ab20fa7b1f8640
23
24pre-extract {
25        extract.post_args -d ${workpath}/${distname}
26}
27
28post-destroot   {
29        xinstall -m 644 -W ${worksrcpath} LICENSE README \
30                ${destroot}${prefix}/share/doc/${name}
31        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}/docs
32}