aboutsummaryrefslogtreecommitdiff
path: root/www/adzap/Makefile
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/Makefile
parentdac47f9d5996fb67397b6c5dfe1f59257cad1e57 (diff)
downloadports-50689ccb3a8be3c8d29dfda86f9223bb0393591b.tar.gz
ports-50689ccb3a8be3c8d29dfda86f9223bb0393591b.zip
Notes
Diffstat (limited to 'www/adzap/Makefile')
-rw-r--r--www/adzap/Makefile4
1 files changed, 3 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}