blob: efe734f0b91a00fc74492b42d1951fe81834862f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.5 2009/08/03 12:29:37 joerg Exp $
#
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME}
COMMENT= Simple Common Gateway Interface for Apache
DEPENDS+= ${PYPKGPREFIX}-scgi-[0-9]*:../../www/py-scgi
APACHE_MODULE= yes
.include "../../mk/apache.mk"
.if ${APACHE_PKG_PREFIX} == "ap13"
WRKSRC= ${WRKDIR}/${DISTNAME}/apache1
.else
WRKSRC= ${WRKDIR}/${DISTNAME}/apache2
.endif
do-build:
cd ${WRKSRC} && ${APXS} -c mod_scgi.c
.if ${APACHE_PKG_PREFIX} == "ap13"
do-install:
cd ${WRKSRC} && ${APXS} -i mod_scgi.so
.else
do-install:
cd ${WRKSRC} && ${APXS} -i mod_scgi.la
.endif
.include "../../lang/python/pyversion.mk"
.include "../../www/py-scgi/Makefile.common"
|