diff options
author | tron <tron> | 1999-04-12 21:19:32 +0000 |
---|---|---|
committer | tron <tron> | 1999-04-12 21:19:32 +0000 |
commit | f1785fdc0eb7748ac246d12f7e9a810b5bd27e97 (patch) | |
tree | bdece1b5cb0af36014c41eccdb55bcd80a86c828 /mail/mailwrapper/Makefile | |
parent | 0612c63924648308bb8185bb3689ec33240a6f9e (diff) | |
download | pkgsrc-f1785fdc0eb7748ac246d12f7e9a810b5bd27e97.tar.gz |
New "mailwrapper" package inspired by PR pkg/7158 by Greg A. Woods:
NetBSD 1.4's wrapper to support arbitrary Mail Transport Agents
Diffstat (limited to 'mail/mailwrapper/Makefile')
-rw-r--r-- | mail/mailwrapper/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/mail/mailwrapper/Makefile b/mail/mailwrapper/Makefile new file mode 100644 index 00000000000..dbdac757b8b --- /dev/null +++ b/mail/mailwrapper/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/04/12 21:19:32 tron Exp $ + +DISTNAME= mailwrapper-19990412 +CATEGORIES= mail +MASTER_SITES= ${MASTER_SITE_LOCAL} + +MAINTAINER= tron@netbsd.org + +MIRROR_DISTFILE= no +NO_CONFIGURE= yes +NO_PATCH= yes + +.if exists(/usr/sbin/mailwrapper) +IGNORE= "is part of your NetBSD distribution" +.endif + +MANCOMPRESSED= 1 +WRKSRC= ${WRKDIR}/mailwrapper + +MAILER_CONF= /etc/mailer.conf +LIBEXECDIR= /usr/libexec/sendmail +SENDMAIL= /usr/sbin/sendmail + +post-install: + ${INSTALL_DATA} ${WRKSRC}/mailer.conf ${PREFIX}/etc/mailer.conf.default + ${TEST} -e ${MAILER_CONF} || \ + ${LN} -s ${PREFIX}/etc/mailer.conf.default /etc/mailer.conf + ${MKDIR} ${LIBEXECDIR} + ${MV} ${SENDMAIL} ${LIBEXECDIR} + ${LN} -fs ${PREFIX}/sbin/mailwrapper /usr/bin/mailq + ${LN} -fs ${PREFIX}/sbin/mailwrapper /usr/bin/newaliases + ${LN} -fs ${PREFIX}/sbin/mailwrapper ${SENDMAIL} + +.include "../../mk/bsd.pkg.mk" |