# $Id: Portfile 38416 2008-07-19 07:45:19Z jmr@macports.org $ PortSystem 1.0 name mod_wsgi version 2.3 categories www python platforms darwin maintainers taywa.ch:ys description Python WSGI adapter module for Apache. long_description The mod_wsgi module is written in C code directly against \ the internal Apache and Python application programming interfaces. As such, \ for hosting WSGI applications in conjunction with Apache it has a lower \ memory overhead and performs better than existing WSGI adapters for \ mod_python or alternative FASTCGI/SCGI/CGI based solutions. homepage http://www.modwsgi.org/ master_sites http://modwsgi.googlecode.com/files/ checksums md5 c686e1c498dbe5753fe491c3cf61cff4 #depends_lib port:apache2 port:python24 configure.cppflags-append \ "-I${prefix}/include/python2.6" configure.ldflags-append \ "-Wl,-F${prefix}/Library/Frameworks" configure.args \ --with-apxs=${prefix}/apache2/bin/apxs \ --with-python=${prefix}/bin/python2.6 destroot.violate_mtree yes pre-destroot { xinstall -d -m 755 ${destroot}${prefix}/apache2/modules } post-install { ui_msg "########################################################" ui_msg "# To enable mod_wsgi add" ui_msg "# LoadModule python_module modules/mod_wsgi.so" ui_msg "# to your apache2 config file:" ui_msg "# ${prefix}/apache2/conf/httpd.conf" ui_msg "########################################################" }