1999-12-29 17:51:22 +00:00
|
|
|
# $FreeBSD$
|
1999-12-19 13:50:37 +00:00
|
|
|
|
|
|
|
PROG= mailwrapper
|
1999-12-29 17:51:22 +00:00
|
|
|
MAN8= mailwrapper.8
|
1999-12-19 13:50:37 +00:00
|
|
|
|
|
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
LDADD+= -lutil
|
|
|
|
|
1999-12-29 17:51:22 +00:00
|
|
|
SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \
|
|
|
|
${BINDIR}/mailwrapper /usr/bin/newaliases \
|
|
|
|
${BINDIR}/mailwrapper /usr/bin/mailq
|
1999-12-19 13:50:37 +00:00
|
|
|
|
1999-12-29 18:27:35 +00:00
|
|
|
afterinstall:
|
1999-12-29 18:51:36 +00:00
|
|
|
@if [ ! -f ${DESTDIR}/etc/mail/mailer.conf ]; then \
|
1999-12-29 18:27:35 +00:00
|
|
|
${INSTALL} -c -o root -g wheel -m 644 \
|
|
|
|
${.CURDIR}/../../etc/mail/mailer.conf ${DESTDIR}/etc/mail; \
|
|
|
|
fi
|
|
|
|
|
1999-12-19 13:50:37 +00:00
|
|
|
.include <bsd.prog.mk>
|