summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-editors/zile/ChangeLog6
-rw-r--r--app-editors/zile/zile-2.3.13.ebuild10
-rw-r--r--app-editors/zile/zile-2.3.14.ebuild10
3 files changed, 21 insertions, 5 deletions
diff --git a/app-editors/zile/ChangeLog b/app-editors/zile/ChangeLog
index 2ff398c2f40e..c54da889cf8f 100644
--- a/app-editors/zile/ChangeLog
+++ b/app-editors/zile/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-editors/zile
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/zile/ChangeLog,v 1.110 2009/12/13 17:03:22 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/zile/ChangeLog,v 1.111 2009/12/27 16:42:23 ulm Exp $
+
+ 27 Dec 2009; Ulrich Mueller <ulm@gentoo.org> zile-2.3.13.ebuild,
+ zile-2.3.14.ebuild:
+ Set /usr/bin/emacs symlink on Live CD, bug 100286.
13 Dec 2009; Raúl Porcel <armin76@gentoo.org> zile-2.3.13.ebuild:
alpha stable wrt #294847
diff --git a/app-editors/zile/zile-2.3.13.ebuild b/app-editors/zile/zile-2.3.13.ebuild
index f8a2d47eebe6..e88bea641eca 100644
--- a/app-editors/zile/zile-2.3.13.ebuild
+++ b/app-editors/zile/zile-2.3.13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/zile/zile-2.3.13.ebuild,v 1.5 2009/12/13 17:03:22 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/zile/zile-2.3.13.ebuild,v 1.6 2009/12/27 16:42:23 ulm Exp $
EAPI=2
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/zile/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 ppc sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="test valgrind"
+IUSE="livecd test valgrind"
RDEPEND="sys-libs/ncurses"
DEPEND="${RDEPEND}
@@ -27,3 +27,9 @@ src_install() {
# FAQ is installed by the build system in /usr/share/zile
dodoc AUTHORS BUGS NEWS README THANKS || die
}
+
+pkg_postinst() {
+ if use livecd; then
+ [ -e "${ROOT}"/usr/bin/emacs ] || ln -s zile "${ROOT}"/usr/bin/emacs
+ fi
+}
diff --git a/app-editors/zile/zile-2.3.14.ebuild b/app-editors/zile/zile-2.3.14.ebuild
index 8be9982028ee..e4113e47dbd5 100644
--- a/app-editors/zile/zile-2.3.14.ebuild
+++ b/app-editors/zile/zile-2.3.14.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/zile/zile-2.3.14.ebuild,v 1.1 2009/12/03 22:27:47 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/zile/zile-2.3.14.ebuild,v 1.2 2009/12/27 16:42:23 ulm Exp $
EAPI=2
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/zile/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="test valgrind"
+IUSE="livecd test valgrind"
RDEPEND="sys-libs/ncurses"
DEPEND="${RDEPEND}
@@ -27,3 +27,9 @@ src_install() {
# FAQ is installed by the build system in /usr/share/zile
dodoc AUTHORS BUGS NEWS README THANKS || die
}
+
+pkg_postinst() {
+ if use livecd; then
+ [ -e "${ROOT}"/usr/bin/emacs ] || ln -s zile "${ROOT}"/usr/bin/emacs
+ fi
+}