summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-07-24 16:06:22 +0000
committerMamoru Komachi <usata@gentoo.org>2003-07-24 16:06:22 +0000
commita1b2837cac7805581a94213019d69ab11260bc87 (patch)
treed1f9857f8f5213b8d9bf0c5fc75b825e4fc3e48f /app-emacs
parentNew ebuild (diff)
downloadhistorical-a1b2837cac7805581a94213019d69ab11260bc87.tar.gz
historical-a1b2837cac7805581a94213019d69ab11260bc87.tar.bz2
historical-a1b2837cac7805581a94213019d69ab11260bc87.zip
New ebuild
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/navi2ch/Manifest3
-rw-r--r--app-emacs/navi2ch/files/50navi2ch-gentoo.el3
-rw-r--r--app-emacs/navi2ch/files/digest-navi2ch-1.71
-rw-r--r--app-emacs/navi2ch/navi2ch-1.7.ebuild57
4 files changed, 63 insertions, 1 deletions
diff --git a/app-emacs/navi2ch/Manifest b/app-emacs/navi2ch/Manifest
index b0b18b9444f4..6c34ce973187 100644
--- a/app-emacs/navi2ch/Manifest
+++ b/app-emacs/navi2ch/Manifest
@@ -1,3 +1,4 @@
-MD5 d05f5744cc308a58a25fea6139af5149 navi2ch-1.7.ebuild 1377
+MD5 943af6733a258af887765a4ed0118800 navi2ch-1.7.ebuild 1380
+MD5 dc6c17d421ea603ad2c57beb026627a0 ChangeLog 452
MD5 b6d9a432b8f788eb992be7213cc8a249 files/50navi2ch-gentoo.el 99
MD5 e13c53cce969969d53eb4bb59fcc592c files/digest-navi2ch-1.7 63
diff --git a/app-emacs/navi2ch/files/50navi2ch-gentoo.el b/app-emacs/navi2ch/files/50navi2ch-gentoo.el
new file mode 100644
index 000000000000..74e842a4aac0
--- /dev/null
+++ b/app-emacs/navi2ch/files/50navi2ch-gentoo.el
@@ -0,0 +1,3 @@
+;;; navi2ch site-lisp configuration
+
+(autoload 'navi2ch "navi2ch" "Navigator for 2ch for Emacs" t)
diff --git a/app-emacs/navi2ch/files/digest-navi2ch-1.7 b/app-emacs/navi2ch/files/digest-navi2ch-1.7
new file mode 100644
index 000000000000..44f3d9b2d76d
--- /dev/null
+++ b/app-emacs/navi2ch/files/digest-navi2ch-1.7
@@ -0,0 +1 @@
+MD5 e8860e8e6b66550d5e86c519f81fc62e navi2ch-1.7.tar.gz 399073
diff --git a/app-emacs/navi2ch/navi2ch-1.7.ebuild b/app-emacs/navi2ch/navi2ch-1.7.ebuild
new file mode 100644
index 000000000000..b5eb69aa86be
--- /dev/null
+++ b/app-emacs/navi2ch/navi2ch-1.7.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/navi2ch/navi2ch-1.7.ebuild,v 1.1 2003/07/24 16:06:12 usata Exp $
+
+inherit elisp
+
+IUSE=""
+
+DESCRIPTION="Navi2ch is navigator for 2ch which works under many Emacsen"
+HOMEPAGE="http://navi2ch.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~alpha ~ppc ~sparc"
+
+DEPEND="virtual/emacs
+ dev-lisp/mule-ucs"
+
+S=${WORKDIR}/${P}
+SITEFILE=50navi2ch-gentoo.el
+
+src_compile() {
+ econf || die
+ emake < /dev/null || die
+}
+
+src_install() {
+ emake < /dev/null \
+ DESTDIR=${D} lispdir=${SITELISP}/navi2ch install || die
+ elisp-install navi2ch contrib/*.el || die
+ elisp-site-file-install ${FILESDIR}/${SITEFILE} || die
+}
+
+prepall() {
+ einfo "Avoid info gzipping"
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ einfo ""
+ einfo "Please add to your .emacs"
+ einfo "If you use mona-font,"
+ einfo "\t(setq navi2ch-mona-enable t)"
+ einfo "If you use izonmoji-mode,"
+ einfo "\t(require 'un-define)"
+ einfo "\t(require 'izonmoji-mode)"
+ einfo "\t(add-hook 'navi2ch-bm-mode-hook 'izonmoji-mode-on)"
+ einfo "\t(add-hook 'navi2ch-article-mode-hook 'izonmoji-mode-on)"
+ einfo "\t(add-hook 'navi2ch-popup-article-mode-hook 'izonmoji-mode-on)"
+ einfo ""
+}
+
+pkg_postrm() {
+ elisp-site-regen
+}
+