summaryrefslogtreecommitdiff
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
commit8113c96f0680a01a53d77b17ffdd91acbc30e9d7 (patch)
treef90661c6c55417532080c23dee3ce6ffa56ecdd0
parent78ef1ba06fbd6a34741e079649d069ed9fd646f1 (diff)
downloadpkgsrc-8113c96f0680a01a53d77b17ffdd91acbc30e9d7.tar.gz
Fix permissions correctly
-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"