~cypheon/pkgsrc-wip

pkgsrc-wip/ap2-auth-pam/Makefile -rw-r--r-- 1.0 KiB
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 6 months ago
                                                                                
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
# $NetBSD: Makefile,v 1.10 2014/06/22 19:57:10 thomasklausner Exp $

DISTNAME=	mod_auth_pam-2.0-1.1.1
PKGNAME=	ap2-auth-pam-1.1.1
PKGREVISION=	3
CATEGORIES=	www
MASTER_SITES=	http://pam.sourceforge.net/mod_auth_pam/dist/
# Even though it is on sourceforge, it is in web pages repository!

MAINTAINER=	lkundrak@skosi.org
HOMEPAGE=	http://pam.sourceforge.net/mod_auth_pam/
COMMENT=	Apache2 module for PAM authentification
LICENSE=	original-bsd AND gnu-gpl-v2

APACHE_MODULE_NAME=	mod_auth_pam
USE_LIBTOOL=		yes
USE_TOOLS+=		gmake

EGDIR=		${PREFIX}/share/examples/mod_auth_pam
HTMLDIR=	${PREFIX}/share/doc/html/mod_auth_pam

post-extract:
	${MV} ${WRKDIR}/${APACHE_MODULE_NAME} ${WRKSRC}

post-install:
	${INSTALL_DATA_DIR} ${EGDIR}
	${INSTALL_DATA_DIR} ${HTMLDIR}
	${INSTALL_DATA} ${WRKSRC}/samples/httpd ${EGDIR}/httpd.pam
	${INSTALL_DATA} ${WRKSRC}/doc/configure.html ${HTMLDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/faq.html ${HTMLDIR}

.include "../../mk/apache.mk"
.include "../../mk/pam.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"