summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Utkin <andrey_utkin@gentoo.org>2018-09-23 00:43:16 +0100
committerAndrey Utkin <andrey_utkin@gentoo.org>2018-09-23 02:00:42 +0100
commit208ee92e313849b8def2a05edd9c88b2be4e0322 (patch)
treeec4200ec3f12711a7ec464205c4b43a6f282e7b1 /net-im/mcabber
parentnet-im/mcabber: 9999: include non-live versions logic (diff)
downloadgentoo-208ee92e313849b8def2a05edd9c88b2be4e0322.tar.gz
gentoo-208ee92e313849b8def2a05edd9c88b2be4e0322.tar.bz2
gentoo-208ee92e313849b8def2a05edd9c88b2be4e0322.zip
net-im/mcabber: employ readme.gentoo-r1
Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'net-im/mcabber')
-rw-r--r--net-im/mcabber/files/README.gentoo17
-rw-r--r--net-im/mcabber/mcabber-9999.ebuild25
2 files changed, 21 insertions, 21 deletions
diff --git a/net-im/mcabber/files/README.gentoo b/net-im/mcabber/files/README.gentoo
new file mode 100644
index 000000000000..dc394e6e5a4a
--- /dev/null
+++ b/net-im/mcabber/files/README.gentoo
@@ -0,0 +1,17 @@
+MCabber requires you to create a subdirectory .mcabber in your home
+directory and to place a configuration file there.
+An example mcabberrc was installed as part of the documentation.
+To create a new mcabberrc based on the example mcabberrc, execute the
+following commands:
+
+ mkdir -p ~/.mcabber
+ bzcat /usr/share/doc/mcabber*/mcabberrc.example.bz2 > ~/.mcabber/mcabberrc
+
+Then edit ~/.mcabber/mcabberrc with your favorite editor.
+
+See the CONFIGURATION FILE and FILES sections of the mcabber
+manual page (section 1) for more information.
+
+MCabber supports PGP encryption of messages. See README_PGP.txt for details.
+
+Check out /usr/share/mcabber/ for contributed themes and event scripts.
diff --git a/net-im/mcabber/mcabber-9999.ebuild b/net-im/mcabber/mcabber-9999.ebuild
index 64bf95a6cad0..2f8476b1c214 100644
--- a/net-im/mcabber/mcabber-9999.ebuild
+++ b/net-im/mcabber/mcabber-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit flag-o-matic
+inherit flag-o-matic readme.gentoo-r1
DESCRIPTION="A small Jabber console client with various features, like MUC, SSL, PGP"
HOMEPAGE="http://mcabber.com/"
@@ -90,27 +90,10 @@ src_install() {
insinto /usr/share/vim/vimfiles/ftdetect
doins mcabber_log-ftdetect.vim
fi
+
+ readme.gentoo_create_doc
}
pkg_postinst() {
- elog
- elog "MCabber requires you to create a subdirectory .mcabber in your home"
- elog "directory and to place a configuration file there."
- elog "An example mcabberrc was installed as part of the documentation."
- elog "To create a new mcabberrc based on the example mcabberrc, execute the"
- elog "following commands:"
- elog
- elog " mkdir -p ~/.mcabber"
- elog " bzcat ${EROOT}usr/share/doc/${PF}/mcabberrc.example.bz2 >~/.mcabber/mcabberrc"
- elog
- elog "Then edit ~/.mcabber/mcabberrc with your favorite editor."
- elog
- elog "See the CONFIGURATION FILE and FILES sections of the mcabber"
- elog "manual page (section 1) for more information."
- elog
- elog "From version 0.9.0 on, MCabber supports PGP encryption of messages."
- elog "See README_PGP.txt for details."
- echo
- einfo "Check out ${EROOT}usr/share/${PN} for contributed themes and event scripts."
- echo
+ readme.gentoo_print_elog
}