1999-12-29 17:51:22 +00:00
|
|
|
# $FreeBSD$
|
1999-12-19 13:50:37 +00:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
.if ${MK_MAILWRAPPER} != "no"
|
1999-12-19 13:50:37 +00:00
|
|
|
PROG= mailwrapper
|
2001-03-26 14:42:20 +00:00
|
|
|
MAN= mailwrapper.8
|
1999-12-19 13:50:37 +00:00
|
|
|
|
2001-07-20 06:20:32 +00:00
|
|
|
DPADD= ${LIBUTIL}
|
|
|
|
LDADD= -lutil
|
2002-07-24 22:17:22 +00:00
|
|
|
.endif
|
1999-12-19 13:50:37 +00:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_MAILWRAPPER} != "no" || ${MK_SENDMAIL} != "no"
|
1999-12-29 17:51:22 +00:00
|
|
|
SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \
|
2002-04-05 04:25:14 +00:00
|
|
|
${BINDIR}/mailwrapper /usr/sbin/hoststat \
|
|
|
|
${BINDIR}/mailwrapper /usr/sbin/purgestat \
|
1999-12-29 17:51:22 +00:00
|
|
|
${BINDIR}/mailwrapper /usr/bin/newaliases \
|
|
|
|
${BINDIR}/mailwrapper /usr/bin/mailq
|
1999-12-19 13:50:37 +00:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_MAILWRAPPER} == "no" && ${MK_SENDMAIL} != "no"
|
2002-07-24 22:17:22 +00:00
|
|
|
SYMLINKS+= /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper
|
|
|
|
.endif
|
2004-01-17 23:58:23 +00:00
|
|
|
.endif
|
2002-07-24 22:17:22 +00:00
|
|
|
|
2010-10-12 21:01:26 +00:00
|
|
|
.if ${MK_MAILWRAPPER} != "no" && ${MK_SENDMAIL} == "no"
|
|
|
|
SYMLINKS+= ${BINDIR}/mailwrapper /bin/rmail
|
|
|
|
.endif
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_MAILWRAPPER} != "no"
|
2000-06-04 01:20:58 +00:00
|
|
|
.if !exists(${DESTDIR}/etc/mail/mailer.conf)
|
2004-10-18 17:20:29 +00:00
|
|
|
FILES= ${.CURDIR}/../../etc/mail/mailer.conf
|
|
|
|
FILESDIR= /etc/mail
|
|
|
|
FILESMODE= 644
|
2000-06-04 01:20:58 +00:00
|
|
|
.endif
|
2002-07-24 22:17:22 +00:00
|
|
|
.endif
|
1999-12-29 18:27:35 +00:00
|
|
|
|
1999-12-19 13:50:37 +00:00
|
|
|
.include <bsd.prog.mk>
|