diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-12 20:56:54 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-12 20:56:54 +0000 |
commit | 2cc845c55e93d3de046808e276a2b2dbf476e065 (patch) | |
tree | e89fe7c7e6202542c077983d4cfb2a5b2884ffa1 /www | |
parent | d2cd202264a2931a2fac4588e4ef9a28c06768ec (diff) | |
download | pkgsrc-2cc845c55e93d3de046808e276a2b2dbf476e065.tar.gz |
DESTDIR support
Diffstat (limited to 'www')
-rw-r--r-- | www/ap-access-referer/Makefile | 13 | ||||
-rw-r--r-- | www/ap-auth-cookie/Makefile | 8 | ||||
-rw-r--r-- | www/ap-auth-external/Makefile | 11 | ||||
-rw-r--r-- | www/ap-auth-kerb/Makefile | 10 | ||||
-rw-r--r-- | www/ap2-auth-external/Makefile | 9 | ||||
-rw-r--r-- | www/ap2-auth-ntlm/Makefile | 12 |
6 files changed, 51 insertions, 12 deletions
diff --git a/www/ap-access-referer/Makefile b/www/ap-access-referer/Makefile index 8a01db56318..26b439b6bcf 100644 --- a/www/ap-access-referer/Makefile +++ b/www/ap-access-referer/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/06/02 18:27:58 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2010/02/12 20:56:54 joerg Exp $ # DISTNAME= mod_access_referer-1.0.2 @@ -10,16 +10,21 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://accessreferer.sourceforge.net/ COMMENT= Apache module for referer-based access control +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= ap-access-referer-[0-9]* APACHE_MODULE_NAME= mod_access_referer.so DOCDIR= ${PREFIX}/share/doc -post-install: - ${INSTALL_DATA_DIR} ${DOCDIR}/html/mod_access_referer +INSTALLATION_DIRS+= lib/httpd ${DOCDIR}/html/mod_access_referer + +do-install: + ${INSTALL_LIB} ${WRKSRC}/mod_access_referer.so \ + ${DESTDIR}${PREFIX}/lib/httpd ${INSTALL_DATA} ${WRKSRC}/mod_access_referer.html \ - ${DOCDIR}/html/mod_access_referer + ${DESTDIR}${DOCDIR}/html/mod_access_referer .include "../../www/apache/module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ap-auth-cookie/Makefile b/www/ap-auth-cookie/Makefile index fc744635725..9b810bebf8a 100644 --- a/www/ap-auth-cookie/Makefile +++ b/www/ap-auth-cookie/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 2006/09/10 03:49:06 obache Exp $ +# $NetBSD: Makefile,v 1.43 2010/02/12 20:58:37 joerg Exp $ # # There are a few more mod_auth_cookie's out there doing slightly # different things. This one pkg would be a good place to dump them all in @@ -28,5 +28,11 @@ do-extract: @(${ECHO} '#include "ap_compat.h"'; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}) \ >${WRKSRC}/${DISTNAME} +INSTALLATION_DIRS+= lib/httpd + +do-install: + ${INSTALL_LIB} ${WRKSRC}/mod_auth_cookie.so \ + ${DESTDIR}${PREFIX}/lib/httpd + .include "../../www/apache/module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ap-auth-external/Makefile b/www/ap-auth-external/Makefile index ea2e085c361..258e749659d 100644 --- a/www/ap-auth-external/Makefile +++ b/www/ap-auth-external/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2009/07/22 00:56:27 schmonz Exp $ +# $NetBSD: Makefile,v 1.8 2010/02/12 21:01:27 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= apache13 .include "../../mk/apache.mk" @@ -20,5 +22,12 @@ APACHE_MODULE_NAME= mod_auth_external.${MODULE_EXT} DISTVERS= 2.1.19 MODULE_EXT= so MESSAGE_SUBST+= MODULE_NAME=external_auth_module + +INSTALLATION_DIRS+= lib/httpd + +do-install: + ${INSTALL_LIB} ${WRKSRC}/mod_auth_external.so \ + ${DESTDIR}${PREFIX}/lib/httpd + .include "../../www/apache/module.mk" .include "../../mk/bsd.pkg.mk" 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" 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" diff --git a/www/ap2-auth-ntlm/Makefile b/www/ap2-auth-ntlm/Makefile index 3add9814b72..32b07b8134a 100644 --- a/www/ap2-auth-ntlm/Makefile +++ b/www/ap2-auth-ntlm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/10/17 19:24:10 sborrill Exp $ +# $NetBSD: Makefile,v 1.2 2010/02/12 21:17:22 joerg Exp $ # DISTNAME= ntlm2 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://modntlm.sourceforge.com/ COMMENT= Apache module for NTLM authentication +PKG_DESTDIR_SUPPORT= user-destdir + PKG_APACHE_ACCEPTED= apache2 apache22 .include "../../mk/apache.mk" @@ -26,9 +28,11 @@ MESSAGE_SUBST+= EGDIR=${EGDIR} EGDIR= ${PREFIX}/share/examples/mod_ntlm -post-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/ntlm.conf ${EGDIR} +INSTALLATION_DIRS+= lib/httpd ${EGDIR} + +do-install: + ${INSTALL_LIB} ${WRKSRC}/.libs/mod_ntlm.so ${DESTDIR}${PREFIX}/lib/httpd + ${INSTALL_DATA} ${WRKSRC}/ntlm.conf ${DESTDIR}${EGDIR} .include "../../www/apache/module.mk" .include "../../mk/bsd.pkg.mk" |