37 lines
1.2 KiB
Makefile
37 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2001/09/30 01:26:54 simonb Exp $
|
|
#
|
|
|
|
DISTNAME= adzap-20010921
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= http://www.zip.com.au/~cs/adzap/
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.zip.com.au/~cs/adzap/index.html
|
|
COMMENT= filter out animated ad banners from web pages
|
|
|
|
WRKSRC= ${WRKDIR}/adzap
|
|
|
|
NO_BUILD= # defined
|
|
USE_PERL5= # defined
|
|
|
|
do-configure:
|
|
.for FILE in squid_redirect wrapzap
|
|
${CP} ${WRKSRC}/${FILE} ${WRKSRC}/${FILE}.ORIG
|
|
${SED} -e "s:/usr/bin/perl:${PERL5}:g" \
|
|
-e "s:@@PREFIX@@:${PREFIX}:g" \
|
|
<${WRKSRC}/${FILE}.ORIG >${WRKSRC}/${FILE}
|
|
.endfor
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/squid_redirect ${PREFIX}/libexec
|
|
${INSTALL_SCRIPT} ${WRKSRC}/wrapzap ${PREFIX}/libexec/adzap
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/adzap
|
|
.for FILE in ad-clear.gif ad-clear.mp3 ad-clear.swf ad.gif ad.mp3 ad.swf \
|
|
adzap.conf closepopup-clear.html closepopup.html counter-clear.gif \
|
|
counter.gif no-op-clear.html no-op-clear.js no-op.html no-op.js \
|
|
proxy-cisra.pac proxy-home.pac proxy-zip.pac webbug-clear.gif \
|
|
webbug-clear.js webbug.gif webbug.js
|
|
${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/share/examples/adzap
|
|
.endfor
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|