ce9f2d31b3
Style.Makefile(9) has been ignored to produce minimal diffs. Approved by: grehan (mentor) MFC after: 1 week
37 lines
808 B
Makefile
37 lines
808 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.if ${MK_MAILWRAPPER} != "no"
|
|
PROG= mailwrapper
|
|
MAN= mailwrapper.8
|
|
|
|
LIBADD= util
|
|
.endif
|
|
|
|
.if ${MK_MAILWRAPPER} != "no" || ${MK_SENDMAIL} != "no"
|
|
SYMLINKS= ../sbin/mailwrapper /usr/bin/mailq \
|
|
../sbin/mailwrapper /usr/bin/newaliases \
|
|
mailwrapper /usr/sbin/hoststat \
|
|
mailwrapper /usr/sbin/purgestat \
|
|
mailwrapper /usr/sbin/sendmail
|
|
|
|
.if ${MK_MAILWRAPPER} == "no" && ${MK_SENDMAIL} != "no"
|
|
SYMLINKS+= ../libexec/sendmail/sendmail ${BINDIR}/mailwrapper
|
|
.endif
|
|
.endif
|
|
|
|
.if ${MK_MAILWRAPPER} != "no" && ${MK_SENDMAIL} == "no"
|
|
SYMLINKS+= ..${BINDIR}/mailwrapper /bin/rmail
|
|
.endif
|
|
|
|
.if ${MK_MAILWRAPPER} != "no"
|
|
.if !exists(${DESTDIR}/etc/mail/mailer.conf)
|
|
FILES= ${SRCTOP}/etc/mail/mailer.conf
|
|
FILESDIR= /etc/mail
|
|
FILESMODE= 644
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|