summaryrefslogtreecommitdiff
path: root/security/pam-ldap/Makefile
blob: 8409a3154f0b55856cc2394990adbac9f6139ba4 (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.3 2001/06/11 06:34:48 jlam Exp $
#

DISTNAME=	pam_ldap
PKGNAME=	${DISTNAME:S/_/-/}-${VERSION}
WRKSRC=		${WRKDIR}/${DISTNAME}-${VERSION}
CATEGORIES=	security
MASTER_SITES=	http://www.padl.com/download/ \
		ftp://ftp.padl.com/pub/
EXTRACT_SUFX=	.tgz

MAINTAINER=	rh@netbsd.org
HOMEPAGE=	http://www.padl.com/pam_ldap.html
COMMENT=	pluggable authentication module for LDAP directories

DEPENDS+=	openldap-*:../../databases/openldap
DEPENDS+=	PAM-*:../../security/PAM

GNU_CONFIGURE=	YES
CPPFLAGS+=	-I${WRKSRC}
CONFIGURE_ARGS+=--with-ldap-lib=openldap
CONFIGURE_ARGS+=--with-ldap-dir=${PREFIX}
INSTALL_TARGET=	install install-data

VERSION=	77

post-configure:		# prevent starting of autoconf
.for file in aclocal.m4 Makefile.in Makefile stamp-h.in stamp-h
	cd ${WRKSRC} && ${TOUCH} ${file}
.endfor

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pam-ldap
.for doc in COPYING COPYING.LIB INSTALL ChangeLog
	cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${PREFIX}/share/doc/pam-ldap
.endfor

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