挫折

mod_wsgimacports で入れられるようにと思ったのですが、挫折しました。
出直してきます。

# $Id: Portfile 24291 2007-04-21 10:15:39Z mww@macports.org $
PortSystem 1.0

name                    mod_wsgi
version                 1.0c1
categories              www python
platforms               darwin
maintainers            
description             Python WSGI adapter module for Apache.
long_description        The mod_wsgi adapter is an Apache module that provides a WSGI compliant interface for hosting Python based web applications in conjunction with Apache. The adapter is written completely in C code against the Apache C runtime and for hosting WSGI applications within Apache has a lower overhead than using existing WSGI adapters for mod_python or CGI.

distname                mod_wsgi-${version}
homepage                http://www.modwsgi.org/
master_sites            http://modwsgi.googlecode.com/files/
extract.suffix          .tar.gz
checksums               sha1 6dff77a99144cd78a8849c10c64afee5963ce1fe

depends_lib             port:apache2 port:python24

configure.cppflags      "-I${prefix}/include/python2.4"
configure.ldflags-append        "-Wl,-F${prefix}/Library/Frameworks"
configure.args  --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 "########################################################"
}