29 lines
695 B
Makefile
29 lines
695 B
Makefile
# $NetBSD: Makefile,v 1.7 2010/02/20 14:58:45 joerg Exp $
|
|
#
|
|
|
|
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME}
|
|
PKGREVISION= 1
|
|
|
|
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"
|