x11-misc/bbmail: EAPI bump 2 -> 6
authorHarri Nieminen <moikkis@gmail.com>
Tue, 14 Feb 2017 09:39:49 +0000 (11:39 +0200)
committerDavid Seifert <soap@gentoo.org>
Tue, 14 Feb 2017 19:42:16 +0000 (20:42 +0100)
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 [new file with mode: 0644]
x11-misc/bbmail/files/bbmail-0.9.3-shebang.patch [new file with mode: 0644]

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 (file)
index 0000000..8f24937
--- /dev/null
@@ -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 (file)
index 0000000..98ceae8
--- /dev/null
@@ -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