blob: 125496b2080ce3fb786550ff592ffd8c701934e8 (
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
|
# $NetBSD: Makefile,v 1.8 2012/03/15 11:53:42 obache Exp $
#
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME}
PKGREVISION= 2
PKG_DESTDIR_SUPPORT= user-destdir
COMMENT= Simple Common Gateway Interface for Apache
DEPENDS+= ${PYPKGPREFIX}-scgi-[0-9]*:../../www/py-scgi
APACHE_MODULE= yes
.include "../../mk/apache.mk"
.include "../../www/apache/module.mk"
.if ${APACHE_PKG_PREFIX} == "ap13"
MODULE_EXT= so
APACHE_MODULE_SRCDIR= ${WRKDIR}/${DISTNAME}/apache1
.else
MODULE_EXT= la
APACHE_MODULE_SRCDIR= ${WRKDIR}/${DISTNAME}/apache2
.endif
APACHE_MODULE_NAME= mod_scgi.${MODULE_EXT}
APACHE_MODULE_SRC= mod_scgi.c
.include "../../lang/python/pyversion.mk"
.include "../../www/py-scgi/Makefile.common"
|