# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-clientform version 0.2.9 categories-append www license {BSD ZPL-2.1} platforms darwin supported_archs noarch maintainers krischik openmaintainer description python module for handling HTML forms long_description ClientForm is a Python module for handling HTML forms \ on the client side, useful for parsing HTML forms, \ filling them in and returning the completed forms to \ the server. homepage http://wwwsearch.sourceforge.net/ClientForm/ master_sites ${homepage}/src/ distname ClientForm-${version} checksums md5 21e68d52cc5939ab3345b97e09f0a25a \ sha1 ab07cf5bc293ffa1676bb7f4c5c756cb2907d782 \ rmd160 f82975f171ef3c673d78fa08f7ade3205a0cc87a python.versions 26 27 if {${name} ne ${subport}} { depends_build port:py${python.version}-setuptools test.run yes test.cmd ${python.bin} test.target test.py post-destroot { foreach f [glob -directory ${worksrcpath}/ *.txt *.html] { copy $f ${destroot}${prefix}/share/doc/${subport}/[file tail $f] } foreach f [glob -directory ${worksrcpath}/examples *] { copy $f ${destroot}${prefix}/share/doc/${subport}/examples/[file tail $f] } } }