Add 'H' to usage() options. This was missing from the last commit.
[dragonfly/netmp.git] / usr.sbin / mailwrapper / Makefile
blob4d5300ba4978dc229ad0bf1af873dca53840de84
1 # $FreeBSD: src/usr.sbin/mailwrapper/Makefile,v 1.4.2.5 2003/04/16 11:01:51 ru Exp $
2 # $DragonFly: src/usr.sbin/mailwrapper/Makefile,v 1.4 2005/07/04 13:35:18 corecode Exp $
4 .if !defined(NO_MAILWRAPPER)
5 PROG= mailwrapper
6 WARNS?= 6
7 MAN= mailwrapper.8
9 DPADD= ${LIBUTIL}
10 LDADD= -lutil
11 .endif
13 .if !defined(NO_MAILWRAPPER) || !defined(NO_SENDMAIL)
14 SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \
15 ${BINDIR}/mailwrapper /usr/sbin/hoststat \
16 ${BINDIR}/mailwrapper /usr/sbin/purgestat \
17 ${BINDIR}/mailwrapper /usr/bin/newaliases \
18 ${BINDIR}/mailwrapper /usr/bin/mailq
20 .if defined(NO_MAILWRAPPER) && !defined(NO_SENDMAIL)
21 SYMLINKS+= /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper
22 .endif
23 .endif
25 afterinstall:
26 .if !defined(NO_MAILWRAPPER)
27 .if !exists(${DESTDIR}/etc/mail/mailer.conf)
28 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
29 ${.CURDIR}/../../etc/mail/mailer.conf ${DESTDIR}/etc/mail
30 .endif
31 .endif
33 .include <bsd.prog.mk>