# -*- 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
description An Apache module that implements the FastCGI protocol
long_description FastCGI is a language independent, scalable, open \
extension to CGI that provides high performance \
without the limitations of server specific APIs. \
This is the Apache module.
homepage https://web.archive.org/web/20080906064558/http://www.fastcgi.com/
master_sites macports_distfiles
checksums md5 a21a613dd5dacf4c8ad88c8550294fed
depends_lib port:apache22
destroot.violate_mtree yes
file copy ${worksrcpath}/Makefile.AP2 ${worksrcpath}/Makefile
reinplace "s|/usr/local/apache2|${prefix}/apache22|g" \
reinplace "s|apachectl|${prefix}/apache22/bin/apachectl|g" \
reinplace "s|apxs|${prefix}/apache22/bin/apxs|g" ${worksrcpath}/Makefile
build.args INCLUDES=-I${prefix}/apache2/include
xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} \
${destroot}${prefix}/apache22/modules
xinstall -m 644 ${worksrcpath}/.libs/mod_fastcgi.so \
${destroot}${prefix}/apache22/modules
xinstall -m 644 -W ${worksrcpath}/docs LICENSE.TERMS mod_fastcgi.html \
${destroot}${prefix}/share/doc/${name}
notes "To enable mod_fastcgi in Apache, add
LoadModule fastcgi_module modules/mod_fastcgi.so
to ${prefix}/apache22/conf/httpd.conf
For further configuration information please visit
http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html"