1 |
commit: 48ddf7ec41074024a73d25e1d26aa99bbf881f35 |
2 |
Author: Harri Nieminen <moikkis <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Feb 14 08:46:52 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 14 19:42:04 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48ddf7ec |
7 |
|
8 |
x11-misc/bbdate: EAPI bump 0 -> 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/3967 |
12 |
|
13 |
x11-misc/bbdate/bbdate-0.2.4-r2.ebuild | 39 ++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/x11-misc/bbdate/bbdate-0.2.4-r2.ebuild b/x11-misc/bbdate/bbdate-0.2.4-r2.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000000..e346fa2046 |
19 |
--- /dev/null |
20 |
+++ b/x11-misc/bbdate/bbdate-0.2.4-r2.ebuild |
21 |
@@ -0,0 +1,39 @@ |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+# $Id$ |
25 |
+ |
26 |
+EAPI=6 |
27 |
+inherit autotools |
28 |
+ |
29 |
+DESCRIPTION="blackbox date display" |
30 |
+HOMEPAGE="https://sourceforge.net/projects/bbtools" |
31 |
+SRC_URI="mirror://sourceforge/bbtools/${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="GPL-2" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" |
36 |
+IUSE="" |
37 |
+ |
38 |
+RDEPEND="x11-libs/libX11" |
39 |
+DEPEND="${RDEPEND}" |
40 |
+ |
41 |
+DOCS=( README AUTHORS BUGS ChangeLog TODO data/README.bbdate ) |
42 |
+PATCHES=( "${FILESDIR}"/${P}-as-needed.patch ) |
43 |
+ |
44 |
+src_prepare() { |
45 |
+ default |
46 |
+ mv configure.{in,ac} || die |
47 |
+ sed -i \ |
48 |
+ -e 's|-helvetica-|-*-|g' \ |
49 |
+ resource.cc data/${PN}.{nobb,style} || die |
50 |
+ eautoreconf |
51 |
+} |
52 |
+ |
53 |
+src_install () { |
54 |
+ default |
55 |
+ rm "${ED%/}"/usr/share/bbtools/README.bbdate || die |
56 |
+ # since multiple bbtools packages provide this file, install |
57 |
+ # it in /usr/share/doc/${PF} |
58 |
+ mv "${ED%/}"/usr/share/bbtools/bbtoolsrc.in \ |
59 |
+ "${ED%/}"/usr/share/doc/${PF}/bbtoolsrc.example || die |
60 |
+} |