Gentoo Archives: gentoo-commits

From: Naohiro Aota <naota@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/gpet/
Date: Sun, 26 Sep 2021 12:11:14
Message-Id: 1632658117.4a51e264c19ae2b3942bbaef2e70ae914ff7a97e.naota@gentoo
1 commit: 4a51e264c19ae2b3942bbaef2e70ae914ff7a97e
2 Author: Naohiro Aota <naota <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 26 12:07:01 2021 +0000
4 Commit: Naohiro Aota <naota <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 26 12:08:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a51e264
7
8 sys-apps/gpet: fix documentation install path
9
10 Closes: https://bugs.gentoo.org/810766
11 Signed-off-by: Naohiro Aota <naota <AT> gentoo.org>
12
13 sys-apps/gpet/{gpet-0.4.ebuild => gpet-0.4-r1.ebuild} | 11 ++++++++++-
14 1 file changed, 10 insertions(+), 1 deletion(-)
15
16 diff --git a/sys-apps/gpet/gpet-0.4.ebuild b/sys-apps/gpet/gpet-0.4-r1.ebuild
17 similarity index 72%
18 rename from sys-apps/gpet/gpet-0.4.ebuild
19 rename to sys-apps/gpet/gpet-0.4-r1.ebuild
20 index 70a0b701a92..520e9504266 100644
21 --- a/sys-apps/gpet/gpet-0.4.ebuild
22 +++ b/sys-apps/gpet/gpet-0.4-r1.ebuild
23 @@ -1,8 +1,10 @@
24 -# Copyright 1999-2020 Gentoo Authors
25 +# Copyright 1999-2021 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=7
29
30 +inherit autotools
31 +
32 DESCRIPTION="GTK+ based TOMOYO policy editor"
33 HOMEPAGE="http://en.sourceforge.jp/projects/gpet/"
34 SRC_URI="mirror://sourceforge.jp/gpet/53178/${P}.tar.bz2"
35 @@ -21,3 +23,10 @@ DEPEND="${RDEPEND}"
36 BDEPEND="
37 dev-util/intltool
38 virtual/pkgconfig"
39 +
40 +src_prepare() {
41 + default
42 +
43 + sed -i -e "/^gpetdocdir =/s!doc/gpet!doc/${P}!" Makefile.am || die
44 + eautoreconf
45 +}