1999-12-29 17:51:22 +00:00
|
|
|
# $FreeBSD$
|
1999-12-19 13:50:37 +00:00
|
|
|
|
2002-07-24 22:17:22 +00:00
|
|
|
.if !defined(NO_MAILWRAPPER)
|
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
|
|
|
|
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
|
|
|
|
2002-07-24 22:17:22 +00:00
|
|
|
.if defined(NO_MAILWRAPPER) && !defined(NO_SENDMAIL)
|
|
|
|
SYMLINKS+= /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper
|
|
|
|
.endif
|
|
|
|
|
1999-12-29 18:27:35 +00:00
|
|
|
afterinstall:
|
2002-07-24 22:17:22 +00:00
|
|
|
.if !defined(NO_MAILWRAPPER)
|
2000-06-04 01:20:58 +00:00
|
|
|
.if !exists(${DESTDIR}/etc/mail/mailer.conf)
|
|
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
|
|
|
${.CURDIR}/../../etc/mail/mailer.conf ${DESTDIR}/etc/mail
|
|
|
|
.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>
|