diff options
author | kris <kris@FreeBSD.org> | 2001-03-04 05:07:23 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-03-04 05:07:23 +0000 |
commit | f842fe649f57e0a55b6de28e446b8939cf8100ae (patch) | |
tree | 65674f11a173e1a914efdb756320d57c891da099 /www/adzap/Makefile | |
parent | b437fa75df62c4b48baf5d83c9f0f6c00c9458ce (diff) | |
download | FreeBSD-ports-f842fe649f57e0a55b6de28e446b8939cf8100ae.zip FreeBSD-ports-f842fe649f57e0a55b6de28e446b8939cf8100ae.tar.gz |
adzap is a squid plugin which filters out banner ads, web bugs, javascript
popup consoles, and other annoying crap.
Obtained from: NetBSD
Diffstat (limited to 'www/adzap/Makefile')
-rw-r--r-- | www/adzap/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/www/adzap/Makefile b/www/adzap/Makefile new file mode 100644 index 0000000..5c1c6df --- /dev/null +++ b/www/adzap/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: adzap +# Date created: 03 March 2001 +# Whom: Kris Kennaway <kris@FreeBSD.org> +# +# $FreeBSD$ + +PORTNAME= adzap +PORTVERSION= 20010227 +CATEGORIES= www perl5 +MASTER_SITES= http://www.zip.com.au/~cs/adzap/ + +MAINTAINER= kris@FreeBSD.org + +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 + ${SED} s,%PREFIX%,${PREFIX}, < ${WRKSRC}/wrapzap > ${WRKSRC}/adzap + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/squid_redirect ${PREFIX}/libexec + ${INSTALL_SCRIPT} ${WRKSRC}/adzap ${PREFIX}/libexec + ${MKDIR} ${PREFIX}/share/examples/adzap +.for FILE in adzap.conf proxy-cisra.pac proxy-home.pac proxy-zip.pac \ + closepopup-clear.html no-op-clear.html closepopup.html no-op.html \ + no-op-clear.js no-op.js ad-clear.gif ad.gif + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/share/examples/adzap +.endfor + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> |