Gregory Neil Shapiro 5bcd1d05cf Add the missing hoststat and purgestat commands. These are normally
symlinks to the sendmail binary but in FreeBSD's case, they are
symlinks to mailwrapper.

Submitted by:	tisco
MFC after:	4 days
2002-04-05 04:25:14 +00:00

22 lines
525 B
Makefile

# $FreeBSD$
PROG= mailwrapper
MAN= mailwrapper.8
DPADD= ${LIBUTIL}
LDADD= -lutil
SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \
${BINDIR}/mailwrapper /usr/sbin/hoststat \
${BINDIR}/mailwrapper /usr/sbin/purgestat \
${BINDIR}/mailwrapper /usr/bin/newaliases \
${BINDIR}/mailwrapper /usr/bin/mailq
afterinstall:
.if !exists(${DESTDIR}/etc/mail/mailer.conf)
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
${.CURDIR}/../../etc/mail/mailer.conf ${DESTDIR}/etc/mail
.endif
.include <bsd.prog.mk>