2003-05-02 13:53:34 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2003/05/02 11:56:19 wiz Exp $
|
2000-10-21 20:47:46 +02:00
|
|
|
#
|
|
|
|
|
2002-07-13 23:35:15 +02:00
|
|
|
DISTNAME= pam_ldap-150
|
2003-05-02 13:53:34 +02:00
|
|
|
PKGREVISION= 1
|
2002-07-13 23:35:15 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/_/-/}
|
2000-10-21 20:47:46 +02:00
|
|
|
CATEGORIES= security
|
2002-07-13 23:35:15 +02:00
|
|
|
MASTER_SITES= ftp://ftp.padl.com/pub/
|
2000-10-21 20:47:46 +02:00
|
|
|
|
|
|
|
MAINTAINER= rh@netbsd.org
|
|
|
|
HOMEPAGE= http://www.padl.com/pam_ldap.html
|
2001-02-17 18:42:09 +01:00
|
|
|
COMMENT= pluggable authentication module for LDAP directories
|
2000-10-21 20:47:46 +02:00
|
|
|
|
2003-05-02 13:53:34 +02:00
|
|
|
DEPENDS+= openldap>=2.0.27nb3:../../databases/openldap
|
2001-09-28 01:17:41 +02:00
|
|
|
DEPENDS+= PAM-[0-9]*:../../security/PAM
|
2000-10-21 20:47:46 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
2002-07-13 23:35:15 +02:00
|
|
|
#CPPFLAGS+= -I${WRKSRC}
|
|
|
|
CONFIGURE_ARGS+= --with-ldap-lib=openldap
|
|
|
|
CONFIGURE_ARGS+= --with-ldap-dir=${PREFIX}
|
|
|
|
CONFIGURE_ARGS+= --with-ldap-conf-file=${PREFIX}/etc/pam/pam.conf
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/pam
|
2000-10-21 20:47:46 +02:00
|
|
|
INSTALL_TARGET= install install-data
|
|
|
|
|
|
|
|
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"
|