summaryrefslogtreecommitdiff
path: root/security/pam-ldap
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-12 02:14:13 +0000
committerjoerg <joerg>2008-06-12 02:14:13 +0000
commit39d7fb93432416d872ed34e0025741cc93068c06 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /security/pam-ldap
parentcce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff)
downloadpkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.tar.gz
Add DESTDIR support.
Diffstat (limited to 'security/pam-ldap')
-rw-r--r--security/pam-ldap/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/security/pam-ldap/Makefile b/security/pam-ldap/Makefile
index a51810d2fbe..8d909fa081e 100644
--- a/security/pam-ldap/Makefile
+++ b/security/pam-ldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2008/01/18 05:09:40 tnn Exp $
+# $NetBSD: Makefile,v 1.30 2008/06/12 02:14:44 joerg Exp $
DISTNAME= pam_ldap-184
PKGNAME= ${DISTNAME:S/_/-/}
@@ -11,6 +11,8 @@ MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.padl.com/pam_ldap.html
COMMENT= Pluggable authentication module for LDAP directories
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LIBTOOL= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
@@ -28,18 +30,19 @@ INSTALL_TARGET= install install-data
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+INSTALLATION_DIRS= ${DOCDIR}
+
CONF_FILES= ${EGDIR}/pam_ldap.conf ${PKG_SYSCONFDIR}/pam_ldap.conf
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../mk/pam.buildlink3.mk"
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
.for file in COPYING COPYING.LIB
- cd ${WRKSRC} && ${INSTALL_DATA} ${file} ${DOCDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${file} ${DESTDIR}${DOCDIR}
.endfor
.for file in ldapns.schema ns-pwd-policy.schema
- cd ${WRKSRC} && ${INSTALL_DATA} ${file} ${EGDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${file} ${DESTDIR}${EGDIR}
.endfor
.include "../../mk/bsd.pkg.mk"