summaryrefslogtreecommitdiff
path: root/www/ap2-auth-external
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-12 20:56:54 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-12 20:56:54 +0000
commitdc3ec3f1eff86611dddff492f432ff59dfc274a8 (patch)
treee89fe7c7e6202542c077983d4cfb2a5b2884ffa1 /www/ap2-auth-external
parentf9c45f77c3d6e4cea3ed975306917bf15ff50419 (diff)
downloadpkgsrc-dc3ec3f1eff86611dddff492f432ff59dfc274a8.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"