# $Id$ PortSystem 1.0 PortGroup python24 1.0 name py-cgipm version 0.1 revision 1 categories python www platforms darwin maintainers nomaintainer description CGI interface tool for use as python module long_description CGIpm is the Common Gateway Interface tool written in \ Python. The CGIpm Python module, like CGI.pm for Perl, \ is a tool for writing dynamic web pages. There exist \ many functions to accomplish all that you need to do \ when writing HTML documents for the web. On top of \ this functionality, CGIpm creates headers, cookies, \ and checks the parameters passed into web pages via \ online forms. homepage http://www.unixbeast.com/CGIpm/ master_sites ${homepage} distname CGIpm checksums md5 57acf4998fda294efc0a985213e03f1b post-extract { file copy ${filespath}/setup.py ${worksrcpath} reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py } post-destroot { xinstall -m 644 -W ${worksrcpath} CGIpmManual.txt README \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} IMAPClient.cgi iapproveornot.cgi \ ${destroot}${prefix}/share/doc/${name}/examples }