summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIoannis Aslanidis <deathwing00@gentoo.org>2009-03-20 16:52:08 +0000
committerIoannis Aslanidis <deathwing00@gentoo.org>2009-03-20 16:52:08 +0000
commitaa565d767c84f3f9a00f4bfd4526ac0f40fc6935 (patch)
treed8ad9759f8a3a9fab4bc0f9747a530f73f1a1c54 /net-mail/email/email-3.1.2.ebuild
parentAdd rdesktop and vnc USE flags, change depends for vnc as discussed in bug #2... (diff)
downloadgentoo-2-aa565d767c84f3f9a00f4bfd4526ac0f40fc6935.tar.gz
gentoo-2-aa565d767c84f3f9a00f4bfd4526ac0f40fc6935.tar.bz2
gentoo-2-aa565d767c84f3f9a00f4bfd4526ac0f40fc6935.zip
Version bump. Ebuild enjoyed several fixes.
(Portage version: 2.2_rc26/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/email/email-3.1.2.ebuild')
-rw-r--r--net-mail/email/email-3.1.2.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/net-mail/email/email-3.1.2.ebuild b/net-mail/email/email-3.1.2.ebuild
new file mode 100644
index 000000000000..8cc51a87fac0
--- /dev/null
+++ b/net-mail/email/email-3.1.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/email/email-3.1.2.ebuild,v 1.1 2009/03/20 16:52:08 deathwing00 Exp $
+
+DESCRIPTION="Advanced CLI tool for sending email."
+HOMEPAGE="http://www.cleancode.org/projects/email"
+SRC_URI="http://www.cleancode.org/downloads/${PN}/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~x86"
+IUSE=""
+
+DEPEND="virtual/libc"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ local myconf=""
+
+ if [ -f /etc/conf.d/clock ]; then
+ . /etc/conf.d/clock
+ if [ x$CLOCK = "xUTC" ]; then
+ elog "Using UTC timestamps (from /etc/conf.d/clock)"
+ 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
+ elog "Do not forget to edit /etc/email/email.conf file before using email."
+ echo
+}