diff options
author | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
commit | d8368bbc25c90072a19b5e48f0fba26251b6877f (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /www/bannerfilter | |
parent | f1b924fda77b6920565e56f54c9391b4dc68f8ca (diff) | |
download | pkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'www/bannerfilter')
-rw-r--r-- | www/bannerfilter/Makefile | 14 |
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" |