blob: 5c199e58b2a0b0e75da6eb2ca4f1aa0982049178 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.68 2013/08/09 11:16:28 adam Exp $
DISTNAME= adzap-20110915
CATEGORIES= www perl5
MASTER_SITES= http://adzapper.sourceforge.net/
MAINTAINER= simonb@NetBSD.org
HOMEPAGE= http://adzapper.sourceforge.net/
COMMENT= Filter out animated ad banners from web pages
LICENSE= 2-clause-bsd
USE_TOOLS+= perl:run
NO_BUILD= yes
CHECK_PORTABILITY_SKIP= scripts/update-zapper.damien
INSTALLATION_DIRS= libexec share/examples/adzap
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
do-install:
${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/
${INSTALL_DATA} ${WRKSRC}/scripts/adzap.conf \
${DESTDIR}${PREFIX}/share/examples/adzap/
.include "../../mk/bsd.pkg.mk"
|