pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/dansguardian Use PKG_SYSCONFSUBDIR to ensure that ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5d19cb112e83
branches: trunk
changeset: 539057:5d19cb112e83
user: sborrill <sborrill%pkgsrc.org@localhost>
date: Tue Feb 26 12:39:52 2008 +0000
description:
Use PKG_SYSCONFSUBDIR to ensure that configuration directory gets created
when using binary packages.
Bump PKGREVISION
diffstat:
www/dansguardian/Makefile | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diffs (52 lines):
diff -r 243e3b8ab664 -r 5d19cb112e83 www/dansguardian/Makefile
--- a/www/dansguardian/Makefile Tue Feb 26 11:49:08 2008 +0000
+++ b/www/dansguardian/Makefile Tue Feb 26 12:39:52 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/02/22 17:13:29 sborrill Exp $
+# $NetBSD: Makefile,v 1.2 2008/02/26 12:39:52 sborrill Exp $
DISTNAME= dansguardian-2.8.0.6.source
PKGNAME= dansguardian-2.8.0.6
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://dansguardian.org/downloads/2/Stable/
@@ -14,6 +15,8 @@
MANCOMPRESSED= yes
RCD_SCRIPTS+= dansguardian
+PKG_SYSCONFSUBDIR= dansguardian
+
EGDIR= ${PREFIX}/share/examples/dansguardian
SUBST_CLASSES+= egconfpath
@@ -160,18 +163,17 @@
languages/turkish/template.html \
languages/ukenglish/messages \
languages/ukenglish/template.html
-CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/dansguardian/${f}
+CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
.endfor
pre-install:
- ${INSTALL_DATA_DIR} ${PKG_SYSCONFDIR}/dansguardian; \
for dir in badwords chat drugadvocacy gambling games \
goodphrases googlesearches gore illegaldrugs \
intolerance legaldrugs malware news nudism \
peer2peer personals pornography proxies sport \
violence warezhacking weapons webmail; \
do \
- ${INSTALL_DATA_DIR} ${PKG_SYSCONFDIR}/dansguardian/phraselists/$${dir}; \
+ ${INSTALL_DATA_DIR} ${PKG_SYSCONFDIR}/phraselists/$${dir}; \
done; \
for dir in arspanish bulgarian chinesebig5 chinesegb2312 \
czech danish dutch french german hebrew \
@@ -179,7 +181,7 @@
portuguese russian-1251 slovak spanish \
swedish turkish ukenglish; \
do \
- ${INSTALL_DATA_DIR} ${PKG_SYSCONFDIR}/dansguardian/languages/$${dir}; \
+ ${INSTALL_DATA_DIR} ${PKG_SYSCONFDIR}/languages/$${dir}; \
done
show-conffiles:
Home |
Main Index |
Thread Index |
Old Index