summaryrefslogtreecommitdiff
path: root/www/ap-auth-kerb
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/ap-auth-kerb
parentf9c45f77c3d6e4cea3ed975306917bf15ff50419 (diff)
downloadpkgsrc-dc3ec3f1eff86611dddff492f432ff59dfc274a8.tar.gz
DESTDIR support
Diffstat (limited to 'www/ap-auth-kerb')
-rw-r--r--www/ap-auth-kerb/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/ap-auth-kerb/Makefile b/www/ap-auth-kerb/Makefile
index fc10ee57de4..c0ad826ccf4 100644
--- a/www/ap-auth-kerb/Makefile
+++ b/www/ap-auth-kerb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2009/11/23 16:59:18 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2010/02/12 21:12:58 joerg Exp $
DISTNAME= mod_auth_kerb-5.4
PKGNAME= ${DISTNAME:S/mod/${APACHE_PKG_PREFIX}/:S/_/-/g}
@@ -10,6 +10,8 @@ HOMEPAGE= http://modauthkerb.sourceforge.net/
COMMENT= Module to allow Apache authentication using Kerberos
LICENSE= modified-bsd
+PKG_DESTDIR_SUPPORT= user-destdir
+
PKG_APACHE_ACCEPTED= apache2 apache22
CONFLICTS= ap-auth-kerb-[0-9]*
@@ -23,6 +25,12 @@ USE_TOOLS+= gmake
APACHE_MODULE= yes
+INSTALLATION_DIRS+= lib/httpd
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/src/.libs/mod_auth_kerb.so \
+ ${DESTDIR}${PREFIX}/lib/httpd
+
.include "../../mk/apache.mk"
.include "../../mk/krb5.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"