summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2010-01-31 19:40:09 +0000
committerUlrich Müller <ulm@gentoo.org>2010-01-31 19:40:09 +0000
commitd46321a28c56bb1815733566fb3fb69929d87fb2 (patch)
tree84e4e4f6f38dfb17449eb814a92c6eab633c6c4e /app-emacs
parentmod_fcgid bump (diff)
downloadgentoo-2-d46321a28c56bb1815733566fb3fb69929d87fb2.tar.gz
gentoo-2-d46321a28c56bb1815733566fb3fb69929d87fb2.tar.bz2
gentoo-2-d46321a28c56bb1815733566fb3fb69929d87fb2.zip
Add prefix keywords, change EAPI to 3.
(Portage version: 2.2_rc62/cvs/Linux i686)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/navi2ch/ChangeLog9
-rw-r--r--app-emacs/navi2ch/files/50navi2ch-gentoo.el3
-rw-r--r--app-emacs/navi2ch/navi2ch-1.8.3-r1.ebuild51
3 files changed, 58 insertions, 5 deletions
diff --git a/app-emacs/navi2ch/ChangeLog b/app-emacs/navi2ch/ChangeLog
index 015157d7a6ee..935ccf52f0e1 100644
--- a/app-emacs/navi2ch/ChangeLog
+++ b/app-emacs/navi2ch/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emacs/navi2ch
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/navi2ch/ChangeLog,v 1.59 2009/08/31 18:09:55 fauli Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/navi2ch/ChangeLog,v 1.60 2010/01/31 19:40:08 ulm Exp $
+
+*navi2ch-1.8.3-r1 (31 Jan 2010)
+
+ 31 Jan 2010; Ulrich Mueller <ulm@gentoo.org> +navi2ch-1.8.3-r1.ebuild:
+ Add prefix keywords, change EAPI to 3.
31 Aug 2009; Christian Faulhammer <fauli@gentoo.org>
-navi2ch-1.8.1.ebuild, -navi2ch-1.8.2.ebuild:
diff --git a/app-emacs/navi2ch/files/50navi2ch-gentoo.el b/app-emacs/navi2ch/files/50navi2ch-gentoo.el
index d655be00135f..512b80d45248 100644
--- a/app-emacs/navi2ch/files/50navi2ch-gentoo.el
+++ b/app-emacs/navi2ch/files/50navi2ch-gentoo.el
@@ -1,5 +1,2 @@
-
-;;; navi2ch site-lisp configuration
-
(add-to-list 'load-path "@SITELISP@")
(autoload 'navi2ch "navi2ch" "Navigator for 2ch for Emacs." t)
diff --git a/app-emacs/navi2ch/navi2ch-1.8.3-r1.ebuild b/app-emacs/navi2ch/navi2ch-1.8.3-r1.ebuild
new file mode 100644
index 000000000000..45dd15063239
--- /dev/null
+++ b/app-emacs/navi2ch/navi2ch-1.8.3-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/navi2ch/navi2ch-1.8.3-r1.ebuild,v 1.1 2010/01/31 19:40:08 ulm Exp $
+
+EAPI=3
+
+inherit elisp
+
+DESCRIPTION="A navigator for 2ch"
+HOMEPAGE="http://navi2ch.sourceforge.net/"
+SRC_URI="mirror://sourceforge/navi2ch/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ econf \
+ --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ --with-icondir="${EPREFIX}${SITEETC}/${PN}"
+}
+
+# This is NOT redundant, elisp.eclass redefines src_compile
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ elisp-install ${PN} contrib/*.el || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ dodoc ChangeLog* NEWS README TODO || die
+ newdoc contrib/README README.contrib || die
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ elog
+ elog "Please add to your ~/.emacs"
+ elog "If you use mona-font,"
+ elog "\t(setq navi2ch-mona-enable t)"
+ elog "If you use izonmoji-mode,"
+ elog "\t(require 'izonmoji-mode)"
+ elog "\t(add-hook 'navi2ch-bm-mode-hook 'izonmoji-mode-on)"
+ elog "\t(add-hook 'navi2ch-article-mode-hook 'izonmoji-mode-on)"
+ elog "\t(add-hook 'navi2ch-popup-article-mode-hook 'izonmoji-mode-on)"
+ elog
+}