summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2007-03-24 07:08:36 +0000
committerUlrich Müller <ulm@gentoo.org>2007-03-24 07:08:36 +0000
commit4d1af42fabcb0f58250f14ea8bfe13b309e9f8d8 (patch)
treeab7413f7a0cf1c0ac55d51c71877db6d8c4e7d43 /app-admin/eselect-emacs/eselect-emacs-0.5.ebuild
parentManifest files updated (tilde entries removed) (diff)
downloademacs-4d1af42fabcb0f58250f14ea8bfe13b309e9f8d8.tar.gz
emacs-4d1af42fabcb0f58250f14ea8bfe13b309e9f8d8.tar.bz2
emacs-4d1af42fabcb0f58250f14ea8bfe13b309e9f8d8.zip
eselect-emacs-0.5.ebuild
svn path=/emacs-overlay/; revision=150
Diffstat (limited to 'app-admin/eselect-emacs/eselect-emacs-0.5.ebuild')
-rw-r--r--app-admin/eselect-emacs/eselect-emacs-0.5.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-admin/eselect-emacs/eselect-emacs-0.5.ebuild b/app-admin/eselect-emacs/eselect-emacs-0.5.ebuild
new file mode 100644
index 0000000..001f24b
--- /dev/null
+++ b/app-admin/eselect-emacs/eselect-emacs-0.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils fdo-mime
+
+DESCRIPTION="Manages the /usr/bin/emacs symlink"
+HOMEPAGE="http://www.gentoo.org/"
+#SRC_URI="mirror://gentoo/${P}.tar.bz2"
+SRC_URI="http://wwwa1.kph.uni-mainz.de/users/ulm/gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="X"
+
+RDEPEND=">=app-admin/eselect-1.0.7"
+
+src_install() {
+ if use X; then
+ domenu emacs.desktop emacsclient.desktop
+ doicon emacs.png
+ fi
+ insinto /usr/share/eselect/modules
+ doins emacs.eselect || die "doins failed"
+}
+
+pkg_postinst() {
+ use X && fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ use X && fdo-mime_desktop_database_update
+}