Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/mailwrapper/Makefile
Show All 13 Lines | SYMLINKS= ../sbin/mailwrapper /usr/bin/mailq \ | ||||
../sbin/mailwrapper /usr/bin/newaliases \ | ../sbin/mailwrapper /usr/bin/newaliases \ | ||||
mailwrapper /usr/sbin/hoststat \ | mailwrapper /usr/sbin/hoststat \ | ||||
mailwrapper /usr/sbin/purgestat \ | mailwrapper /usr/sbin/purgestat \ | ||||
mailwrapper /usr/sbin/sendmail | mailwrapper /usr/sbin/sendmail | ||||
.if ${MK_MAILWRAPPER} == "no" && ${MK_SENDMAIL} != "no" | .if ${MK_MAILWRAPPER} == "no" && ${MK_SENDMAIL} != "no" | ||||
SYMLINKS+= ../libexec/sendmail/sendmail ${BINDIR}/mailwrapper | SYMLINKS+= ../libexec/sendmail/sendmail ${BINDIR}/mailwrapper | ||||
.endif | .endif | ||||
CONFS= aliases | |||||
CONFSDIR= /etc/mail | |||||
afterinstallconfig: | |||||
${INSTALL_SYMLINK} ${TAG_ARGS} mail/aliases ${DESTDIR}/etc/aliases | |||||
.endif | .endif | ||||
.if ${MK_MAILWRAPPER} != "no" && ${MK_SENDMAIL} == "no" | .if ${MK_MAILWRAPPER} != "no" && ${MK_SENDMAIL} == "no" | ||||
SYMLINKS+= ..${BINDIR}/mailwrapper /bin/rmail | SYMLINKS+= ..${BINDIR}/mailwrapper /bin/rmail | ||||
.endif | .endif | ||||
.if ${MK_MAILWRAPPER} != "no" | .if ${MK_MAILWRAPPER} != "no" | ||||
.if !exists(${DESTDIR}/etc/mail/mailer.conf) | CONFS+= mailer.conf | ||||
FILES= ${SRCTOP}/etc/mail/mailer.conf | |||||
FILESDIR= /etc/mail | |||||
FILESMODE= 644 | |||||
.endif | |||||
.endif | .endif | ||||
.include <bsd.prog.mk> | .include <bsd.prog.mk> |