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

Last change on this file since 20382 was 20382, checked in by blair@…, 13 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 894 bytes
Line 
1# $Id: Portfile 20382 2006-11-02 21:38:50Z blair@macports.org $
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.