diff options
author | Grant Goodyear <g2boojum@gentoo.org> | 2004-12-15 21:42:50 +0000 |
---|---|---|
committer | Grant Goodyear <g2boojum@gentoo.org> | 2004-12-15 21:42:50 +0000 |
commit | 973d2d490f8086c499e924eba38491e781a93abf (patch) | |
tree | 3eb9ed5448cc2cf463e0d509371def99c16fb3c1 /net-mail/mailwrapper/mailwrapper-0.2.1.ebuild | |
parent | rearrange gnupg dependancy (Manifest recommit) (diff) | |
download | gentoo-2-973d2d490f8086c499e924eba38491e781a93abf.tar.gz gentoo-2-973d2d490f8086c499e924eba38491e781a93abf.tar.bz2 gentoo-2-973d2d490f8086c499e924eba38491e781a93abf.zip |
Version bump that closes 53234
Diffstat (limited to 'net-mail/mailwrapper/mailwrapper-0.2.1.ebuild')
-rw-r--r-- | net-mail/mailwrapper/mailwrapper-0.2.1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/net-mail/mailwrapper/mailwrapper-0.2.1.ebuild b/net-mail/mailwrapper/mailwrapper-0.2.1.ebuild new file mode 100644 index 000000000000..9ede40776dbf --- /dev/null +++ b/net-mail/mailwrapper/mailwrapper-0.2.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/mailwrapper/mailwrapper-0.2.1.ebuild,v 1.1 2004/12/15 21:42:50 g2boojum Exp $ + +inherit gcc + +DESCRIPTION="Program to invoke an appropriate MTA based on a config file" +HOMEPAGE="http://www.gentoo.org/" +SRC_URI="mirror://gentoo/${P}.tbz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="x86 ppc sparc mips alpha arm hppa amd64 ia64 ppc64 s390" +IUSE="" + +DEPEND="" + +src_compile() { + $(gcc-getCC) ${CFLAGS} \ + -o mailwrapper \ + mailwrapper.c fparseln.c fgetln.c \ + || die "build failed" +} + +src_install() { + newsbin mailwrapper sendmail || die "mailwrapper binary not installed" + doman mailer.conf.5 mailwrapper.8 + insinto /etc/mail + doins ${FILESDIR}/mailer.conf || die "mailer.conf not installed" +} + +pkg_postinst() { + if [[ -e /etc/mailer.conf ]] + then + einfo + einfo "The mailwrapper config file has moved to /etc/mail/mailer.conf," + einfo "so the /etc/mailer.conf file on your system is no longer used." + einfo + fi +} |