Gentoo Archives: gentoo-commits

From: Andrey Utkin <andrey_utkin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/mcabber/files/, net-im/mcabber/
Date: Sun, 23 Sep 2018 01:10:49
Message-Id: 1537664442.208ee92e313849b8def2a05edd9c88b2be4e0322.andrey_utkin@gentoo
1 commit: 208ee92e313849b8def2a05edd9c88b2be4e0322
2 Author: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 22 23:43:16 2018 +0000
4 Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 23 01:00:42 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=208ee92e
7
8 net-im/mcabber: employ readme.gentoo-r1
9
10 Package-Manager: Portage-2.3.48, Repoman-2.3.10
11
12 net-im/mcabber/files/README.gentoo | 17 +++++++++++++++++
13 net-im/mcabber/mcabber-9999.ebuild | 25 ++++---------------------
14 2 files changed, 21 insertions(+), 21 deletions(-)
15
16 diff --git a/net-im/mcabber/files/README.gentoo b/net-im/mcabber/files/README.gentoo
17 new file mode 100644
18 index 00000000000..dc394e6e5a4
19 --- /dev/null
20 +++ b/net-im/mcabber/files/README.gentoo
21 @@ -0,0 +1,17 @@
22 +MCabber requires you to create a subdirectory .mcabber in your home
23 +directory and to place a configuration file there.
24 +An example mcabberrc was installed as part of the documentation.
25 +To create a new mcabberrc based on the example mcabberrc, execute the
26 +following commands:
27 +
28 + mkdir -p ~/.mcabber
29 + bzcat /usr/share/doc/mcabber*/mcabberrc.example.bz2 > ~/.mcabber/mcabberrc
30 +
31 +Then edit ~/.mcabber/mcabberrc with your favorite editor.
32 +
33 +See the CONFIGURATION FILE and FILES sections of the mcabber
34 +manual page (section 1) for more information.
35 +
36 +MCabber supports PGP encryption of messages. See README_PGP.txt for details.
37 +
38 +Check out /usr/share/mcabber/ for contributed themes and event scripts.
39
40 diff --git a/net-im/mcabber/mcabber-9999.ebuild b/net-im/mcabber/mcabber-9999.ebuild
41 index 64bf95a6cad..2f8476b1c21 100644
42 --- a/net-im/mcabber/mcabber-9999.ebuild
43 +++ b/net-im/mcabber/mcabber-9999.ebuild
44 @@ -3,7 +3,7 @@
45
46 EAPI=7
47
48 -inherit flag-o-matic
49 +inherit flag-o-matic readme.gentoo-r1
50
51 DESCRIPTION="A small Jabber console client with various features, like MUC, SSL, PGP"
52 HOMEPAGE="http://mcabber.com/"
53 @@ -90,27 +90,10 @@ src_install() {
54 insinto /usr/share/vim/vimfiles/ftdetect
55 doins mcabber_log-ftdetect.vim
56 fi
57 +
58 + readme.gentoo_create_doc
59 }
60
61 pkg_postinst() {
62 - elog
63 - elog "MCabber requires you to create a subdirectory .mcabber in your home"
64 - elog "directory and to place a configuration file there."
65 - elog "An example mcabberrc was installed as part of the documentation."
66 - elog "To create a new mcabberrc based on the example mcabberrc, execute the"
67 - elog "following commands:"
68 - elog
69 - elog " mkdir -p ~/.mcabber"
70 - elog " bzcat ${EROOT}usr/share/doc/${PF}/mcabberrc.example.bz2 >~/.mcabber/mcabberrc"
71 - elog
72 - elog "Then edit ~/.mcabber/mcabberrc with your favorite editor."
73 - elog
74 - elog "See the CONFIGURATION FILE and FILES sections of the mcabber"
75 - elog "manual page (section 1) for more information."
76 - elog
77 - elog "From version 0.9.0 on, MCabber supports PGP encryption of messages."
78 - elog "See README_PGP.txt for details."
79 - echo
80 - einfo "Check out ${EROOT}usr/share/${PN} for contributed themes and event scripts."
81 - echo
82 + readme.gentoo_print_elog
83 }