blob: c43e1ba626ec7d85185f47be86c3b41758d37c09 (
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
32
|
# $NetBSD: Makefile,v 1.6 2010/02/10 19:17:47 joerg Exp $
#
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME}
PKGREVISION= 1
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"
|