[38391] trunk/dports/www

jmr at macports.org jmr at macports.org
Fri Jul 18 04:19:18 PDT 2008


Revision: 38391
          http://trac.macosforge.org/projects/macports/changeset/38391
Author:   jmr at macports.org
Date:     2008-07-18 04:19:17 -0700 (Fri, 18 Jul 2008)
Log Message:
-----------
New port: mod_wsgi (#12652)

Added Paths:
-----------
    trunk/dports/www/mod_wsgi/
    trunk/dports/www/mod_wsgi/Portfile

Added: trunk/dports/www/mod_wsgi/Portfile
===================================================================
--- trunk/dports/www/mod_wsgi/Portfile	                        (rev 0)
+++ trunk/dports/www/mod_wsgi/Portfile	2008-07-18 11:19:17 UTC (rev 38391)
@@ -0,0 +1,45 @@
+# $Id$
+
+PortSystem 1.0
+
+name            mod_wsgi
+version         1.1
+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.
+
+distname        mod_wsgi-${version}
+homepage        http://www.modwsgi.org/
+master_sites    http://modwsgi.googlecode.com/files/
+checksums       md5 40b56807c8b685133fede6b59c32600f \
+                sha1 a82e79d5d429dba64ef1e0d65b502577f0434649
+                
+depends_lib     port:apache2 port:python24
+
+configure.cppflags-append \
+                "-I${prefix}/include/python2.4"
+configure.ldflags-append \
+                "-Wl,-F${prefix}/Library/Frameworks"
+configure.args \
+                --prefix=${prefix} \
+                --with-apxs=${prefix}/apache2/bin/apxs \
+                --with-python=${prefix}/bin/python2.4
+
+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 "########################################################"
+}


Property changes on: trunk/dports/www/mod_wsgi/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080718/e555a675/attachment.html 


More information about the macports-changes mailing list