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:
|
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
|
1999-12-29 18:27:35 +00:00
|
|
|
|
1999-12-19 13:50:37 +00:00
|
|
|
.include <bsd.prog.mk>
|