summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/mailwrapper/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/mailwrapper/Makefile b/usr.sbin/mailwrapper/Makefile
index c59fa9e..3e575e6 100644
--- a/usr.sbin/mailwrapper/Makefile
+++ b/usr.sbin/mailwrapper/Makefile
@@ -1,4 +1,3 @@
-# $NetBSD: Makefile,v 1.4 1999/03/25 16:40:18 is Exp $
# $FreeBSD$
PROG= mailwrapper
@@ -11,4 +10,10 @@ SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \
${BINDIR}/mailwrapper /usr/bin/newaliases \
${BINDIR}/mailwrapper /usr/bin/mailq
+afterinstall:
+ @if [ ! -f /etc/mail/mailer.conf ]; then \
+ ${INSTALL} -c -o root -g wheel -m 644 \
+ ${.CURDIR}/../../etc/mail/mailer.conf ${DESTDIR}/etc/mail; \
+ fi
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud