commit:     4894d215b8cad1a4832b52e9b7d43facf87e7786
Author:     Harri Nieminen <moikkis <AT> gmail <DOT> com>
AuthorDate: Tue Feb 14 09:39:49 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Feb 14 19:42:16 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4894d215

x11-misc/bbmail: EAPI bump 2 -> 6

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3967

 x11-misc/bbmail/bbmail-0.9.3-r1.ebuild           | 40 ++++++++++++++++++++++++
 x11-misc/bbmail/files/bbmail-0.9.3-shebang.patch |  8 +++++
 2 files changed, 48 insertions(+)

diff --git a/x11-misc/bbmail/bbmail-0.9.3-r1.ebuild 
b/x11-misc/bbmail/bbmail-0.9.3-r1.ebuild
new file mode 100644
index 0000000000..8f2493767d
--- /dev/null
+++ b/x11-misc/bbmail/bbmail-0.9.3-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="blackbox mail notification"
+HOMEPAGE="https://sourceforge.net/projects/bbtools";
+SRC_URI="mirror://sourceforge/bbtools/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="
+       dev-lang/perl
+       x11-wm/blackbox
+       x11-libs/libX11
+       x11-libs/libXext"
+DEPEND="${RDEPEND}
+       x11-proto/xproto"
+
+PATCHES=(
+       "${FILESDIR}"/${P}-gcc4.3.patch
+       "${FILESDIR}"/${P}-gcc4.4.patch
+       "${FILESDIR}"/${P}-shebang.patch
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_install () {
+       default
+       dobin scripts/bbmailparsefm.pl
+}

diff --git a/x11-misc/bbmail/files/bbmail-0.9.3-shebang.patch 
b/x11-misc/bbmail/files/bbmail-0.9.3-shebang.patch
new file mode 100644
index 0000000000..98ceae80e1
--- /dev/null
+++ b/x11-misc/bbmail/files/bbmail-0.9.3-shebang.patch
@@ -0,0 +1,8 @@
+--- a/scripts/bbmailparsefm.pl 2002-10-17 21:33:21.000000000 +0300
++++ b/scripts/bbmailparsefm.pl 2017-02-14 19:49:11.371106962 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl 
++#!/usr/bin/env perl
+ # 
+ # Quickie script to parse fetchmail -c output
+ # (IMAP proto) for use with bbmail

Reply via email to