aboutsummaryrefslogtreecommitdiff
path: root/www/adzap
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-12-14 21:35:22 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-12-14 21:35:22 +0000
commit50689ccb3a8be3c8d29dfda86f9223bb0393591b (patch)
tree10b7bd057abfc15faa497f3c0ff09eeae54eeb08 /www/adzap
parentdac47f9d5996fb67397b6c5dfe1f59257cad1e57 (diff)
downloadports-50689ccb3a8be3c8d29dfda86f9223bb0393591b.tar.gz
ports-50689ccb3a8be3c8d29dfda86f9223bb0393591b.zip
Notes
Diffstat (limited to 'www/adzap')
-rw-r--r--www/adzap/Makefile4
-rw-r--r--www/adzap/pkg-plist1
2 files changed, 4 insertions, 1 deletions
diff --git a/www/adzap/Makefile b/www/adzap/Makefile
index 9d160e93eb02..3853ebbede9e 100644
--- a/www/adzap/Makefile
+++ b/www/adzap/Makefile
@@ -6,6 +6,7 @@
PORTNAME= adzap
PORTVERSION= 20071023
+PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= http://adzapper.sourceforge.net/ LOCAL/kris
@@ -21,7 +22,7 @@ SUB_FILES= adzap.conf pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
do-configure:
-.for FILE in squid_redirect wrapzap
+.for FILE in squid_redirect wrapzap zapchain
${REINPLACE_CMD} -e "s:/usr/bin/perl:${PERL5}:g" \
-e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/scripts/${FILE}
.endfor
@@ -29,6 +30,7 @@ do-configure:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/squid_redirect ${PREFIX}/libexec/
${INSTALL_SCRIPT} ${WRKSRC}/scripts/wrapzap ${PREFIX}/libexec/adzap
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/zapchain ${PREFIX}/libexec/
${INSTALL} -d ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/zaps ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/rc ${EXAMPLESDIR}
diff --git a/www/adzap/pkg-plist b/www/adzap/pkg-plist
index 78c6e4dca781..8bb69b6795cf 100644
--- a/www/adzap/pkg-plist
+++ b/www/adzap/pkg-plist
@@ -1,5 +1,6 @@
libexec/adzap
libexec/squid_redirect
+libexec/zapchain
%%EXAMPLESDIR%%/adzap.conf
%%EXAMPLESDIR%%/rc/proxy-home.pac
%%EXAMPLESDIR%%/rc/proxy-zip.pac