xref: /freebsd-14.2/usr.sbin/mailwrapper/Makefile (revision 71ccf092)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# $FreeBSD$
2
3.include <bsd.own.mk>
4
5.if ${MK_MAILWRAPPER} != "no"
6PROG=	mailwrapper
7MAN=	mailwrapper.8
8
9DPADD=	${LIBUTIL}
10LDADD=	-lutil
11.endif
12
13.if ${MK_MAILWRAPPER} != "no" || ${MK_SENDMAIL} != "no"
14SYMLINKS= 	${BINDIR}/mailwrapper /usr/sbin/sendmail  \
15		${BINDIR}/mailwrapper /usr/sbin/hoststat  \
16		${BINDIR}/mailwrapper /usr/sbin/purgestat \
17		${BINDIR}/mailwrapper /usr/bin/newaliases \
18		${BINDIR}/mailwrapper /usr/bin/mailq
19
20.if ${MK_MAILWRAPPER} == "no" && ${MK_SENDMAIL} != "no"
21SYMLINKS+=	/usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper
22.endif
23.endif
24
25.if ${MK_MAILWRAPPER} != "no"
26.if !exists(${DESTDIR}/etc/mail/mailer.conf)
27FILES=		${.CURDIR}/../../etc/mail/mailer.conf
28FILESDIR=	/etc/mail
29FILESMODE=	644
30.endif
31.endif
32
33.include <bsd.prog.mk>
34

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026