source: trunk/dports/python/py-mechanize/Portfile @ 14258

Last change on this file since 14258 was 14258, checked in by mww, 14 years ago

Bug: #3441

update to 0.0.9a

  • Property svn:eol-style set to native
File size: 939 bytes
Line 
1# $Id: Portfile,v 1.4 2005/09/25 09:43:34 mww Exp $
2
3PortSystem 1.0
4PortGroup python24 1.0
5
6name                    py-mechanize
7version                 0.0.9a
8categories              python www
9platforms               darwin
10maintainers             mww@opendarwin.org
11description             Stateful programmatic web browsing
12long_description        Stateful programmatic web browsing, after Andy \
13                                Lester's Perl module WWW::Mechanize.
14
15homepage                http://wwwsearch.sourceforge.net/mechanize
16master_sites    ${homepage}/src
17distname                mechanize-${version}
18checksums               md5 7c805a9d3596b9e3267b1f88a9bbe1da
19
20depends_lib-append      port:py-clientcookie \
21                                port:py-clientform \
22                                port:py-pullparser
23
24test.run                yes
25test.cmd                ${python.bin}
26test.target             test.py
27
28post-destroot   {
29        xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog GeneralFAQ.html \
30                INSTALL README.html README.txt \
31                ${destroot}${prefix}/share/doc/${name}
32        xinstall -m 644 ${worksrcpath}/examples/hack21.py \
33                ${destroot}${prefix}/share/doc/${name}/examples
34}
Note: See TracBrowser for help on using the repository browser.