summaryrefslogtreecommitdiff
path: root/www/bannerfilter
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
commit3b0d97b0de8516db29699676c860489da3f7f0e1 (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /www/bannerfilter
parent10abca39942a8f34d088f39ccc073fee44271274 (diff)
downloadpkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz
Add DESTDIR support.
Diffstat (limited to 'www/bannerfilter')
-rw-r--r--www/bannerfilter/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/www/bannerfilter/Makefile b/www/bannerfilter/Makefile
index f796f72879c..dba64eaf2c5 100644
--- a/www/bannerfilter/Makefile
+++ b/www/bannerfilter/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/11/11 16:54:24 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2008/06/20 01:09:41 joerg Exp $
#
DISTNAME= bannerfilter-1.31
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://phroggy.com/bannerfilter/
COMMENT= Blocks advertising banners as squid redirector script
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= YES
USE_TOOLS+= perl:run
@@ -26,10 +28,10 @@ INSTALLATION_DIRS= bin ${SHAREDIR}/www ${SHAREDIR}/doc ${SHAREDIR}/data
CHECK_PORTABILITY_SKIP+= update.sh
do-install:
- ${INSTALL_DATA} ${WRKSRC}/www/* ${SHAREDIR}/www/
- ${INSTALL_DATA} ${WRKSRC}/*.data ${SHAREDIR}/data/
- ${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/COPYING ${WRKSRC}/README ${SHAREDIR}/doc/
- ${INSTALL_DATA} ${WRKSRC}/bannerfilter.conf ${SHAREDIR}/
- ${INSTALL_SCRIPT} ${WRKSRC}/redirector.pl ${PREFIX}/bin/bannerfilter-redirector.pl
+ ${INSTALL_DATA} ${WRKSRC}/www/* ${DESTDIR}${SHAREDIR}/www/
+ ${INSTALL_DATA} ${WRKSRC}/*.data ${DESTDIR}${SHAREDIR}/data/
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/COPYING ${WRKSRC}/README ${DESTDIR}${SHAREDIR}/doc/
+ ${INSTALL_DATA} ${WRKSRC}/bannerfilter.conf ${DESTDIR}${SHAREDIR}/
+ ${INSTALL_SCRIPT} ${WRKSRC}/redirector.pl ${DESTDIR}${PREFIX}/bin/bannerfilter-redirector.pl
.include "../../mk/bsd.pkg.mk"