commit:     e5cb0314b08eec74ef3c7a3d08891d05b432ed2f
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 18 13:34:48 2017 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 18 13:35:32 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5cb0314

app-emacs/navi2ch: EAPI bump.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-emacs/navi2ch/navi2ch-1.8.4-r1.ebuild | 45 +++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/app-emacs/navi2ch/navi2ch-1.8.4-r1.ebuild 
b/app-emacs/navi2ch/navi2ch-1.8.4-r1.ebuild
new file mode 100644
index 0000000000..9c439c5ba7
--- /dev/null
+++ b/app-emacs/navi2ch/navi2ch-1.8.4-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit elisp readme.gentoo-r1
+
+DESCRIPTION="A navigator for the Japanese textboard 2ch"
+HOMEPAGE="http://navi2ch.sourceforge.net/";
+SRC_URI="mirror://sourceforge/navi2ch/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+       econf \
+               --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
+               --with-icondir="${EPREFIX}${SITEETC}/${PN}"
+}
+
+src_compile() {
+       default
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+       elisp-install ${PN} contrib/*.el
+       elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+       dodoc ChangeLog* NEWS README TODO
+       newdoc contrib/README README.contrib
+
+       DOC_CONTENTS="Please add the following lines to your ~/.emacs file:
+               \n\nIf you use mona-font:
+               \n\t(setq navi2ch-mona-enable t)
+               \nIf you use izonmoji-mode:
+               \n\t(require 'izonmoji-mode)
+               \n\t(add-hook 'navi2ch-bm-mode-hook 'izonmoji-mode-on)
+               \n\t(add-hook 'navi2ch-article-mode-hook 'izonmoji-mode-on)
+               \n\t(add-hook 'navi2ch-popup-article-mode-hook 
'izonmoji-mode-on)"
+       readme.gentoo_create_doc
+}

Reply via email to