summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2002-11-20 05:01:33 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2002-11-20 05:01:33 +0000
commit3ab8c888af6f317bab1f90487cbcdd729b18c570 (patch)
treef7d1b275932c85858c41663f3afd7e76fb0e5931 /app-emacs/inform-mode
parentNew ebuild for Noia icons. (diff)
downloadgentoo-2-3ab8c888af6f317bab1f90487cbcdd729b18c570.tar.gz
gentoo-2-3ab8c888af6f317bab1f90487cbcdd729b18c570.tar.bz2
gentoo-2-3ab8c888af6f317bab1f90487cbcdd729b18c570.zip
initial import
Diffstat (limited to 'app-emacs/inform-mode')
-rw-r--r--app-emacs/inform-mode/ChangeLog12
-rw-r--r--app-emacs/inform-mode/files/50inform-mode-gentoo.el12
-rw-r--r--app-emacs/inform-mode/files/digest-inform-mode-1.5.81
-rw-r--r--app-emacs/inform-mode/inform-mode-1.5.8.ebuild39
4 files changed, 64 insertions, 0 deletions
diff --git a/app-emacs/inform-mode/ChangeLog b/app-emacs/inform-mode/ChangeLog
new file mode 100644
index 000000000000..376d0525971f
--- /dev/null
+++ b/app-emacs/inform-mode/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for app-emacs/inform-mode
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/inform-mode/ChangeLog,v 1.1 2002/11/20 05:01:33 mkennedy Exp $
+
+*inform-mode-1.5.8 (18 Nov 2002)
+
+ 18 Nov 2002; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog,
+ inform-mode-1.5.8.ebuild, files/digest-inform-mode-1.5.8,
+ files/50inform-mode-gentoo.el :
+
+ Initial import. Ebuild contributed by Marshall T. Vandegrift
+ <vandem2@rpi.edu> of bug #10422 fame.
diff --git a/app-emacs/inform-mode/files/50inform-mode-gentoo.el b/app-emacs/inform-mode/files/50inform-mode-gentoo.el
new file mode 100644
index 000000000000..1f8d54f22993
--- /dev/null
+++ b/app-emacs/inform-mode/files/50inform-mode-gentoo.el
@@ -0,0 +1,12 @@
+
+;;; inform-mode site-lisp configuration
+
+(setq load-path (cons "@SITELISP@" load-path))
+
+(autoload 'inform-mode "inform-mode" "Inform editing mode." t)
+(autoload 'inform-maybe-mode "inform-mode" "Inform/C header editing mode.")
+
+(setq auto-mode-alist
+ (append '(("\\.h\\'" . inform-maybe-mode)
+ ("\\.inf\\'" . inform-mode))
+ auto-mode-alist))
diff --git a/app-emacs/inform-mode/files/digest-inform-mode-1.5.8 b/app-emacs/inform-mode/files/digest-inform-mode-1.5.8
new file mode 100644
index 000000000000..6e84ad8e37cb
--- /dev/null
+++ b/app-emacs/inform-mode/files/digest-inform-mode-1.5.8
@@ -0,0 +1 @@
+MD5 b127d7d204e116a0860a7922aa4f2819 inform-mode-1.5.8.tar.bz2 14734
diff --git a/app-emacs/inform-mode/inform-mode-1.5.8.ebuild b/app-emacs/inform-mode/inform-mode-1.5.8.ebuild
new file mode 100644
index 000000000000..b7f53e072d8a
--- /dev/null
+++ b/app-emacs/inform-mode/inform-mode-1.5.8.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/inform-mode/inform-mode-1.5.8.ebuild,v 1.1 2002/11/20 05:01:33 mkennedy Exp $
+
+inherit elisp
+
+IUSE=""
+
+DESCRIPTION="A major mode for editing Inform programs."
+HOMEPAGE="http://rupert-lane.org/inform-mode/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
+
+DEPEND="virtual/emacs"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ emacs --batch -f batch-byte-compile \
+ --no-site-file --no-init-file *.el \
+ || die
+}
+
+src_install() {
+ elisp-install ${PN} *.el *.elc
+ elisp-site-file-install ${FILESDIR}/50inform-mode-gentoo.el
+}
+
+pkg_postinst() {
+ elisp-site-regen
+}
+
+pkg_postrm() {
+ elisp-site-regen
+}