source: trunk/dports/www/mod_wsgi/Portfile

Last change on this file was 130107, checked in by larryv@…, 3 years ago

mod_wsgi: Use Python 2.7 always

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
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: Portfile 130107 2014-12-27 04:35:21Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        GrahamDumpleton mod_wsgi 4.2.8
8revision            1
9categories          www python
10platforms           darwin
11license             Apache
12maintainers         nomaintainer
13
14description         Python WSGI adapter module for Apache.
15long_description    The mod_wsgi module is written in C code directly \
16                    against the internal Apache and Python application \
17                    programming interfaces. As such, for hosting WSGI \
18                    applications in conjunction with Apache it has \
19                    a lower memory overhead and performs better than \
20                    existing WSGI adapters for mod_python or \
21                    alternative FASTCGI/SCGI/CGI based solutions.
22homepage            http://www.modwsgi.org/
23
24depends_lib         port:apache2 \
25                    port:python27
26
27checksums           rmd160  1af7c5f96a54f629fdd55c459134a56bf0e2e743 \
28                    sha256  01f95e96aa5bd5cfbbbbe92fe0d6ddfe25820d1166ca4c5d67e185fb873aa44f
29
30configure.args      --disable-framework \
31                    --with-apxs=${prefix}/apache2/bin/apxs \
32                    --with-python=${prefix}/bin/python2.7
33
34destroot.violate_mtree yes
35pre-destroot {
36    xinstall -d -m 755 ${destroot}${prefix}/apache2/modules
37}
38
39notes "
40To enable mod_wsgi, add
41
42    LoadModule wsgi_module modules/mod_wsgi.so
43
44to your ${prefix}/apache2/conf/httpd.conf file.
45"
Note: See TracBrowser for help on using the repository browser.