diff options
author | Andrej Kacian <ticho@gentoo.org> | 2006-08-16 20:14:31 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2006-08-16 20:14:31 +0000 |
commit | ddc7100628f52f808b232ac10edc7d9fbd30e6b9 (patch) | |
tree | fca492386d3a1e198a17332f13dc950da80633cc /net-mail/email/email-2.5.0.ebuild | |
parent | version bump thanks to Francisco Lloret <fcolloret@terra.es> and Eric Thibode... (diff) | |
download | gentoo-2-ddc7100628f52f808b232ac10edc7d9fbd30e6b9.tar.gz gentoo-2-ddc7100628f52f808b232ac10edc7d9fbd30e6b9.tar.bz2 gentoo-2-ddc7100628f52f808b232ac10edc7d9fbd30e6b9.zip |
Version bump.
(Portage version: 2.1.1_pre4-r4)
Diffstat (limited to 'net-mail/email/email-2.5.0.ebuild')
-rw-r--r-- | net-mail/email/email-2.5.0.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/net-mail/email/email-2.5.0.ebuild b/net-mail/email/email-2.5.0.ebuild new file mode 100644 index 000000000000..4506ccd67aff --- /dev/null +++ b/net-mail/email/email-2.5.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/email/email-2.5.0.ebuild,v 1.1 2006/08/16 20:14:31 ticho Exp $ + +DESCRIPTION="Advanced CLI tool for sending email." +HOMEPAGE="http://email.cleancode.org" +SRC_URI="http://email.cleancode.org/download/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~alpha ~amd64 ~x86" +IUSE="" + +DEPEND="virtual/libc" + +src_compile() { + local myconf="" + + if [ -f /etc/rc.conf ]; then + . /etc/rc.conf + if [ x$CLOCK = "xUTC" ]; then + einfo "Using UTC timestamps (from /etc/rc.conf)" + myconf="${myconf} --with-utc" + fi + fi + + sed -i -e "s:/doc/email-\${version}:/share/doc:" configure + sed -i -e "s:DIVIDER = '---':DIVIDER = '-- ':" email.conf + + econf ${myconf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + doman email.1 + dodoc INSTALL quoted-printable.rfc RFC821 TODO + make DESTDIR=${D} install || die "install failed" +} + +pkg_preinst() { + rm ${D}/usr/share/doc/${P}/email.1 +} + +pkg_postinst() { + echo + einfo "Do not forget to edit /etc/email/email.conf file before using email." + echo +} |