diff --git a/usr.sbin/mailwrapper/Makefile b/usr.sbin/mailwrapper/Makefile index f67e77539c0..6d52dadf6fb 100644 --- a/usr.sbin/mailwrapper/Makefile +++ b/usr.sbin/mailwrapper/Makefile @@ -20,11 +20,11 @@ SYMLINKS+= /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper .endif .endif -afterinstall: .if !defined(NO_MAILWRAPPER) .if !exists(${DESTDIR}/etc/mail/mailer.conf) - ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ - ${.CURDIR}/../../etc/mail/mailer.conf ${DESTDIR}/etc/mail +FILES= ${.CURDIR}/../../etc/mail/mailer.conf +FILESDIR= /etc/mail +FILESMODE= 644 .endif .endif