aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-08-13 22:11:05 +0800
committerpav <pav@FreeBSD.org>2010-08-13 22:11:05 +0800
commit2eeacd26334afa53027f0107cb792a332f1ee893 (patch)
tree0ac1657c7e85be65785dbc4dd228df68b73fd458 /www
parent78fd2d9e2728ef24f5bf82fae7a1b5c74357c46e (diff)
downloadfreebsd-ports-gnome-2eeacd26334afa53027f0107cb792a332f1ee893.tar.gz
freebsd-ports-gnome-2eeacd26334afa53027f0107cb792a332f1ee893.tar.zst
freebsd-ports-gnome-2eeacd26334afa53027f0107cb792a332f1ee893.zip
- Fix installation and plist for non-default SAMPLE_BL=off option
PR: ports/148225 Submitted by: Guido Falsi <mad@madpilot.net> (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/squidguard/Makefile2
-rw-r--r--www/squidguard/pkg-plist2
2 files changed, 2 insertions, 2 deletions
diff --git a/www/squidguard/Makefile b/www/squidguard/Makefile
index 69b219ae8aa6..848a1f037d9c 100644
--- a/www/squidguard/Makefile
+++ b/www/squidguard/Makefile
@@ -103,9 +103,9 @@ pre-install:
@${CHOWN} -R ${SQUID_UID}:${SQUID_GID} ${SAMPLE_BL_DIR}
${CHMOD} -R 550 ${SAMPLE_BL_DIR}
.endif
+ @${MKDIR} ${DATADIR}
.if ${INSTALL_BL} == "yes"
@${ECHO_MSG} "===> Installing blacklists"
- @${MKDIR} ${DATADIR}
@${CP} -Rpf ${_DATADIR}/* ${DATADIR}/
@${CHOWN} -R ${SQUID_UID}:${SQUID_GID} ${DATADIR}
@${CHMOD} -R 550 ${DATADIR}
diff --git a/www/squidguard/pkg-plist b/www/squidguard/pkg-plist
index 678984387c20..4e11c371a5d2 100644
--- a/www/squidguard/pkg-plist
+++ b/www/squidguard/pkg-plist
@@ -30,7 +30,7 @@ etc/squid/squidGuard.conf.sample
%%PORTDOCS%%%%DOCSDIR%%/troubleshoot.html
%%PORTDOCS%%%%DOCSDIR%%/troubleshoot.txt
%%PORTDOCS%%%%DOCSDIR%%/squidGuard.gif
-%%PORTDOCS%%%%DOCSDIR%%/README.blacklists
+%%BLACKLIST%%%%PORTDOCS%%%%DOCSDIR%%/README.blacklists
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%BLACKLIST%%@cwd %%SAMPLE_BL_DIR%%
%%BLACKLIST%%ads/domains