pkgsrc/www/ap2-fastcgi/Makefile
cube ef8e4f6a6b Initial import of ap2-fastcgi, version 2.4.2 into the NetBSD Packages
Collection.

FastCGI provides a high-performance alternative to CGI for writing Web
server applications in a variety of languages, including Perl, C, C++,
Java, and Python.  FastCGI gets its speed by having keeping application
processes running between requests.  So, unlike CGI, you do not have the
overhead of starting up a new process and doing application initialization
(e.g. connecting to a database) each time somebody requests a document.

This package works with Apache version 2 series.  In order to use FastCGI
with the version 1.3 series, use www/ap-fastcgi instead.
2004-10-28 21:04:16 +00:00

18 lines
470 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2004/10/28 21:04:16 cube Exp $
.include "../../www/ap-fastcgi/Makefile.common"
PKGNAME= ${DISTNAME:S/mod_/ap2-/}
PKG_APACHE_ACCEPTED= apache2
APACHE_MANUAL= manual
SUBST_CLASSES+= ap2
SUBST_STAGE.ap2= pre-build
SUBST_FILES.ap2= ${WRKSRC}/Makefile
SUBST_SED.ap2= -e s,/usr/local/apache2,${PREFIX}/share/httpd,
post-patch:
${CP} ${WRKSRC}/Makefile.AP2 ${WRKSRC}/Makefile
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"