Annotation of pkgsrc/security/pam-ldap/Makefile, Revision 1.27
1.27 ! taca 1: # $NetBSD: Makefile,v 1.26 2006/05/31 18:22:26 ghen Exp $
1.1 rh 2: #
3:
1.27 ! taca 4: DISTNAME= pam_ldap-183
1.9 jmmv 5: PKGNAME= ${DISTNAME:S/_/-/}
1.1 rh 6: CATEGORIES= security
1.6 wiz 7: MASTER_SITES= ftp://ftp.padl.com/pub/
1.21 drochner 8: MASTER_SITES+= http://www.padl.com/download/
1.1 rh 9:
1.10 grant 10: MAINTAINER= rh@NetBSD.org
1.1 rh 11: HOMEPAGE= http://www.padl.com/pam_ldap.html
1.11 martti 12: COMMENT= Pluggable authentication module for LDAP directories
1.1 rh 13:
1.17 jlam 14: USE_LIBTOOL= yes
1.20 jlam 15: USE_TOOLS+= gmake
1.16 jlam 16: GNU_CONFIGURE= yes
1.6 wiz 17: CONFIGURE_ARGS+= --with-ldap-lib=openldap
1.26 ghen 18: CONFIGURE_ARGS+= --with-ldap-dir=${BUILDLINK_PREFIX.openldap-client}
1.21 drochner 19: CONFIGURE_ARGS+= --with-ldap-conf-file=${PKG_SYSCONFDIR}/pam_ldap.conf
20: CONFIGURE_ARGS+= --with-ldap-secret-file=${PKG_SYSCONFDIR}/pam_ldap.secret
1.22 rillig 21: CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
1.17 jlam 22:
1.27 ! taca 23: MAKE_ENV+= SHLIBTOOL=${SHLIBTOOL:Q}
1.17 jlam 24:
25: INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR}
1.16 jlam 26: INSTALL_TARGET= install install-data
27:
1.17 jlam 28: DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
29: EGDIR= ${PREFIX}/share/examples/${PKGBASE}
30:
1.21 drochner 31: CONF_FILES= ${EGDIR}/pam_ldap.conf ${PKG_SYSCONFDIR}/pam_ldap.conf
1.17 jlam 32:
1.26 ghen 33: .include "../../databases/openldap-client/buildlink3.mk"
1.18 jlam 34: .include "../../mk/pam.buildlink3.mk"
1.1 rh 35:
36: post-install:
1.17 jlam 37: ${INSTALL_DATA_DIR} ${DOCDIR}
38: .for file in COPYING COPYING.LIB
39: cd ${WRKSRC} && ${INSTALL_DATA} ${file} ${DOCDIR}
40: .endfor
41: .for file in ldapns.schema ns-pwd-policy.schema
42: cd ${WRKSRC} && ${INSTALL_DATA} ${file} ${EGDIR}
1.1 rh 43: .endfor
44:
45: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>