Replaced afterinstall: with FILES.

This commit is contained in:
Ruslan Ermilov 2004-10-18 17:20:29 +00:00
parent 62f696fcfa
commit a5d15979f2

View File

@ -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