diff options
Diffstat (limited to 'www/ap-throttle/Makefile')
-rw-r--r-- | www/ap-throttle/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/www/ap-throttle/Makefile b/www/ap-throttle/Makefile index 356aeaf451f..ee6ea5d81a4 100644 --- a/www/ap-throttle/Makefile +++ b/www/ap-throttle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2007/02/22 19:27:18 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2010/02/20 14:58:45 joerg Exp $ DISTNAME= mod_throttle312 PKGNAME= ap13-throttle-3.1.2 @@ -10,6 +10,8 @@ MAINTAINER= eric@cirr.com HOMEPAGE= ${MASTER_SITES} COMMENT= Apache module for limiting bandwidth usage +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= ap-throttle-[0-9]* WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:S/ap13-/mod_/} @@ -17,10 +19,11 @@ WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:S/ap13-/mod_/} APACHE_MODULE_NAME= mod_throttle.so APACHE_MODULE_SRC= mod_throttle.c +INSTALLATION_DIRS+= share/doc/mod_throttle + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_throttle ${INSTALL_DATA} ${WRKSRC}/index.shtml \ - ${PREFIX}/share/doc/mod_throttle/index.html + ${DESTDIR}${PREFIX}/share/doc/mod_throttle/index.html .include "../../www/apache/module.mk" .include "../../mk/bsd.pkg.mk" |