summaryrefslogtreecommitdiff
path: root/www/ap2-auth-external
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-12 20:56:54 +0000
committerjoerg <joerg>2010-02-12 20:56:54 +0000
commit3b135953a12b387400f89cbb122eb1b371e1a551 (patch)
treee89fe7c7e6202542c077983d4cfb2a5b2884ffa1 /www/ap2-auth-external
parentae00dbe480ecf4acc86ec4960913d19d83cb3f78 (diff)
downloadpkgsrc-3b135953a12b387400f89cbb122eb1b371e1a551.tar.gz
DESTDIR support
Diffstat (limited to 'www/ap2-auth-external')
-rw-r--r--www/ap2-auth-external/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/www/ap2-auth-external/Makefile b/www/ap2-auth-external/Makefile
index 8bd03fafb97..3db3f72d43b 100644
--- a/www/ap2-auth-external/Makefile
+++ b/www/ap2-auth-external/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/07/22 00:56:27 schmonz Exp $
+# $NetBSD: Makefile,v 1.3 2010/02/12 21:15:26 joerg Exp $
#
DISTNAME= mod_auth_external-${DISTVERS}
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://code.google.com/p/mod-auth-external/
COMMENT= Apache module for external program authentication
+PKG_DESTDIR_SUPPORT= user-destdir
+
PKG_APACHE_ACCEPTED= apache2 apache22
.include "../../mk/apache.mk"
@@ -21,5 +23,10 @@ DISTVERS= 2.2.11
MODULE_EXT= la
MESSAGE_SUBST+= MODULE_NAME=auth_external_module
+INSTALLATION_DIRS+= lib/httpd
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/.libs/mod_auth_external.so ${DESTDIR}${PREFIX}/lib/httpd
+
.include "../../www/apache/module.mk"
.include "../../mk/bsd.pkg.mk"