PORTNAME=	mod_authnz_external
DISTVERSIONPREFIX=	${PORTNAME}-
DISTVERSION=	3.3.3
CATEGORIES=	www
PKGNAMESUFFIX=	24
DIST_SUBDIR=	apache24

MAINTAINER=	eugene@zhegan.in
COMMENT=	Allows users authentication based on external mechanisms on apache 2.4

LICENSE=	APACHE20

USES=		apache cpe
USE_GITHUB=	yes
GH_ACCOUNT=	phokz
GH_PROJECT=	mod-auth-external
CPE_VENDOR=	${PORTNAME}_project
AP_FAST_BUILD=	yes
AP_GENPLIST=	yes
SHORTMODNAME=	authnz_external

PORTDOCS=	AUTHENTICATORS INSTALL README	\
		CHANGES UPGRADE INSTALL.HARDCODE CONTRIBUTORS

OPTIONS_DEFINE=	DOCS

post-install:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
