freebsd-nq/usr.sbin/mailwrapper/Makefile
Tim Vanderhoek 0e61e4dd08 Install mailer.conf as ${BINOWN}, ${BINGRP}, rather than root:wheel. This
lets unprivileged installworld: almost work first try and always work second.

BINOWN isn't quite right for this, but it's not really worth creating
a MAILOWN for this.
2000-06-04 01:20:58 +00:00

20 lines
436 B
Makefile

# $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 !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>