summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2014-02-26 18:15:25 +0000
committerwiedi <wiedi@pkgsrc.org>2014-02-26 18:15:25 +0000
commitc293e3ad886236f3241cb660ae9ee18ee06fe672 (patch)
treef90661c6c55417532080c23dee3ce6ffa56ecdd0 /mail
parentfc37c439e1f81a9289151fc642b3c6d289a792db (diff)
downloadpkgsrc-c293e3ad886236f3241cb660ae9ee18ee06fe672.tar.gz
Fix permissions correctly
Diffstat (limited to 'mail')
-rw-r--r--mail/rspamd/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/rspamd/Makefile b/mail/rspamd/Makefile
index 25e225b0b80..b47a130f1ab 100644
--- a/mail/rspamd/Makefile
+++ b/mail/rspamd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2014/02/18 22:20:25 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2014/02/26 18:15:25 wiedi Exp $
DISTNAME= rspamd-0.6.8
PKGREVISION= 1
@@ -43,7 +43,8 @@ CONF_FILES+= ${EGDIR}/surbl-whitelist.inc ${PKG_SYSCONFDIR}/surbl-whitelist.inc
CONF_FILES+= ${EGDIR}/workers.conf ${PKG_SYSCONFDIR}/workers.conf
post-extract:
- cd ${WRKSRC} && chmod 644 conf/*
+ ${FIND} ${WRKSRC}/conf -type d -exec ${CHMOD} ${PKGDIRMODE} {} \;
+ ${FIND} ${WRKSRC}/conf -type f -exec ${CHMOD} ${DOCMODE} {} \;
.include "../../devel/libevent/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"