ports/59100: [PATCH] www/adzap: fix build
Oliver Eikemeier
eikemeier at fillmore-labs.com
Mon Nov 10 03:20:23 UTC 2003
>Number: 59100
>Category: ports
>Synopsis: [PATCH] www/adzap: fix build
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Nov 09 19:20:21 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Oliver Eikemeier
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
Fillmore Labs - http://www.fillmore-labs.com
>Environment:
System: FreeBSD nuuk.fillmore-labs.com 5.1-CURRENT
>Description:
port www/adzap does not build.
>How-To-Repeat:
http://bento.freebsd.org/errorlogs/i386-4-full-logs/adzap-20031105.log
>Fix:
--- adzap.patch begins here ---
--- www/adzap/Makefile.orig 7 Nov 2003 02:32:41 -0000
+++ www/adzap/Makefile 8 Nov 2003 18:41:34 -0000
@@ -16,29 +16,36 @@
WRKSRC= ${WRKDIR}/adzap
-NO_BUILD= # defined
-USE_PERL5= # defined
-ZAPFILES= adzap.conf closepopup-clear.html no-op-clear.html \
- closepopup.html no-op.html no-op-clear.js no-op.js \
- ad-clear.gif ad-clear.mp3 ad-clear.swf ad.gif
-RCFILES= proxy-cisra.pac proxy-home.pac proxy-zip.pac
+NO_BUILD= yes
+USE_PERL5_RUN= yes
+USE_REINPLACE= yes
+
+ZAPFILES= ad-clear.gif ad-clear.mp3 ad-clear.swf ad-grey.gif \
+ ad-old.gif ad.gif ad.mp3 ad.swf adbg-clear.gif adbg.gif \
+ closepopup-clear.html closepopup.html counter-clear.gif \
+ counter.gif no-op-clear.html no-op-clear.js \
+ no-op-counter-clear.html no-op-counter-clear.js \
+ no-op-counter.html no-op-counter.js no-op.html no-op.js \
+ webbug-clear.gif webbug-clear.js webbug.gif webbug.js
+
+RCFILES= proxy-home.pac proxy-zip.pac
do-configure:
.for FILE in squid_redirect wrapzap
- ${PERL} -pi -e "s:/usr/bin/perl:${PERL5}:g; \
- s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/scripts/${FILE}
- ${PERL} -pi -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/zaps/adzap.conf
+ ${REINPLACE_CMD} -e "s:/usr/bin/perl:${PERL5}:g" \
+ -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/scripts/${FILE}
.endfor
+ ${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/zaps/adzap.conf
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/squid_redirect ${PREFIX}/libexec
${INSTALL_SCRIPT} ${WRKSRC}/scripts/wrapzap ${PREFIX}/libexec/adzap
${MKDIR} ${PREFIX}/share/examples/adzap
.for FILE in ${ZAPFILES}
- ${INSTALL_DATA} ${WRKSRC}/zaps/${FILE} ${PREFIX}/share/examples/adzap
+ ${INSTALL_DATA} ${WRKSRC}/zaps/${FILE} ${EXAMPLESDIR}
.endfor
.for FILE in ${RCFILES}
- ${INSTALL_DATA} ${WRKSRC}/rc/${FILE} ${PREFIX}/share/examples/adzap
+ ${INSTALL_DATA} ${WRKSRC}/rc/${FILE} ${EXAMPLESDIR}
.endfor
post-install:
--- www/adzap/pkg-plist.orig 6 May 2001 05:52:24 -0000
+++ www/adzap/pkg-plist 8 Nov 2003 18:34:46 -0000
@@ -1,17 +1,29 @@
libexec/adzap
libexec/squid_redirect
-share/examples/adzap/ad-clear.gif
-share/examples/adzap/ad-clear.mp3
-share/examples/adzap/ad-clear.swf
-share/examples/adzap/ad.gif
-share/examples/adzap/adzap.conf
-share/examples/adzap/closepopup-clear.html
-share/examples/adzap/closepopup.html
-share/examples/adzap/no-op-clear.html
-share/examples/adzap/no-op-clear.js
-share/examples/adzap/no-op.html
-share/examples/adzap/no-op.js
-share/examples/adzap/proxy-cisra.pac
-share/examples/adzap/proxy-home.pac
-share/examples/adzap/proxy-zip.pac
- at dirrm share/examples/adzap
+%%EXAMPLESDIR%%/ad-clear.gif
+%%EXAMPLESDIR%%/ad-clear.mp3
+%%EXAMPLESDIR%%/ad-clear.swf
+%%EXAMPLESDIR%%/ad-grey.gif
+%%EXAMPLESDIR%%/ad-old.gif
+%%EXAMPLESDIR%%/ad.gif
+%%EXAMPLESDIR%%/ad.mp3
+%%EXAMPLESDIR%%/ad.swf
+%%EXAMPLESDIR%%/adbg-clear.gif
+%%EXAMPLESDIR%%/adbg.gif
+%%EXAMPLESDIR%%/closepopup-clear.html
+%%EXAMPLESDIR%%/closepopup.html
+%%EXAMPLESDIR%%/counter-clear.gif
+%%EXAMPLESDIR%%/counter.gif
+%%EXAMPLESDIR%%/no-op-clear.html
+%%EXAMPLESDIR%%/no-op-clear.js
+%%EXAMPLESDIR%%/no-op-counter-clear.html
+%%EXAMPLESDIR%%/no-op-counter-clear.js
+%%EXAMPLESDIR%%/no-op-counter.html
+%%EXAMPLESDIR%%/no-op-counter.js
+%%EXAMPLESDIR%%/no-op.html
+%%EXAMPLESDIR%%/no-op.js
+%%EXAMPLESDIR%%/webbug-clear.gif
+%%EXAMPLESDIR%%/webbug-clear.js
+%%EXAMPLESDIR%%/webbug.gif
+%%EXAMPLESDIR%%/webbug.js
+ at dirrm %%EXAMPLESDIR%%
--- adzap.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list