summaryrefslogtreecommitdiff
path: root/www/ap-auth-ldap/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-20 14:58:44 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-20 14:58:44 +0000
commitf44a82ffc69adc19dd585fb18edcb8be0bcf7aef (patch)
tree6e0424dcd7356d3f000cc298d0c68ca14ee350cc /www/ap-auth-ldap/Makefile
parente2f0cf964aa5e9bc915b03a1c6df6d29e763f0ee (diff)
downloadpkgsrc-f44a82ffc69adc19dd585fb18edcb8be0bcf7aef.tar.gz
DESTDIR support for various Apache modules.
Diffstat (limited to 'www/ap-auth-ldap/Makefile')
-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"