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