summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2007-06-21 18:10:13 +0000
committerUlrich Müller <ulm@gentoo.org>2007-06-21 18:10:13 +0000
commit986da22b6e5a52e0b413612a015cf13cf2c3e30b (patch)
treecb930ea690fb40e3656f35d07059044261e29c91 /app-emacs/gentoo-syntax
parentnew package, import from sunrise (bug #169754) (diff)
downloadgentoo-2-986da22b6e5a52e0b413612a015cf13cf2c3e30b.tar.gz
gentoo-2-986da22b6e5a52e0b413612a015cf13cf2c3e30b.tar.bz2
gentoo-2-986da22b6e5a52e0b413612a015cf13cf2c3e30b.zip
Move app-emacs/ebuild-mode to app-emacs/gentoo-syntax and version bump.
(Portage version: 2.1.3_rc4)
Diffstat (limited to 'app-emacs/gentoo-syntax')
-rw-r--r--app-emacs/gentoo-syntax/ChangeLog101
-rw-r--r--app-emacs/gentoo-syntax/Manifest44
-rw-r--r--app-emacs/gentoo-syntax/files/50gentoo-syntax-gentoo.el13
-rw-r--r--app-emacs/gentoo-syntax/files/51gentoo-syntax-gentoo.el13
-rw-r--r--app-emacs/gentoo-syntax/files/digest-gentoo-syntax-1.33
-rw-r--r--app-emacs/gentoo-syntax/files/digest-gentoo-syntax-1.5-r33
-rw-r--r--app-emacs/gentoo-syntax/files/digest-gentoo-syntax-1.63
-rw-r--r--app-emacs/gentoo-syntax/files/ebuild-mode-1.5-fix-tabify.patch11
-rw-r--r--app-emacs/gentoo-syntax/gentoo-syntax-1.3.ebuild18
-rw-r--r--app-emacs/gentoo-syntax/gentoo-syntax-1.5-r3.ebuild24
-rw-r--r--app-emacs/gentoo-syntax/gentoo-syntax-1.6.ebuild26
-rw-r--r--app-emacs/gentoo-syntax/metadata.xml5
12 files changed, 264 insertions, 0 deletions
diff --git a/app-emacs/gentoo-syntax/ChangeLog b/app-emacs/gentoo-syntax/ChangeLog
new file mode 100644
index 000000000000..1f188cc7468a
--- /dev/null
+++ b/app-emacs/gentoo-syntax/ChangeLog
@@ -0,0 +1,101 @@
+# ChangeLog for app-emacs/gentoo-syntax
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/gentoo-syntax/ChangeLog,v 1.1 2007/06/21 18:10:13 ulm Exp $
+
+*gentoo-syntax-1.6 (21 Jun 2007)
+
+ 21 Jun 2007; Ulrich Mueller <ulm@gentoo.org>
+ +files/51gentoo-syntax-gentoo.el, +gentoo-syntax-1.6.ebuild:
+ Version bump: Added many keywords; use completing-read for completion of
+ commands; fix key definition for ebuild-mode-map; use compile instead of
+ start-process, inspired by Marien Zwart's ebuild-mode; improve compatibility
+ with Emacs 21 and XEmacs.
+
+*gentoo-syntax-1.5-r3 (21 Jun 2007)
+*gentoo-syntax-1.3 (21 Jun 2007)
+
+ 21 Jun 2007; Ulrich Mueller <ulm@gentoo.org>
+ +files/ebuild-mode-1.5-fix-tabify.patch, +files/50gentoo-syntax-gentoo.el,
+ +metadata.xml, +gentoo-syntax-1.3.ebuild, +gentoo-syntax-1.5-r3.ebuild:
+ Package app-emacs/ebuild-mode moved to app-emacs/gentoo-syntax.
+
+*ebuild-mode-1.5-r3 (21 Jun 2007)
+
+ 21 Jun 2007; Ulrich Mueller <ulm@gentoo.org>
+ files/50ebuild-mode-gentoo.el, -ebuild-mode-1.5-r2.ebuild,
+ +ebuild-mode-1.5-r3.ebuild:
+ Syntax highlighting for init scripts. Submitted by John R. Graham
+ <john_r_graham@mindspring.com>, bug #182636.
+
+*ebuild-mode-1.5-r2 (04 Jun 2007)
+
+ 04 Jun 2007; Ulrich Mueller <ulm@gentoo.org>
+ +files/ebuild-mode-1.5-fix-tabify.patch, -ebuild-mode-1.5-r1.ebuild,
+ +ebuild-mode-1.5-r2.ebuild:
+ Don't destroy all whitespace when tabifying.
+
+ 19 Apr 2007; Christian Faulhammer <opfer@gentoo.org>
+ ebuild-mode-1.3.ebuild, ebuild-mode-1.5-r1.ebuild:
+ Change HOMEPAGE to the new project page
+
+*ebuild-mode-1.5-r1 (16 Apr 2007)
+
+ 16 Apr 2007; Christian Faulhammer <opfer@gentoo.org>
+ +ebuild-mode-1.5-r1.ebuild:
+ revision bump, some minor improvements
+
+ 23 Feb 2007; Christian Faulhammer <opfer@gentoo.org>
+ -ebuild-mode-1.1.ebuild:
+ clean up
+
+ 18 Feb 2007; Matti Bickel <mabi@gentoo.org> ebuild-mode-1.3.ebuild:
+ keyworded ~ppc (bug #163537)
+
+*ebuild-mode-1.3 (15 Feb 2007)
+
+ 15 Feb 2007; Christian Faulhammer <opfer@gentoo.org>
+ -ebuild-mode-1.2.ebuild, +ebuild-mode-1.3.ebuild:
+ version bump: highlight elog (bug 161121), and add ebuild-mode-hook for
+ users (thanks to Davide Angelocola <davide.angelocola@tiscali.it>); remove
+ old version
+
+ 02 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> ebuild-mode-1.2.ebuild:
+ Add ~sparc-fbsd keyword.
+
+*ebuild-mode-1.2 (15 Dec 2006)
+
+ 15 Dec 2006; Matthew Kennedy <mkennedy@gentoo.org>
+ +ebuild-mode-1.2.ebuild:
+ Add Diego's ebuild command functions and key bindings.
+
+ 26 Nov 2006; Christian Faulhammer <opfer@gentoo.org>
+ ebuild-mode-1.1.ebuild:
+ readded ~amd64 and ~x86-fbsd, got lost in the version bump
+
+ 25 Nov 2006; Matthew Kennedy <mkennedy@gentoo.org>
+ files/50ebuild-mode-gentoo.el:
+ Include autoloads in the site-init.
+
+ 25 Nov 2006; Matthew Kennedy <mkennedy@gentoo.org>
+ files/digest-ebuild-mode-1.1, Manifest:
+ Digest fix.
+
+*ebuild-mode-1.1 (25 Nov 2006)
+
+ 25 Nov 2006; Matthew Kennedy <mkennedy@gentoo.org>
+ files/50ebuild-mode-gentoo.el, -ebuild-mode-1.0.ebuild,
+ +ebuild-mode-1.1.ebuild:
+ New upstream version; Supports eselect modules.
+
+ 25 Nov 2006; Diego Pettenò <flameeyes@gentoo.org> ebuild-mode-1.0.ebuild:
+ Add ~x86-fbsd keyword.
+
+ 25 Nov 2006; Diego Pettenò <flameeyes@gentoo.org> ebuild-mode-1.0.ebuild:
+ Add ~amd64 keyword.
+
+*ebuild-mode-1.0 (25 Nov 2006)
+
+ 25 Nov 2006; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/50ebuild-mode-gentoo.el, +metadata.xml, +ebuild-mode-1.0.ebuild:
+ Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org>.
+
diff --git a/app-emacs/gentoo-syntax/Manifest b/app-emacs/gentoo-syntax/Manifest
new file mode 100644
index 000000000000..809d14b694f0
--- /dev/null
+++ b/app-emacs/gentoo-syntax/Manifest
@@ -0,0 +1,44 @@
+AUX 50gentoo-syntax-gentoo.el 510 RMD160 bdb8ff682d9864125d0ce2dffd69914b42a217b5 SHA1 ef564348a3ee1ad3c2e01ddd7d16ded6a31938d6 SHA256 55d155bbbf315037bd2b9647e9d7162d08a66dee3d6a77c07c5f88c896c1be3a
+MD5 b78f4b4cb7b7e0377d6146383f908553 files/50gentoo-syntax-gentoo.el 510
+RMD160 bdb8ff682d9864125d0ce2dffd69914b42a217b5 files/50gentoo-syntax-gentoo.el 510
+SHA256 55d155bbbf315037bd2b9647e9d7162d08a66dee3d6a77c07c5f88c896c1be3a files/50gentoo-syntax-gentoo.el 510
+AUX 51gentoo-syntax-gentoo.el 514 RMD160 79110b7b8565dec4901178edaebf03bc5f9ae63b SHA1 7d08ccf2f17e91d7992643af37eb94e8f6802ee1 SHA256 738f9b7526768300d9f1ecca4bb30e4af16d967e869024c612e34009b6ecd472
+MD5 647fd52bcd9ec812da82c30ba424ae36 files/51gentoo-syntax-gentoo.el 514
+RMD160 79110b7b8565dec4901178edaebf03bc5f9ae63b files/51gentoo-syntax-gentoo.el 514
+SHA256 738f9b7526768300d9f1ecca4bb30e4af16d967e869024c612e34009b6ecd472 files/51gentoo-syntax-gentoo.el 514
+AUX ebuild-mode-1.5-fix-tabify.patch 332 RMD160 e434278ccfff914df899d617a90fa5ceae3a67eb SHA1 d8925f60770cc62cd73502eb5e495792ef7c3747 SHA256 831f223a59c89a61473a0286731a44c1fbdd924bdc7fcea735d69e8ebeb1f00c
+MD5 8c4293c20ddaf13b2b657068f008088c files/ebuild-mode-1.5-fix-tabify.patch 332
+RMD160 e434278ccfff914df899d617a90fa5ceae3a67eb files/ebuild-mode-1.5-fix-tabify.patch 332
+SHA256 831f223a59c89a61473a0286731a44c1fbdd924bdc7fcea735d69e8ebeb1f00c files/ebuild-mode-1.5-fix-tabify.patch 332
+DIST ebuild-mode-1.3.tar.bz2 2260 RMD160 469b6b9755e7d1250ffc3d44cd6f2e1e1dae1033 SHA1 9f219f2fa6b8034b33489a57024e62185eca8e63 SHA256 95cdae9ca223b2ac4ce4fba475459d5bdb8f5d1d59f482030e41ed9fefd1c8b2
+DIST ebuild-mode-1.5.tar.bz2 2510 RMD160 43308f4936225ad83d8cfbb188eda06eb455f98d SHA1 74242ad42c2b7d9d77641c3362aa9b4f9e2a5367 SHA256 e2a13679c0a16898573624bd521b25c5162272e3e073b971246173d8766286cc
+DIST gentoo-syntax-1.6.el.bz2 3724 RMD160 2ed931013c7801dd4f49b4f0be8a76234d5937ad SHA1 168ba1d46f2e0908e832c7bb49ecfe267f203a7e SHA256 b72f34f7e6dde499220f5e94c117b905183feaa1fdeff599735a4127dad91567
+EBUILD gentoo-syntax-1.3.ebuild 578 RMD160 6e40b972a0e81efce2b57762282f6ea5ad6da6af SHA1 ffd2cacf2b50be4f0dc676e7476ab550abcd3f01 SHA256 b24047f89efeff78d87a2e65c644d725f21c87a5c843e970184e3029d366a935
+MD5 3fe45577de9d972bfb9978f5b8477671 gentoo-syntax-1.3.ebuild 578
+RMD160 6e40b972a0e81efce2b57762282f6ea5ad6da6af gentoo-syntax-1.3.ebuild 578
+SHA256 b24047f89efeff78d87a2e65c644d725f21c87a5c843e970184e3029d366a935 gentoo-syntax-1.3.ebuild 578
+EBUILD gentoo-syntax-1.5-r3.ebuild 675 RMD160 3a41dc84cbfa152e597aec71c3477d616e0b7382 SHA1 490a3d2263aacf0f40949239fafc11dc7054e2ba SHA256 222060fed86f3f6e75de8077d81d63f3b11a362e7b6f2d0df46a564b0d3a1e00
+MD5 aa7604ff31899670df39c1a86a97f238 gentoo-syntax-1.5-r3.ebuild 675
+RMD160 3a41dc84cbfa152e597aec71c3477d616e0b7382 gentoo-syntax-1.5-r3.ebuild 675
+SHA256 222060fed86f3f6e75de8077d81d63f3b11a362e7b6f2d0df46a564b0d3a1e00 gentoo-syntax-1.5-r3.ebuild 675
+EBUILD gentoo-syntax-1.6.ebuild 699 RMD160 bcf9eba90c2256cddc0b2414c1c000845c839fb6 SHA1 61cc2ad9456d18e9a8f1648d4a65834ff8f24555 SHA256 69cb02595d2dcabc8a720a8116a9bdc5f9bbaaa2d2f386a90344a714043e6f39
+MD5 0a5e52d139a804db41b3a588ee5ab03e gentoo-syntax-1.6.ebuild 699
+RMD160 bcf9eba90c2256cddc0b2414c1c000845c839fb6 gentoo-syntax-1.6.ebuild 699
+SHA256 69cb02595d2dcabc8a720a8116a9bdc5f9bbaaa2d2f386a90344a714043e6f39 gentoo-syntax-1.6.ebuild 699
+MISC ChangeLog 3601 RMD160 7646c8150940d45f55c59a0910b53cf9e0531587 SHA1 e476432e62355cfda337822c0ece3d3ca829fda3 SHA256 a0ca13caa02e2ec6b279a0a1ffcafc710d830efd64b0cc122f4a5248c4382abd
+MD5 b36c06c7282fb94c75c68d7e5b4b02b2 ChangeLog 3601
+RMD160 7646c8150940d45f55c59a0910b53cf9e0531587 ChangeLog 3601
+SHA256 a0ca13caa02e2ec6b279a0a1ffcafc710d830efd64b0cc122f4a5248c4382abd ChangeLog 3601
+MISC metadata.xml 158 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 SHA1 61f6eff9729cd87a725c2a70c81aca4270a17fc4 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab
+MD5 fcd33d07e4ee719b01157946734f4fe8 metadata.xml 158
+RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 metadata.xml 158
+SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab metadata.xml 158
+MD5 6d13dd5f34f63fb539fae059a2667eef files/digest-gentoo-syntax-1.3 244
+RMD160 0284f0b5a9b1f8d6ae74e139527c105efadec81c files/digest-gentoo-syntax-1.3 244
+SHA256 8486cf23fd2890ff5c0e5ece74daf47bf3c4f630257ab8e3b9170954a236f51a files/digest-gentoo-syntax-1.3 244
+MD5 361e98d100c52a26d7ab2a34ec82455d files/digest-gentoo-syntax-1.5-r3 244
+RMD160 11d1a2b39abc43431e87a5c574f94f2ed6ce7920 files/digest-gentoo-syntax-1.5-r3 244
+SHA256 03c8cbe3962f692e3970a2c0d19edb2fb1d4911b6da0db8670c53487b7bd9a70 files/digest-gentoo-syntax-1.5-r3 244
+MD5 3e659698f4b7600ad84aa5a57ae56fd2 files/digest-gentoo-syntax-1.6 247
+RMD160 7cd53346ec9c2cc634f762165a87ff038812ef62 files/digest-gentoo-syntax-1.6 247
+SHA256 d1c718e6e1722525dffac9a9d343b40983a590b9f26e548349740625f3b8768a files/digest-gentoo-syntax-1.6 247
diff --git a/app-emacs/gentoo-syntax/files/50gentoo-syntax-gentoo.el b/app-emacs/gentoo-syntax/files/50gentoo-syntax-gentoo.el
new file mode 100644
index 000000000000..48f2dafe8e8a
--- /dev/null
+++ b/app-emacs/gentoo-syntax/files/50gentoo-syntax-gentoo.el
@@ -0,0 +1,13 @@
+
+;;; site-lisp configuration for gentoo-syntax
+
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'ebuild-mode "ebuild-mode"
+ "Major mode for Portage .ebuild and .eclass files." t)
+(autoload 'eselect-mode "ebuild-mode" "Major mode for .eselect files." t)
+
+(add-to-list 'auto-mode-alist '("\\.ebuild\\'" . ebuild-mode))
+(add-to-list 'auto-mode-alist '("\\.eclass\\'" . ebuild-mode))
+(add-to-list 'auto-mode-alist '("\\.eselect\\'" . eselect-mode))
+(add-to-list 'interpreter-mode-alist '("runscript" . sh-mode))
diff --git a/app-emacs/gentoo-syntax/files/51gentoo-syntax-gentoo.el b/app-emacs/gentoo-syntax/files/51gentoo-syntax-gentoo.el
new file mode 100644
index 000000000000..ea41aaa3a379
--- /dev/null
+++ b/app-emacs/gentoo-syntax/files/51gentoo-syntax-gentoo.el
@@ -0,0 +1,13 @@
+
+;;; site-lisp configuration for gentoo-syntax
+
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'ebuild-mode "gentoo-syntax"
+ "Major mode for Portage .ebuild and .eclass files." t)
+(autoload 'eselect-mode "gentoo-syntax" "Major mode for .eselect files." t)
+
+(add-to-list 'auto-mode-alist '("\\.ebuild\\'" . ebuild-mode))
+(add-to-list 'auto-mode-alist '("\\.eclass\\'" . ebuild-mode))
+(add-to-list 'auto-mode-alist '("\\.eselect\\'" . eselect-mode))
+(add-to-list 'interpreter-mode-alist '("runscript" . sh-mode))
diff --git a/app-emacs/gentoo-syntax/files/digest-gentoo-syntax-1.3 b/app-emacs/gentoo-syntax/files/digest-gentoo-syntax-1.3
new file mode 100644
index 000000000000..7b6f0df2a931
--- /dev/null
+++ b/app-emacs/gentoo-syntax/files/digest-gentoo-syntax-1.3
@@ -0,0 +1,3 @@
+MD5 c2016df1c53df728a24702ccda45e318 ebuild-mode-1.3.tar.bz2 2260
+RMD160 469b6b9755e7d1250ffc3d44cd6f2e1e1dae1033 ebuild-mode-1.3.tar.bz2 2260
+SHA256 95cdae9ca223b2ac4ce4fba475459d5bdb8f5d1d59f482030e41ed9fefd1c8b2 ebuild-mode-1.3.tar.bz2 2260
diff --git a/app-emacs/gentoo-syntax/files/digest-gentoo-syntax-1.5-r3 b/app-emacs/gentoo-syntax/files/digest-gentoo-syntax-1.5-r3
new file mode 100644
index 000000000000..b0854a6d53bd
--- /dev/null
+++ b/app-emacs/gentoo-syntax/files/digest-gentoo-syntax-1.5-r3
@@ -0,0 +1,3 @@
+MD5 b893cc4d87b77a405e55af5d4f9deba5 ebuild-mode-1.5.tar.bz2 2510
+RMD160 43308f4936225ad83d8cfbb188eda06eb455f98d ebuild-mode-1.5.tar.bz2 2510
+SHA256 e2a13679c0a16898573624bd521b25c5162272e3e073b971246173d8766286cc ebuild-mode-1.5.tar.bz2 2510
diff --git a/app-emacs/gentoo-syntax/files/digest-gentoo-syntax-1.6 b/app-emacs/gentoo-syntax/files/digest-gentoo-syntax-1.6
new file mode 100644
index 000000000000..c88ce8d22e0d
--- /dev/null
+++ b/app-emacs/gentoo-syntax/files/digest-gentoo-syntax-1.6
@@ -0,0 +1,3 @@
+MD5 c6beb74102dba8ea11663904644fdcee gentoo-syntax-1.6.el.bz2 3724
+RMD160 2ed931013c7801dd4f49b4f0be8a76234d5937ad gentoo-syntax-1.6.el.bz2 3724
+SHA256 b72f34f7e6dde499220f5e94c117b905183feaa1fdeff599735a4127dad91567 gentoo-syntax-1.6.el.bz2 3724
diff --git a/app-emacs/gentoo-syntax/files/ebuild-mode-1.5-fix-tabify.patch b/app-emacs/gentoo-syntax/files/ebuild-mode-1.5-fix-tabify.patch
new file mode 100644
index 000000000000..44e3a079a735
--- /dev/null
+++ b/app-emacs/gentoo-syntax/files/ebuild-mode-1.5-fix-tabify.patch
@@ -0,0 +1,11 @@
+--- ebuild-mode.el~ 2007-03-22 16:02:50.000000000 +0100
++++ ebuild-mode.el 2007-06-05 00:21:29.000000000 +0200
+@@ -72,7 +72,7 @@
+ face))
+
+ (defun ebuild-mode-tabify ()
+- (save-excursion
++ (let ((tabify-regexp "^\t* [ \t]+"))
+ (tabify (point-min) (point-max))))
+
+ (define-derived-mode ebuild-mode shell-script-mode "Ebuild"
diff --git a/app-emacs/gentoo-syntax/gentoo-syntax-1.3.ebuild b/app-emacs/gentoo-syntax/gentoo-syntax-1.3.ebuild
new file mode 100644
index 000000000000..510baf2738fc
--- /dev/null
+++ b/app-emacs/gentoo-syntax/gentoo-syntax-1.3.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/gentoo-syntax/gentoo-syntax-1.3.ebuild,v 1.1 2007/06/21 18:10:13 ulm Exp $
+
+inherit elisp
+
+MY_P=ebuild-mode-${PV}
+DESCRIPTION="An Emacs mode for editing Portage .ebuild, .eclass and .eselect files"
+HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/"
+SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+SITEFILE=50${PN}-gentoo.el
diff --git a/app-emacs/gentoo-syntax/gentoo-syntax-1.5-r3.ebuild b/app-emacs/gentoo-syntax/gentoo-syntax-1.5-r3.ebuild
new file mode 100644
index 000000000000..970dae8a0527
--- /dev/null
+++ b/app-emacs/gentoo-syntax/gentoo-syntax-1.5-r3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/gentoo-syntax/gentoo-syntax-1.5-r3.ebuild,v 1.1 2007/06/21 18:10:13 ulm Exp $
+
+inherit elisp eutils
+
+MY_P=ebuild-mode-${PV}
+DESCRIPTION="An Emacs mode for editing Portage .ebuild, .eclass and .eselect files"
+HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/"
+SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+SITEFILE=50${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${MY_P}-fix-tabify.patch"
+}
diff --git a/app-emacs/gentoo-syntax/gentoo-syntax-1.6.ebuild b/app-emacs/gentoo-syntax/gentoo-syntax-1.6.ebuild
new file mode 100644
index 000000000000..b59c75559f82
--- /dev/null
+++ b/app-emacs/gentoo-syntax/gentoo-syntax-1.6.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/gentoo-syntax/gentoo-syntax-1.6.ebuild,v 1.1 2007/06/21 18:10:13 ulm Exp $
+
+inherit elisp
+
+DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
+HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/"
+SRC_URI="mirror://gentoo/${P}.el.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE=""
+
+SIMPLE_ELISP=t
+SITEFILE=51${PN}-gentoo.el
+
+src_install() {
+ elisp-install ${PN} *.el *.elc
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ # the following is for backwards compatibility
+ dosym gentoo-syntax.el ${SITELISP}/${PN}/ebuild-mode.el
+ dosym gentoo-syntax.elc ${SITELISP}/${PN}/ebuild-mode.elc
+}
diff --git a/app-emacs/gentoo-syntax/metadata.xml b/app-emacs/gentoo-syntax/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/gentoo-syntax/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>