1999-12-29 18:51:22 +01:00
|
|
|
# $FreeBSD$
|
1999-12-19 14:50:37 +01:00
|
|
|
|
2002-07-25 00:17:22 +02:00
|
|
|
.if !defined(NO_MAILWRAPPER)
|
1999-12-19 14:50:37 +01:00
|
|
|
PROG= mailwrapper
|
2001-03-26 16:42:20 +02:00
|
|
|
MAN= mailwrapper.8
|
1999-12-19 14:50:37 +01:00
|
|
|
|
2001-07-20 08:20:32 +02:00
|
|
|
DPADD= ${LIBUTIL}
|
|
|
|
LDADD= -lutil
|
2002-07-25 00:17:22 +02:00
|
|
|
.endif
|
1999-12-19 14:50:37 +01:00
|
|
|
|
2004-01-18 00:58:23 +01:00
|
|
|
.if !defined(NO_MAILWRAPPER) || !defined(NO_SENDMAIL)
|
1999-12-29 18:51:22 +01:00
|
|
|
SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \
|
2002-04-05 06:25:14 +02:00
|
|
|
${BINDIR}/mailwrapper /usr/sbin/hoststat \
|
|
|
|
${BINDIR}/mailwrapper /usr/sbin/purgestat \
|
1999-12-29 18:51:22 +01:00
|
|
|
${BINDIR}/mailwrapper /usr/bin/newaliases \
|
|
|
|
${BINDIR}/mailwrapper /usr/bin/mailq
|
1999-12-19 14:50:37 +01:00
|
|
|
|
2002-07-25 00:17:22 +02:00
|
|
|
.if defined(NO_MAILWRAPPER) && !defined(NO_SENDMAIL)
|
|
|
|
SYMLINKS+= /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper
|
|
|
|
.endif
|
2004-01-18 00:58:23 +01:00
|
|
|
.endif
|
2002-07-25 00:17:22 +02:00
|
|
|
|
1999-12-29 19:27:35 +01:00
|
|
|
afterinstall:
|
2002-07-25 00:17:22 +02:00
|
|
|
.if !defined(NO_MAILWRAPPER)
|
2000-06-04 03:20:58 +02:00
|
|
|
.if !exists(${DESTDIR}/etc/mail/mailer.conf)
|
2002-07-29 11:40:17 +02:00
|
|
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
2000-06-04 03:20:58 +02:00
|
|
|
${.CURDIR}/../../etc/mail/mailer.conf ${DESTDIR}/etc/mail
|
|
|
|
.endif
|
2002-07-25 00:17:22 +02:00
|
|
|
.endif
|
1999-12-29 19:27:35 +01:00
|
|
|
|
1999-12-19 14:50:37 +01:00
|
|
|
.include <bsd.prog.mk>
|