diff options
Diffstat (limited to 'www/ap-auth-radius/Makefile')
-rw-r--r-- | www/ap-auth-radius/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/www/ap-auth-radius/Makefile b/www/ap-auth-radius/Makefile index a10d604434f..e6e2f3c6499 100644 --- a/www/ap-auth-radius/Makefile +++ b/www/ap-auth-radius/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2009/03/22 04:53:40 manu Exp $ +# $NetBSD: Makefile,v 1.7 2010/02/20 14:58:44 joerg Exp $ # DISTNAME= mod_auth_radius-1.5.7 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.freeradius.org/mod_auth_radius/ COMMENT= Radius authentication module for Apache +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= ap-auth-radius-[0-9]* APACHE_MODULE_NAME= mod_auth_radius.so @@ -19,11 +21,12 @@ EXAMPLEDIR= ${PREFIX}/share/example/mod_auth_radius post-extract: ${RM} -f ${WRKSRC}/mod_auth_radius-2.0.c +INSTALLATION_DIRS+= ${EXAMPLEDIR} + post-install: - ${INSTALL_DATA_DIR} ${EXAMPLEDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${EXAMPLEDIR}/ - ${INSTALL_DATA} ${WRKSRC}/httpd.conf ${EXAMPLEDIR}/ - ${INSTALL_DATA} ${WRKSRC}/htaccess ${EXAMPLEDIR}/ + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${EXAMPLEDIR}/ + ${INSTALL_DATA} ${WRKSRC}/httpd.conf ${DESTDIR}${EXAMPLEDIR}/ + ${INSTALL_DATA} ${WRKSRC}/htaccess ${DESTDIR}${EXAMPLEDIR}/ .include "../../www/apache/module.mk" .include "../../mk/bsd.pkg.mk" |