summaryrefslogtreecommitdiff
path: root/www/ap-auth-ldap
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-20 14:58:44 +0000
committerjoerg <joerg>2010-02-20 14:58:44 +0000
commit840e4827fabcbe53ad236ea66870bb0a1f623235 (patch)
tree6e0424dcd7356d3f000cc298d0c68ca14ee350cc /www/ap-auth-ldap
parentf3475c3668daed3074e983fb8baa3352f34f4d94 (diff)
downloadpkgsrc-840e4827fabcbe53ad236ea66870bb0a1f623235.tar.gz
DESTDIR support for various Apache modules.
Diffstat (limited to 'www/ap-auth-ldap')
-rw-r--r--www/ap-auth-ldap/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/www/ap-auth-ldap/Makefile b/www/ap-auth-ldap/Makefile
index be6b660ef11..e9c40e62897 100644
--- a/www/ap-auth-ldap/Makefile
+++ b/www/ap-auth-ldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2010/01/17 12:02:47 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2010/02/20 14:58:44 joerg Exp $
DISTNAME= auth_ldap-1.6.1
PKGNAME= ap13-auth-ldap-1.6.1
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.rudedog.org/auth_ldap/
COMMENT= Module to allow apache authentication against an LDAP directory
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= ap-auth-ldap-[0-9]*
APACHE_MODULE_NAME= auth_ldap.so
@@ -18,13 +20,13 @@ CPPFLAGS+= -DWITH_OPENLDAP
LDFLAGS+= -lldap -llber
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_auth_ldap
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/mod_auth_ldap
${INSTALL_DATA} ${WRKSRC}/FAQ.html \
- ${PREFIX}/share/doc/mod_auth_ldap
+ ${DESTDIR}${PREFIX}/share/doc/mod_auth_ldap
${INSTALL_DATA} ${WRKSRC}/auth_ldap.html \
- ${PREFIX}/share/doc/mod_auth_ldap
+ ${DESTDIR}${PREFIX}/share/doc/mod_auth_ldap
${INSTALL_DATA} ${WRKSRC}/future-directions.html \
- ${PREFIX}/share/doc/mod_auth_ldap
+ ${DESTDIR}${PREFIX}/share/doc/mod_auth_ldap
.include "../../www/apache/module.mk"