]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/mailwrapper/Makefile
MFV ntp 4.2.8p2 (r281348)
[FreeBSD/FreeBSD.git] / usr.sbin / mailwrapper / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 .if ${MK_MAILWRAPPER} != "no"
6 PROG=   mailwrapper
7 MAN=    mailwrapper.8
8
9 LIBADD= util
10 .endif
11
12 .if ${MK_MAILWRAPPER} != "no" || ${MK_SENDMAIL} != "no"
13 SYMLINKS=       ${BINDIR}/mailwrapper /usr/sbin/sendmail  \
14                 ${BINDIR}/mailwrapper /usr/sbin/hoststat  \
15                 ${BINDIR}/mailwrapper /usr/sbin/purgestat \
16                 ${BINDIR}/mailwrapper /usr/bin/newaliases \
17                 ${BINDIR}/mailwrapper /usr/bin/mailq
18
19 .if ${MK_MAILWRAPPER} == "no" && ${MK_SENDMAIL} != "no"
20 SYMLINKS+=      /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper
21 .endif
22 .endif
23
24 .if ${MK_MAILWRAPPER} != "no" && ${MK_SENDMAIL} == "no"
25 SYMLINKS+=      ${BINDIR}/mailwrapper /bin/rmail
26 .endif
27
28 .if ${MK_MAILWRAPPER} != "no"
29 .if !exists(${DESTDIR}/etc/mail/mailer.conf)
30 FILES=          ${.CURDIR}/../../etc/mail/mailer.conf
31 FILESDIR=       /etc/mail
32 FILESMODE=      644
33 .endif
34 .endif
35
36 .include <bsd.prog.mk>