|
|
# Copyright 1999-2005 Gentoo Foundation | # Copyright 1999-2005 Gentoo Foundation |
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/mail-mta/courier/courier-0.50.0.ebuild,v 1.1 2005/07/02 23:48:10 swtaylor Exp $ |
# $Header: $ |
| |
inherit eutils gnuconfig flag-o-matic | inherit eutils gnuconfig flag-o-matic |
| |
|
|
| |
if use mailwrapper ; then | if use mailwrapper ; then |
mv ${D}/usr/bin/sendmail ${D}/usr/bin/sendmail.courier | mv ${D}/usr/bin/sendmail ${D}/usr/bin/sendmail.courier |
rm ${D}/usr/bin/rmail |
mv ${D}/usr/bin/mailq ${D}/usr/bin/mailq.courier |
|
rm ${D}/usr/bin/rmail ${D}/usr/bin/rmail.courier |
|
|
|
mv ${D}/usr/share/man/man1/sendmail.1 \ |
|
${D}/usr/share/man/man1/sendmail-courier.1 |
|
mv ${D}/usr/share/man/man1/mailq.1 \ |
|
${D}/usr/share/man/man1/mailq-courier.1 |
|
|
insinto /etc/mail | insinto /etc/mail |
doins ${FILESDIR}/mailer.conf | doins ${FILESDIR}/mailer.conf |
else | else |