tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Fwd: pkg/42437: www/ap-auth-kerb doesn't support DESTDIR



This adds DESTDIR support to www/ap-auth-kerb.

Cheers,
Lloyd

--- Makefile    23 Nov 2009 16:59:18 -0000      1.7
+++ Makefile    11 Dec 2009 00:18:10 -0000
@@ -5,6 +5,8 @@
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=modauthkerb/}

+PKG_DESTDIR_SUPPORT=user-destdir
+
 MAINTAINER=    markd%NetBSD.org@localhost
 HOMEPAGE=      http://modauthkerb.sourceforge.net/
 COMMENT=       Module to allow Apache authentication using Kerberos
@@ -12,6 +14,8 @@

 PKG_APACHE_ACCEPTED=   apache2 apache22

+INSTALLATION_DIRS=     lib/httpd
+
 CONFLICTS=     ap-auth-kerb-[0-9]*

 GNU_CONFIGURE=         yes
@@ -23,6 +27,11 @@

 APACHE_MODULE=         yes

+do-install:
+       ${INSTALL_DATA} \
+               ${WRKSRC}/src/.libs/mod_auth_kerb.so \
+               ${DESTDIR}${PREFIX}/lib/httpd/mod_auth_kerb.so
+
 .include "../../mk/apache.mk"
 .include "../../mk/krb5.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index