source: trunk/dports/python/py25-mechanize/Portfile @ 37929

Last change on this file since 37929 was 37929, checked in by ryandesign@…, 12 years ago

Set svn:keywords to Id on all portfiles per current guidelines

  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 37929 2008-06-29 22:28:34Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup python25 1.0
6
7name                py25-mechanize
8version             0.1.7b
9categories          python www
10platforms           darwin
11maintainers         openmaintainer akira
12description         Stateful programmatic web browsing
13long_description    Stateful programmatic web browsing, after Andy \
14                    Lester's Perl module WWW::Mechanize.
15
16homepage            http://wwwsearch.sourceforge.net/mechanize
17master_sites        ${homepage}/src
18distname            mechanize-${version}
19checksums           md5 7d431ccec4e64063c7378ce3be53ea34
20
21depends_lib-append  port:py25-clientform
22                   
23test.run            yes
24test.cmd            ${python.bin}
25test.target         test.py
26
27post-destroot {
28    foreach f [glob -directory ${worksrcpath}/ *.txt *.html] {
29        copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
30    }
31    foreach f [glob -directory ${worksrcpath}/examples *] {
32        copy $f ${destroot}${prefix}/share/doc/${name}/examples/[file tail $f]
33    }
34}
Note: See TracBrowser for help on using the repository browser.