2013-08-09 13:16:28 +02:00
|
|
|
# $NetBSD: Makefile,v 1.68 2013/08/09 11:16:28 adam Exp $
|
2000-04-25 11:40:25 +02:00
|
|
|
|
2013-08-09 13:16:28 +02:00
|
|
|
DISTNAME= adzap-20110915
|
2000-08-27 04:46:03 +02:00
|
|
|
CATEGORIES= www perl5
|
2003-01-22 13:52:35 +01:00
|
|
|
MASTER_SITES= http://adzapper.sourceforge.net/
|
2000-04-25 11:40:25 +02:00
|
|
|
|
2005-10-02 07:04:48 +02:00
|
|
|
MAINTAINER= simonb@NetBSD.org
|
2003-01-22 13:52:35 +01:00
|
|
|
HOMEPAGE= http://adzapper.sourceforge.net/
|
2003-07-22 06:14:17 +02:00
|
|
|
COMMENT= Filter out animated ad banners from web pages
|
2013-08-09 13:16:28 +02:00
|
|
|
LICENSE= 2-clause-bsd
|
2001-02-17 18:21:28 +01:00
|
|
|
|
2013-08-09 13:16:28 +02:00
|
|
|
USE_TOOLS+= perl:run
|
|
|
|
NO_BUILD= yes
|
2000-04-25 11:40:25 +02:00
|
|
|
|
2006-12-12 14:52:20 +01:00
|
|
|
CHECK_PORTABILITY_SKIP= scripts/update-zapper.damien
|
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
INSTALLATION_DIRS= libexec share/examples/adzap
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2013-08-09 13:16:28 +02:00
|
|
|
REPLACE_PERL+= scripts/squid_redirect-nodata
|
|
|
|
|
|
|
|
SUBST_CLASSES+= paths
|
|
|
|
SUBST_MESSAGE.paths= Fixing absolute paths.
|
|
|
|
SUBST_FILES.paths= scripts/squid_redirect
|
|
|
|
SUBST_FILES.paths+= scripts/wrapzap
|
|
|
|
SUBST_VARS.paths= PREFIX
|
2000-04-25 11:40:25 +02:00
|
|
|
|
|
|
|
do-install:
|
2013-08-09 13:16:28 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/squid_redirect-nodata \
|
|
|
|
${DESTDIR}${PREFIX}/libexec/squid_redirect
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/wrapzap \
|
|
|
|
${DESTDIR}${PREFIX}/libexec/adzap
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/zaps/* \
|
|
|
|
${DESTDIR}${PREFIX}/share/examples/adzap/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/rc/*.pac \
|
|
|
|
${DESTDIR}${PREFIX}/share/examples/adzap/
|
2002-01-10 01:41:45 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/scripts/adzap.conf \
|
2013-08-09 13:16:28 +02:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/adzap/
|
2000-04-25 11:40:25 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|