]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - usr.sbin/mailwrapper/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.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 WARNS?= 6
12 .endif
13
14 .if ${MK_MAILWRAPPER} != "no" || ${MK_SENDMAIL} != "no"
15 SYMLINKS=       ${BINDIR}/mailwrapper /usr/sbin/sendmail  \
16                 ${BINDIR}/mailwrapper /usr/sbin/hoststat  \
17                 ${BINDIR}/mailwrapper /usr/sbin/purgestat \
18                 ${BINDIR}/mailwrapper /usr/bin/newaliases \
19                 ${BINDIR}/mailwrapper /usr/bin/mailq
20
21 .if ${MK_MAILWRAPPER} == "no" && ${MK_SENDMAIL} != "no"
22 SYMLINKS+=      /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper
23 .endif
24 .endif
25
26 .if ${MK_MAILWRAPPER} != "no"
27 .if !exists(${DESTDIR}/etc/mail/mailer.conf)
28 FILES=          ${.CURDIR}/../../etc/mail/mailer.conf
29 FILESDIR=       /etc/mail
30 FILESMODE=      644
31 .endif
32 .endif
33
34 .include <bsd.prog.mk>