diff options
author | sborrill <sborrill@pkgsrc.org> | 2008-02-26 12:39:52 +0000 |
---|---|---|
committer | sborrill <sborrill@pkgsrc.org> | 2008-02-26 12:39:52 +0000 |
commit | 4a349028582918fc8bc778fd650fe87f11163d57 (patch) | |
tree | d369ba6087be2cf8c3e0fb43509b17234d465a51 /www/dansguardian | |
parent | c51e5fd97cc5f08fcc7812468895787676b37a4d (diff) | |
download | pkgsrc-4a349028582918fc8bc778fd650fe87f11163d57.tar.gz |
Use PKG_SYSCONFSUBDIR to ensure that configuration directory gets created
when using binary packages.
Bump PKGREVISION
Diffstat (limited to 'www/dansguardian')
-rw-r--r-- | www/dansguardian/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/www/dansguardian/Makefile b/www/dansguardian/Makefile index 7d5aea3efa0..25019481b36 100644 --- a/www/dansguardian/Makefile +++ b/www/dansguardian/Makefile @@ -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 @@ HAS_CONFIGURE= yes MANCOMPRESSED= yes RCD_SCRIPTS+= dansguardian +PKG_SYSCONFSUBDIR= dansguardian + EGDIR= ${PREFIX}/share/examples/dansguardian SUBST_CLASSES+= egconfpath @@ -160,18 +163,17 @@ DEPENDS+= squid>=2.5:../../www/squid 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 @@ pre-install: 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: |