summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2013-07-29 21:19:15 +0000
committerUlrich Müller <ulm@gentoo.org>2013-07-29 21:19:15 +0000
commitdb42133f70627b331352ff70fc6d090f46edeb06 (patch)
treeb9d46828bc7aa7770a596b5722e0b0f9aadf8f3d /app-emacs
parentadd bertini license (diff)
downloadgentoo-2-db42133f70627b331352ff70fc6d090f46edeb06.tar.gz
gentoo-2-db42133f70627b331352ff70fc6d090f46edeb06.tar.bz2
gentoo-2-db42133f70627b331352ff70fc6d090f46edeb06.zip
Initial import, bug 474036.
(Portage version: 2.1.12.13/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/d-mode/ChangeLog11
-rw-r--r--app-emacs/d-mode/d-mode-2.0.6.ebuild20
-rw-r--r--app-emacs/d-mode/files/50d-mode-gentoo.el3
-rw-r--r--app-emacs/d-mode/metadata.xml5
4 files changed, 39 insertions, 0 deletions
diff --git a/app-emacs/d-mode/ChangeLog b/app-emacs/d-mode/ChangeLog
new file mode 100644
index 000000000000..181acba2b68b
--- /dev/null
+++ b/app-emacs/d-mode/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-emacs/d-mode
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/d-mode/ChangeLog,v 1.1 2013/07/29 21:19:15 ulm Exp $
+
+*d-mode-2.0.6 (29 Jul 2013)
+
+ 29 Jul 2013; Ulrich Müller <ulm@gentoo.org> +d-mode-2.0.6.ebuild,
+ +files/50d-mode-gentoo.el, +metadata.xml:
+ Initial import. Ebuild and site-init file contributed by Martin von Gagern
+ <Martin.vGagern@gmx.net> in bug 474036, with modifications by me.
+
diff --git a/app-emacs/d-mode/d-mode-2.0.6.ebuild b/app-emacs/d-mode/d-mode-2.0.6.ebuild
new file mode 100644
index 000000000000..b9f640f4d48b
--- /dev/null
+++ b/app-emacs/d-mode/d-mode-2.0.6.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/d-mode/d-mode-2.0.6.ebuild,v 1.1 2013/07/29 21:19:15 ulm Exp $
+
+EAPI=5
+NEED_EMACS=23
+
+inherit elisp
+
+DESCRIPTION="Emacs major mode for editing D code"
+HOMEPAGE="https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode
+ http://www.emacswiki.org/emacs/DMode"
+SRC_URI="https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/Emacs-D-Mode-2.0.6"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/d-mode/files/50d-mode-gentoo.el b/app-emacs/d-mode/files/50d-mode-gentoo.el
new file mode 100644
index 000000000000..6fdf0dd8f397
--- /dev/null
+++ b/app-emacs/d-mode/files/50d-mode-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'd-mode "d-mode" "Major mode for editing D code" t)
+(add-to-list 'auto-mode-alist '("\\.d[i]?\\'" . d-mode))
diff --git a/app-emacs/d-mode/metadata.xml b/app-emacs/d-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/d-mode/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>