summaryrefslogtreecommitdiff
path: root/www/ap24-authnz-external/Makefile
blob: 6bcbe2e2f8102c789765ca4477c7c6d9246f43c9 (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
33
34
35
36
37
38
# $NetBSD: Makefile,v 1.2 2017/08/01 16:51:20 wiz Exp $

DISTNAME=	mod_authnz_external-${DISTVERS}
#PKGREVISION=	1
PKGNAME=	${APACHE_PKG_PREFIX}-authnz-external-${DISTVERS}
CATEGORIES=	www
MASTER_SITES=	https://github.com/phokz/mod-auth-external/archive/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/phokz/mod-auth-external/tree/master/mod_authnz_external
COMMENT=	Apache module for external program authentication
LICENSE=	apache-1.1

PKG_APACHE_ACCEPTED=	apache24

WRKSRC=		${WRKDIR}/mod-auth-external-${DISTNAME}
APACHE_MODULE_NAME=	mod_authnz_external.${MODULE_EXT}

DISTVERS=	3.3.1
MODULE_EXT=	la
MESSAGE_SUBST+=	MODULE_NAME=authnz_external_module

INSTALLATION_DIRS+=	share/doc/authnz-external

post-install:
	${INSTALL_DATA} ${WRKSRC}/AUTHENTICATORS \
		${DESTDIR}${PREFIX}/share/doc/authnz-external
	${INSTALL_DATA} ${WRKSRC}/INSTALL \
		${DESTDIR}${PREFIX}/share/doc/authnz-external
	${INSTALL_DATA} ${WRKSRC}/INSTALL.HARDCODE \
		${DESTDIR}${PREFIX}/share/doc/authnz-external
	${INSTALL_DATA} ${WRKSRC}/TODO \
		${DESTDIR}${PREFIX}/share/doc/authnz-external
	${INSTALL_DATA} ${WRKSRC}/UPGRADE \
		${DESTDIR}${PREFIX}/share/doc/authnz-external

.include "../../mk/apache.module.mk"
.include "../../mk/bsd.pkg.mk"