summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-08-31 12:13:20 +0200
committerUlrich Müller <ulm@gentoo.org>2022-08-31 12:26:15 +0200
commitf864d90c13e0c54762adb3065a3841d18c079943 (patch)
tree80c0d86b6f7f30843a0b83cebe761516d0d85188 /app-emacs/navi2ch/navi2ch-1.8.4-r2.ebuild
parentapp-emacs/cycle-buffer: Update to EAPI 8 (diff)
downloadgentoo-f864d90c13e0c54762adb3065a3841d18c079943.tar.gz
gentoo-f864d90c13e0c54762adb3065a3841d18c079943.tar.bz2
gentoo-f864d90c13e0c54762adb3065a3841d18c079943.zip
app-emacs/navi2ch: Update to EAPI 8
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs/navi2ch/navi2ch-1.8.4-r2.ebuild')
-rw-r--r--app-emacs/navi2ch/navi2ch-1.8.4-r2.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/app-emacs/navi2ch/navi2ch-1.8.4-r2.ebuild b/app-emacs/navi2ch/navi2ch-1.8.4-r2.ebuild
new file mode 100644
index 000000000000..b443b899c2af
--- /dev/null
+++ b/app-emacs/navi2ch/navi2ch-1.8.4-r2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+}