1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name py26-mod_wsgi |
---|
7 | version 2.5 |
---|
8 | revision 1 |
---|
9 | categories www python |
---|
10 | platforms darwin |
---|
11 | maintainers l11solutions.com:gtaylor |
---|
12 | description Python WSGI adapter module for Apache. |
---|
13 | long_description The mod_wsgi module is written in C code directly against \ |
---|
14 | the internal Apache and Python application programming interfaces. As such, \ |
---|
15 | for hosting WSGI applications in conjunction with Apache it has a lower \ |
---|
16 | memory overhead and performs better than existing WSGI adapters for \ |
---|
17 | mod_python or alternative FASTCGI/SCGI/CGI based solutions. |
---|
18 | |
---|
19 | homepage http://www.modwsgi.org/ |
---|
20 | master_sites http://modwsgi.googlecode.com/files/ |
---|
21 | distname mod_wsgi-${version} |
---|
22 | checksums md5 43ad11c477799e2f780c50197c420afd \ |
---|
23 | sha1 a2ed3fd60b390c3a790aca1c859093ab7a7c2d9d |
---|
24 | |
---|
25 | depends_lib port:apache2 port:python26 |
---|
26 | |
---|
27 | configure.args \ |
---|
28 | --with-apxs=${prefix}/apache2/bin/apxs \ |
---|
29 | --with-python=${prefix}/bin/python2.6 |
---|
30 | |
---|
31 | destroot.violate_mtree yes |
---|
32 | pre-destroot { |
---|
33 | xinstall -d -m 755 ${destroot}${prefix}/apache2/modules |
---|
34 | } |
---|
35 | |
---|
36 | post-install { |
---|
37 | ui_msg "########################################################" |
---|
38 | ui_msg "# To enable mod_wsgi add" |
---|
39 | ui_msg "# LoadModule wsgi_module modules/mod_wsgi.so" |
---|
40 | ui_msg "# to your apache2 config file:" |
---|
41 | ui_msg "# ${prefix}/apache2/conf/httpd.conf" |
---|
42 | ui_msg "########################################################" |
---|
43 | } |
---|