summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/rnc-mode')
-rw-r--r--app-emacs/rnc-mode/Manifest3
-rw-r--r--app-emacs/rnc-mode/files/50rnc-mode-gentoo.el7
-rw-r--r--app-emacs/rnc-mode/files/digest-rnc-mode-1.0.3_beta1
-rw-r--r--app-emacs/rnc-mode/rnc-mode-1.0.3_beta.ebuild36
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
+}