summaryrefslogtreecommitdiff
path: root/www/squid/Makefile
diff options
context:
space:
mode:
authortaca <taca>2006-03-11 10:41:03 +0000
committertaca <taca>2006-03-11 10:41:03 +0000
commitc7b84c209f9c7d528a5ec05ab2ab402a14160d05 (patch)
tree64964c0ead57d0d453890137aea52df01e7bbf89 /www/squid/Makefile
parentba064a8e01efe6fde67eb2da70fd73ddb23198e1 (diff)
downloadpkgsrc-c7b84c209f9c7d528a5ec05ab2ab402a14160d05.tar.gz
Fix and style improvement for shell script part of post-install.
Diffstat (limited to 'www/squid/Makefile')
-rw-r--r--www/squid/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/www/squid/Makefile b/www/squid/Makefile
index 3d09f8c9e69..b65eb82433a 100644
--- a/www/squid/Makefile
+++ b/www/squid/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.171 2006/03/05 04:21:20 taca Exp $
+# $NetBSD: Makefile,v 1.172 2006/03/11 10:41:03 taca Exp $
DISTNAME= squid-2.5.STABLE12
PKGNAME= squid-2.5.12
@@ -123,19 +123,20 @@ post-install:
${INSTALL_DATA} $$i ${DOCDIR}; \
done
@( \
- for FILE in ${OPTIONAL_FILES}; do \
- ${TEST} ! -r ${PREFIX}/${FILE} || ${ECHO} ${FILE}; \
+ for i in ${OPTIONAL_FILES}; do \
+ ${TEST} ! -r ${PREFIX}/$$i || ${ECHO} $$i; \
done; \
cd ${WRKSRC}/errors; \
for i in *; do \
- ${TEST} -d ${i} && \
+ ${TEST} -d $$i && \
(${LS} $$i/ERR_* | \
${SED} -e 's@^@share/squid/errors/@'; \
${ECHO} "@dirrm share/squid/errors/$$i"); \
done; \
${ECHO} "@dirrm share/squid/errors"; \
cd ${WRKSRC}/icons; \
- ${LS} anthony-*.gif | ${SED} -e 's@^@share/squid/icons/@'; \
+ ${LS} anthony-*.gif | \
+ ${SED} -e 's@^@share/squid/icons/@'; \
${ECHO} "@dirrm share/squid/icons"; \
${ECHO} "share/squid/mib.txt"; \
${ECHO} "@dirrm share/squid" \