summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2002-11-01 02:52:02 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2002-11-01 02:52:02 +0000
commitce2fa6f6c4951c11ef10627b81603f112c0b62a8 (patch)
tree3f697c6e444c56ff856d2d5e5300c606d2462d12 /app-emacs/mmm-mode
parentmasked app-emacs/monk (incomplete for now) (diff)
downloadhistorical-ce2fa6f6c4951c11ef10627b81603f112c0b62a8.tar.gz
historical-ce2fa6f6c4951c11ef10627b81603f112c0b62a8.tar.bz2
historical-ce2fa6f6c4951c11ef10627b81603f112c0b62a8.zip
looks like an app-emacs/ import to me
Diffstat (limited to 'app-emacs/mmm-mode')
-rw-r--r--app-emacs/mmm-mode/ChangeLog11
-rw-r--r--app-emacs/mmm-mode/files/50mmm-mode-gentoo.el5
-rw-r--r--app-emacs/mmm-mode/files/digest-mmm-mode-0.4.71
-rw-r--r--app-emacs/mmm-mode/mmm-mode-0.4.7.ebuild44
4 files changed, 61 insertions, 0 deletions
diff --git a/app-emacs/mmm-mode/ChangeLog b/app-emacs/mmm-mode/ChangeLog
new file mode 100644
index 000000000000..9a2648bc424c
--- /dev/null
+++ b/app-emacs/mmm-mode/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-emacs/mmm-mode
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/mmm-mode/ChangeLog,v 1.1 2002/11/01 02:52:01 mkennedy Exp $
+
+*mmm-mode-0.4.7 (31 Oct 2002)
+
+ 31 Oct 2002; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog,
+ mmm-mode-0.4.7.ebuild, files/50mmm-mode-gentoo.el,
+ files/digest-mmm-mode-0.4.7 :
+
+ Initial import.
diff --git a/app-emacs/mmm-mode/files/50mmm-mode-gentoo.el b/app-emacs/mmm-mode/files/50mmm-mode-gentoo.el
new file mode 100644
index 000000000000..1aee8e26f313
--- /dev/null
+++ b/app-emacs/mmm-mode/files/50mmm-mode-gentoo.el
@@ -0,0 +1,5 @@
+
+;;; mmm-mode site-lisp configuration
+
+(setq load-path (cons "@SITELISP@" load-path))
+(require 'mmm-auto)
diff --git a/app-emacs/mmm-mode/files/digest-mmm-mode-0.4.7 b/app-emacs/mmm-mode/files/digest-mmm-mode-0.4.7
new file mode 100644
index 000000000000..432a380aa78a
--- /dev/null
+++ b/app-emacs/mmm-mode/files/digest-mmm-mode-0.4.7
@@ -0,0 +1 @@
+MD5 2abfdcaac053e97973f10e9bb06c644e mmm-mode-0.4.7.tar.gz 191146
diff --git a/app-emacs/mmm-mode/mmm-mode-0.4.7.ebuild b/app-emacs/mmm-mode/mmm-mode-0.4.7.ebuild
new file mode 100644
index 000000000000..cfe8306f5e2a
--- /dev/null
+++ b/app-emacs/mmm-mode/mmm-mode-0.4.7.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/mmm-mode/mmm-mode-0.4.7.ebuild,v 1.1 2002/11/01 02:52:01 mkennedy Exp $
+
+inherit elisp
+
+IUSE=""
+
+DESCRIPTION="Enables the user to edit different parts of a file in different major modes"
+HOMEPAGE="http://mmm-mode.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/emacs"
+
+S="${WORKDIR}/${P}"
+
+SITEFILE=50mmm-mode-gentoo.el
+
+src_compile() {
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man || die "./configure failed"
+ make || die
+}
+
+src_install() {
+ elisp-install ${PN} *.el *.elc
+ elisp-site-file-install ${FILESDIR}/${SITEFILE}
+
+ doinfo *.info*
+ dodoc AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README README.Mason TODO
+}
+
+pkg_postinst() {
+ elisp-site-regen
+}
+
+pkg_postrm() {
+ elisp-site-regen
+}