mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
5bcd1d05cf
symlinks to the sendmail binary but in FreeBSD's case, they are symlinks to mailwrapper. Submitted by: tisco MFC after: 4 days
22 lines
525 B
Makefile
22 lines
525 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= mailwrapper
|
|
MAN= mailwrapper.8
|
|
|
|
DPADD= ${LIBUTIL}
|
|
LDADD= -lutil
|
|
|
|
SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \
|
|
${BINDIR}/mailwrapper /usr/sbin/hoststat \
|
|
${BINDIR}/mailwrapper /usr/sbin/purgestat \
|
|
${BINDIR}/mailwrapper /usr/bin/newaliases \
|
|
${BINDIR}/mailwrapper /usr/bin/mailq
|
|
|
|
afterinstall:
|
|
.if !exists(${DESTDIR}/etc/mail/mailer.conf)
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
|
${.CURDIR}/../../etc/mail/mailer.conf ${DESTDIR}/etc/mail
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|