diff options
author | joerg <joerg> | 2010-02-20 14:58:44 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-20 14:58:44 +0000 |
commit | 840e4827fabcbe53ad236ea66870bb0a1f623235 (patch) | |
tree | 6e0424dcd7356d3f000cc298d0c68ca14ee350cc /www/ap-auth-pam | |
parent | f3475c3668daed3074e983fb8baa3352f34f4d94 (diff) | |
download | pkgsrc-840e4827fabcbe53ad236ea66870bb0a1f623235.tar.gz |
DESTDIR support for various Apache modules.
Diffstat (limited to 'www/ap-auth-pam')
-rw-r--r-- | www/ap-auth-pam/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/www/ap-auth-pam/Makefile b/www/ap-auth-pam/Makefile index 89712c21c79..41f77711ca1 100644 --- a/www/ap-auth-pam/Makefile +++ b/www/ap-auth-pam/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2006/06/02 18:27:58 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2010/02/20 14:58:44 joerg Exp $ DISTNAME= mod_auth_pam-1.0a PKGNAME= ap13-auth-pam-1.0a @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://pam.sourceforge.net/mod_auth_pam/ COMMENT= Module to allow Apache authentication using PAM +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= ap-auth-pam-[0-9]* APACHE_MODULE_NAME= mod_auth_pam.so @@ -17,12 +19,12 @@ LDFLAGS+= -lpam EGDIR= ${PREFIX}/share/examples/mod_auth_pam HTMLDIR= ${PREFIX}/share/doc/html/mod_auth_pam +INSTALLATION_DIRS+= ${EGDIR} ${HTMLDIR} + post-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA_DIR} ${HTMLDIR} - ${INSTALL_DATA} ${WRKSRC}/samples/httpd ${EGDIR}/httpd.pam - ${INSTALL_DATA} ${WRKSRC}/doc/configure.html ${HTMLDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/faq.html ${HTMLDIR} + ${INSTALL_DATA} ${WRKSRC}/samples/httpd ${DESTDIR}${EGDIR}/httpd.pam + ${INSTALL_DATA} ${WRKSRC}/doc/configure.html ${DESTDIR}${HTMLDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/faq.html ${DESTDIR}${HTMLDIR} .include "../../www/apache/module.mk" .include "../../mk/pam.buildlink3.mk" |