freebsd-skq/usr.sbin/mailwrapper/Makefile

35 lines
772 B
Makefile
Raw Normal View History

1999-12-29 17:51:22 +00:00
# $FreeBSD$
.include <bsd.own.mk>
.if ${MK_MAILWRAPPER} != "no"
PROG= mailwrapper
MAN= mailwrapper.8
DPADD= ${LIBUTIL}
LDADD= -lutil
WARNS?= 6
.endif
.if ${MK_MAILWRAPPER} != "no" || ${MK_SENDMAIL} != "no"
1999-12-29 17:51:22 +00:00
SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \
${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
.if ${MK_MAILWRAPPER} == "no" && ${MK_SENDMAIL} != "no"
SYMLINKS+= /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper
.endif
.endif
.if ${MK_MAILWRAPPER} != "no"
.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
.endif
.endif
.include <bsd.prog.mk>