pkgsrc/www/ap-auth-external/Makefile
obache 3686e0b8a5 Fix module name in MESSAGE for apache2.
Pointed out in PR 35510.
2007-02-03 04:13:25 +00:00

31 lines
781 B
Makefile

# $NetBSD: Makefile,v 1.4 2007/02/03 04:13:25 obache Exp $
#
DISTNAME= mod_auth_external-${DISTVERS}
PKGREVISION= 1
PKGNAME= ${APACHE_PKG_PREFIX}-auth-external-${DISTVERS}
CATEGORIES= www
MASTER_SITES= http://unixpapa.com/software/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://unixpapa.com/mod_authnz_external/
COMMENT= Apache module for external program authentication
PKG_APACHE_ACCEPTED= apache13 apache2
.include "../../mk/apache.mk"
APACHE_MODULE_NAME= mod_auth_external.${MODULE_EXT}
.if ${PKG_APACHE} == "apache13"
DISTVERS= 2.1.19
MODULE_EXT= so
MESSAGE_SUBST+= MODULE_NAME=external_auth_module
.else
DISTVERS= 2.2.11
MODULE_EXT= la
MESSAGE_SUBST+= MODULE_NAME=auth_external_module
.endif
.include "../../www/apache/module.mk"
.include "../../mk/bsd.pkg.mk"