diff options
Diffstat (limited to 'app-emacs/navi2ch/navi2ch-1.7.3.ebuild')
-rw-r--r-- | app-emacs/navi2ch/navi2ch-1.7.3.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/app-emacs/navi2ch/navi2ch-1.7.3.ebuild b/app-emacs/navi2ch/navi2ch-1.7.3.ebuild new file mode 100644 index 000000000000..80cf6f2d8101 --- /dev/null +++ b/app-emacs/navi2ch/navi2ch-1.7.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2004 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.3.ebuild,v 1.1 2004/05/05 11:13:39 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/navi2ch/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~alpha ~ppc ~sparc" + +DEPEND="virtual/emacs" + +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 +} + +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 '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 "" +} |