Ticket #14265: Portfile

File Portfile, 1.2 KB (added by ebgssth@…, 17 years ago)

Universal Feed Parser Portfile for Python2.5

Line 
1Index: py25-feedparser/Portfile
2===================================================================
3--- py25-feedparser/Portfile    (revision 0)
4+++ py25-feedparser/Portfile    (revision 0)
5@@ -0,0 +1,31 @@
6+# $Id: Portfile 25944 2007-06-07 04:06:45Z markd@macports.org $
7+PortSystem      1.0
8+PortGroup       python25 1.0
9+
10+name                py25-feedparser
11+version             4.1
12+categories          python
13+platforms           darwin
14+maintainers         yuhei@pop21.odn.ne.jp
15+description         RSS and Atom parser
16+long_description    Universal Feed Parser is a Python module for downloading \
17+    and parsing syndicated feeds. It can handle RSS 0.90, Netscape RSS 0.91, \
18+    Userland RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom, \
19+    and CDF feeds.
20+homepage            http://feedparser.org/
21+master_sites        sourceforge:feedparser
22+distname            feedparser-${version}
23+
24+use_zip             yes
25+
26+checksums           md5 7ab1140c1e29d4cd52ab20fa7b1f8640
27+
28+pre-extract {
29+       extract.post_args       -d ${workpath}/${distname}
30+}
31+
32+post-destroot  {
33+       xinstall -m 644 -W ${worksrcpath} LICENSE README \
34+               ${destroot}${prefix}/share/doc/${name}
35+       file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}/docs
36+}