summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mailwrapper/Makefile
blob: 0e6c8cf44424d6a852cb2656b13082464abb7a91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $FreeBSD$

PROG=	mailwrapper
MAN8=	mailwrapper.8

DPADD+=	${LIBUTIL}
LDADD+=	-lutil

SYMLINKS= 	${BINDIR}/mailwrapper /usr/sbin/sendmail  \
		${BINDIR}/mailwrapper /usr/bin/newaliases \
		${BINDIR}/mailwrapper /usr/bin/mailq

afterinstall:
	@if [ ! -f ${DESTDIR}/etc/mail/mailer.conf ]; then \
		${INSTALL} -c -o root -g wheel -m 644 \
		    ${.CURDIR}/../../etc/mail/mailer.conf ${DESTDIR}/etc/mail; \
	fi

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud