pkgsrc/mail/mailwrapper/PLIST

18 lines
800 B
Text

@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:00:25 zuntum Exp $
etc/mailer.conf.default
@exec test -e /etc/mailer.conf || ln -sf %F /etc/mailer.conf
man/cat5/mailer.conf.0.gz
man/cat8/mailwrapper.0.gz
man/man5/mailer.conf.5.gz
man/man8/mailwrapper.8.gz
sbin/mailwrapper
@exec mkdir -p /usr/libexec/sendmail
@exec mv -i /usr/sbin/sendmail /usr/libexec/sendmail </dev/null 2>/dev/null || true
@exec ln -fs %D/sbin/mailwrapper /usr/bin/mailq
@exec ln -fs %D/sbin/mailwrapper /usr/bin/newaliases
@exec ln -fs %D/sbin/mailwrapper /usr/sbin/sendmail
@unexec rm /usr/bin/mailq /usr/bin/newaliases /usr/sbin/sendmail
@unexec mv /usr/libexec/sendmail/sendmail /usr/sbin/sendmail
@unexec ln /usr/sbin/sendmail /usr/bin/mailq
@unexec ln /usr/sbin/sendmail /usr/bin/newaliases
@unexec rmdir /usr/libexec/sendmail