1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5.if ${MK_MAILWRAPPER} != "no" 6PROG= mailwrapper 7MAN= mailwrapper.8 8 9DPADD= ${LIBUTIL} 10LDADD= -lutil 11.endif 12 13.if ${MK_MAILWRAPPER} != "no" || ${MK_SENDMAIL} != "no" 14SYMLINKS= ${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" 21SYMLINKS+= /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper 22.endif 23.endif 24 25.if ${MK_MAILWRAPPER} != "no" && ${MK_SENDMAIL} == "no" 26SYMLINKS+= ${BINDIR}/mailwrapper /bin/rmail 27.endif 28 29.if ${MK_MAILWRAPPER} != "no" 30.if !exists(${DESTDIR}/etc/mail/mailer.conf) 31FILES= ${.CURDIR}/../../etc/mail/mailer.conf 32FILESDIR= /etc/mail 33FILESMODE= 644 34.endif 35.endif 36 37.include <bsd.prog.mk> 38