aboutsummaryrefslogtreecommitdiff
path: root/mail/milter-greylist-devel
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-10-31 23:09:42 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-10-31 23:09:42 +0000
commit188824326082a17678e14b3593ecbe226daadfd6 (patch)
tree628a9cb71358da53956973dc42b74fbc2a972846 /mail/milter-greylist-devel
parent083fccd2a68a0e1fd5f2d9f07d92f842ed5c3ab3 (diff)
downloadports-188824326082a17678e14b3593ecbe226daadfd6.tar.gz
ports-188824326082a17678e14b3593ecbe226daadfd6.zip
Simplify makefile
Notes
Notes: svn path=/head/; revision=371954
Diffstat (limited to 'mail/milter-greylist-devel')
-rw-r--r--mail/milter-greylist-devel/Makefile1
-rw-r--r--mail/milter-greylist-devel/pkg-plist5
2 files changed, 2 insertions, 4 deletions
diff --git a/mail/milter-greylist-devel/Makefile b/mail/milter-greylist-devel/Makefile
index f562c5ffcbe0..ca572216947d 100644
--- a/mail/milter-greylist-devel/Makefile
+++ b/mail/milter-greylist-devel/Makefile
@@ -110,6 +110,7 @@ do-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/greylist.conf ${STAGEDIR}${EXAMPLESDIR}
.endif
+ @${MKDIR} ${STAGEDIR}/var/milter-greylist
.include "${.CURDIR}/../sendmail/bsd.milter.mk"
.include <bsd.port.mk>
diff --git a/mail/milter-greylist-devel/pkg-plist b/mail/milter-greylist-devel/pkg-plist
index 6d0bbcb5feda..d3ede167bda6 100644
--- a/mail/milter-greylist-devel/pkg-plist
+++ b/mail/milter-greylist-devel/pkg-plist
@@ -2,7 +2,4 @@ libexec/milter-greylist
man/man5/greylist.conf.5.gz
man/man8/milter-greylist.8.gz
etc/mail/greylist.conf.sample
-@exec /bin/mkdir -p /var/milter-greylist
-@exec /usr/sbin/chown -R mailnull:mailnull /var/milter-greylist
-@dirrmtry etc/mail
-@unexec [ -f /var/milter-greylist/greylist.db ] || rmdir /var/milter-greylist || true
+@dir(mailnull,mailnull,) /var/milter-greylist