summaryrefslogtreecommitdiff
path: root/www/ap-auth-ntlm
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-ntlm
parente2f0cf964aa5e9bc915b03a1c6df6d29e763f0ee (diff)
downloadpkgsrc-f44a82ffc69adc19dd585fb18edcb8be0bcf7aef.tar.gz
DESTDIR support for various Apache modules.
Diffstat (limited to 'www/ap-auth-ntlm')
-rw-r--r--www/ap-auth-ntlm/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/www/ap-auth-ntlm/Makefile b/www/ap-auth-ntlm/Makefile
index 58f21223328..2171bc08c5f 100644
--- a/www/ap-auth-ntlm/Makefile
+++ b/www/ap-auth-ntlm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/10/17 19:23:25 sborrill Exp $
+# $NetBSD: Makefile,v 1.2 2010/02/20 14:58:44 joerg Exp $
#
DISTNAME= ntlm1
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://modntlm.sourceforge.com/
COMMENT= Apache module for NTLM authentication
+PKG_DESTDIR_SUPPORT= user-destdir
+
PKG_APACHE_ACCEPTED= apache13
.include "../../mk/apache.mk"
@@ -25,9 +27,10 @@ MESSAGE_SUBST+= EGDIR=${EGDIR}
EGDIR= ${PREFIX}/share/examples/mod_ntlm
+INSTALLATION_DIRS+= ${EGDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/ntlm.conf ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ntlm.conf ${DESTDIR}${EGDIR}
.include "../../www/apache/module.mk"
.include "../../mk/bsd.pkg.mk"