diff options
author | Gunnar Wrobel <wrobel@gentoo.org> | 2004-09-23 19:58:50 +0000 |
---|---|---|
committer | Gunnar Wrobel <wrobel@gentoo.org> | 2004-09-23 19:58:50 +0000 |
commit | c9389976abce96118b87c54dc41ff6da6969da5c (patch) | |
tree | 73e8ebec4fbedada75851ee0ce857a36d05dac01 /app-emacs/rnc-mode | |
parent | Final knowledgeTree ebuild (diff) | |
download | overlay-c9389976abce96118b87c54dc41ff6da6969da5c.tar.gz overlay-c9389976abce96118b87c54dc41ff6da6969da5c.tar.bz2 overlay-c9389976abce96118b87c54dc41ff6da6969da5c.zip |
Added the emacs rnc-mode
svn path=/; revision=55
Diffstat (limited to 'app-emacs/rnc-mode')
-rw-r--r-- | app-emacs/rnc-mode/Manifest | 3 | ||||
-rw-r--r-- | app-emacs/rnc-mode/files/50rnc-mode-gentoo.el | 7 | ||||
-rw-r--r-- | app-emacs/rnc-mode/files/digest-rnc-mode-1.0.3_beta | 1 | ||||
-rw-r--r-- | app-emacs/rnc-mode/rnc-mode-1.0.3_beta.ebuild | 36 |
4 files changed, 47 insertions, 0 deletions
diff --git a/app-emacs/rnc-mode/Manifest b/app-emacs/rnc-mode/Manifest new file mode 100644 index 0000000..1dd2d5c --- /dev/null +++ b/app-emacs/rnc-mode/Manifest @@ -0,0 +1,3 @@ +MD5 f79ea9487add611ae60ad07a35bc29c7 rnc-mode-1.0.3_beta.ebuild 698 +MD5 ebb3a946ae8fe46a91772ee5024aca6a files/50rnc-mode-gentoo.el 145 +MD5 936bd7dceb2b37f2b40e76268bc8993f files/digest-rnc-mode-1.0.3_beta 60 diff --git a/app-emacs/rnc-mode/files/50rnc-mode-gentoo.el b/app-emacs/rnc-mode/files/50rnc-mode-gentoo.el new file mode 100644 index 0000000..8a27348 --- /dev/null +++ b/app-emacs/rnc-mode/files/50rnc-mode-gentoo.el @@ -0,0 +1,7 @@ + +;;; rnc-mode site-lisp configuration + +(require 'rnc-mode) + +(setq auto-mode-alist + (cons '("\\.rnc\\'" . rnc-mode) auto-mode-alist)) diff --git a/app-emacs/rnc-mode/files/digest-rnc-mode-1.0.3_beta b/app-emacs/rnc-mode/files/digest-rnc-mode-1.0.3_beta new file mode 100644 index 0000000..c3412aa --- /dev/null +++ b/app-emacs/rnc-mode/files/digest-rnc-mode-1.0.3_beta @@ -0,0 +1 @@ +MD5 f3e9695d02c8ed319981e4053d4e574c RncMode-1_0b3.tgz 3420 diff --git a/app-emacs/rnc-mode/rnc-mode-1.0.3_beta.ebuild b/app-emacs/rnc-mode/rnc-mode-1.0.3_beta.ebuild new file mode 100644 index 0000000..62e9b7a --- /dev/null +++ b/app-emacs/rnc-mode/rnc-mode-1.0.3_beta.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit elisp + +IUSE="" + +DESCRIPTION="An emacs mode for editing Relax NG compact schema files." +HOMEPAGE="http://www.pantor.com/" +SRC_URI="http://www.pantor.com/RncMode-1_0b3.tgz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="virtual/emacs" + +SITEFILE=50rnc-mode-gentoo.el +S="${WORKDIR}" + +src_compile() { + elisp-compile *.el || die +} + +src_install() { + elisp-install ${PN} *.el *.elc + elisp-site-file-install ${FILESDIR}/${SITEFILE} +} + +pkg_postinst() { + elisp-site-regen + einfo "Please see ${SITELISP}/${PN}/rnc-mode.el for the complete documentation." +} + +pkg_postrm() { + elisp-site-regen +} |