summaryrefslogtreecommitdiff
path: root/security/pam-tacplus/Makefile
blob: eb9e3828f95195e9ec8afa51f011a19bf2a02a71 (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
# $NetBSD: Makefile,v 1.2 2010/03/13 09:27:26 pettai Exp $
#

PKGNAME=        ${DISTNAME:S/_/-/}
DISTNAME=	pam_tacplus-1.2.11
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=tacplus/}

MAINTAINER=	pettai@NetBSD.org
HOMEPAGE=	http://tacplus.sourceforge.net/
COMMENT=	TACACS+ client library and PAM module
#LICENSE=

WRKSRC=		${WRKDIR}/tacplus
EGDIR=		${PREFIX}/share/examples/pam_tacplus
DOCDIR=		${PREFIX}/share/doc/pam_tacplus

PKG_DESTDIR_SUPPORT=	user-destdir

INSTALLATION_DIRS=	lib/security ${EGDIR} ${DOCDIR}

do-install:
	${INSTALL} ${WRKSRC}/pam_tacplus.so \
			${DESTDIR}${PREFIX}/lib/security/pam_tacplus.so
	${INSTALL} ${WRKSRC}/README \
			${DESTDIR}${DOCDIR}/README
	${INSTALL} ${WRKSRC}/sample.pam \
			${DESTDIR}${EGDIR}/sample.pam

.include "../../mk/bsd.pkg.mk"