2001-03-04 06:07:23 +01:00
|
|
|
# New ports collection makefile for: adzap
|
|
|
|
# Date created: 03 March 2001
|
|
|
|
# Whom: Kris Kennaway <kris@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= adzap
|
2012-04-11 10:20:53 +02:00
|
|
|
PORTVERSION= 20110915
|
2001-03-04 06:07:23 +01:00
|
|
|
CATEGORIES= www perl5
|
2009-03-13 17:24:41 +01:00
|
|
|
MASTER_SITES= http://adzapper.sourceforge.net/
|
2001-03-04 06:07:23 +01:00
|
|
|
|
2007-10-28 12:40:59 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Filter out animated ad banners from web pages
|
2001-03-04 06:07:23 +01:00
|
|
|
|
2003-11-12 13:13:57 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
USE_PERL5_RUN= yes
|
|
|
|
|
2005-11-30 19:58:53 +01:00
|
|
|
SUB_FILES= adzap.conf pkg-message
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
2001-03-04 06:07:23 +01:00
|
|
|
|
|
|
|
do-configure:
|
2012-04-11 10:20:53 +02:00
|
|
|
.for FILE in squid_redirect-nodata wrapzap zapchain
|
2003-11-12 13:13:57 +01:00
|
|
|
${REINPLACE_CMD} -e "s:/usr/bin/perl:${PERL5}:g" \
|
|
|
|
-e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/scripts/${FILE}
|
2001-03-04 06:07:23 +01:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
2012-04-11 10:20:53 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/squid_redirect-nodata ${PREFIX}/libexec/
|
2002-01-06 03:27:08 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/wrapzap ${PREFIX}/libexec/adzap
|
2007-12-14 22:35:22 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/zapchain ${PREFIX}/libexec/
|
2005-11-30 19:58:53 +01:00
|
|
|
${INSTALL} -d ${EXAMPLESDIR}
|
|
|
|
${CP} -R ${WRKSRC}/zaps ${EXAMPLESDIR}
|
|
|
|
${CP} -R ${WRKSRC}/rc ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/adzap.conf ${EXAMPLESDIR}
|
2001-03-04 06:07:23 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|