Ticket #20809: Portfile

File Portfile, 1.6 KB (added by gtaylor@…, 15 years ago)

py26-mod_wsgi Portfile

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