# $Id: Portfile 74761 2011-01-01 22:32:01Z blb@macports.org $ PortSystem 1.0 name ajp-wsgi version 1.0.4 categories www maintainers blb openmaintainer 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 4cca47ddfc6779f183e9ed040228acc1 \ sha1 64d2f76d1365d8ebad35e9bc57af2007c3255905 \ rmd160 4c244d73636d4c2069772beef03d5780adb85fa9 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}"