# $Id: Portfile 87583 2011-11-26 22:50:44Z blb@macports.org $ PortSystem 1.0 name ajp-wsgi version 1.1 categories www license BSD maintainers nomaintainer description WSGI server/gateway implementing AJP long_description \ ajp-wsgi is a WSGI server/gateway that implements AJP 1.3 to \ communicate with a web server. It is written in C and embeds a Python \ interpreter to run the actual application. Since all of the low-level \ transport code is in C, ajp-wsgi is significantly faster than flup's \ pure-Python ajp server. platforms darwin homepage http://www.saddi.com/software/ajp-wsgi master_sites ${homepage}/dist/ use_bzip2 yes checksums md5 406bc951520186d3b17cc0abae6e32f6 \ sha1 85e30d6f612f42485caa4ee406159661760de575 \ rmd160 7f7b7d80f3daff25bbdfcb988c381b0d1a24722a configure.args configure.py configure.pre_args destroot { xinstall -m 755 -d ${destroot}${prefix}/bin \ ${destroot}${prefix}/share/doc/${name} \ ${destroot}${prefix}/share/examples/${name} xinstall -m 755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin xinstall -m 644 -W ${worksrcpath} ChangeLog README \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} test.py \ ${destroot}${prefix}/share/examples/${name} } variant python25 conflicts python26 python27 description {Use with Python 2.5} { depends_lib-append port:python25 configure.cmd ${prefix}/bin/python2.5 } variant python26 conflicts python25 python27 description {Use with Python 2.6} { depends_lib-append port:python26 configure.cmd ${prefix}/bin/python2.6 } variant python27 conflicts python25 python26 description {Use with Python 2.7} { depends_lib-append port:python27 configure.cmd ${prefix}/bin/python2.7 } if {![variant_isset python25] && ![variant_isset python27]} { default_variants +python26 } livecheck.type regex livecheck.url "${master_sites}?C=M;O=D" livecheck.regex "${name}-(\[0-9.\]+)${extract.suffix}"