From 3b135953a12b387400f89cbb122eb1b371e1a551 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 12 Feb 2010 20:56:54 +0000 Subject: DESTDIR support --- www/ap2-auth-external/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'www/ap2-auth-external') 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" -- cgit v1.2.3