]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/mailwrapper/Makefile
This commit was generated by cvs2svn to compensate for changes in r158782,
[FreeBSD/FreeBSD.git] / usr.sbin / mailwrapper / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 .if ${MK_MAILWRAPPER} != "no"
6 PROG=   mailwrapper
7 MAN=    mailwrapper.8
8
9 DPADD=  ${LIBUTIL}
10 LDADD=  -lutil
11 .endif
12
13 .if ${MK_MAILWRAPPER} != "no" || ${MK_SENDMAIL} != "no"
14 SYMLINKS=       ${BINDIR}/mailwrapper /usr/sbin/sendmail  \
15                 ${BINDIR}/mailwrapper /usr/sbin/hoststat  \
16                 ${BINDIR}/mailwrapper /usr/sbin/purgestat \
17                 ${BINDIR}/mailwrapper /usr/bin/newaliases \
18                 ${BINDIR}/mailwrapper /usr/bin/mailq
19
20 .if ${MK_MAILWRAPPER} == "no" && ${MK_SENDMAIL} != "no"
21 SYMLINKS+=      /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper
22 .endif
23 .endif
24
25 .if ${MK_MAILWRAPPER} != "no"
26 .if !exists(${DESTDIR}/etc/mail/mailer.conf)
27 FILES=          ${.CURDIR}/../../etc/mail/mailer.conf
28 FILESDIR=       /etc/mail
29 FILESMODE=      644
30 .endif
31 .endif
32
33 .include <bsd.prog.mk>