20 lines
435 B
Makefile
20 lines
435 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= mailwrapper
|
|
MAN= 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>
|