diff options
Diffstat (limited to 'app-editors/mg')
-rw-r--r-- | app-editors/mg/ChangeLog | 6 | ||||
-rw-r--r-- | app-editors/mg/mg-20110120.ebuild | 10 | ||||
-rw-r--r-- | app-editors/mg/mg-20110905.ebuild | 10 |
3 files changed, 21 insertions, 5 deletions
diff --git a/app-editors/mg/ChangeLog b/app-editors/mg/ChangeLog index 8078c5c255e5..a76c2a2aefd4 100644 --- a/app-editors/mg/ChangeLog +++ b/app-editors/mg/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-editors/mg # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/mg/ChangeLog,v 1.33 2011/09/25 17:30:02 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/mg/ChangeLog,v 1.34 2011/09/25 17:49:10 ulm Exp $ + + 25 Sep 2011; Ulrich Mueller <ulm@gentoo.org> mg-20110120.ebuild, + mg-20110905.ebuild: + Set /usr/bin/emacs symlink with USE=livecd. 25 Sep 2011; Raúl Porcel <armin76@gentoo.org> mg-20110120.ebuild, mg-20110905.ebuild: diff --git a/app-editors/mg/mg-20110120.ebuild b/app-editors/mg/mg-20110120.ebuild index 7edcfc922669..457a066ab257 100644 --- a/app-editors/mg/mg-20110120.ebuild +++ b/app-editors/mg/mg-20110120.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/mg/mg-20110120.ebuild,v 1.6 2011/09/25 17:30:02 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/mg/mg-20110120.ebuild,v 1.7 2011/09/25 17:49:10 ulm Exp $ EAPI=3 @@ -13,7 +13,7 @@ SRC_URI="http://homepage.boetes.org/software/mg/${P}.tar.gz" LICENSE="public-domain BSD" SLOT="0" KEYWORDS="alpha amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~x86-macos" -IUSE="" +IUSE="livecd" DEPEND="sys-libs/ncurses" RDEPEND="${DEPEND}" @@ -31,3 +31,9 @@ src_install() { einstall || die dodoc README tutorial || die } + +pkg_postinst() { + if use livecd; then + [[ -e ${EROOT}/usr/bin/emacs ]] || ln -s mg "${EROOT}"/usr/bin/emacs + fi +} diff --git a/app-editors/mg/mg-20110905.ebuild b/app-editors/mg/mg-20110905.ebuild index 1526d50d39f3..4879f74389b5 100644 --- a/app-editors/mg/mg-20110905.ebuild +++ b/app-editors/mg/mg-20110905.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/mg/mg-20110905.ebuild,v 1.2 2011/09/25 17:30:02 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/mg/mg-20110905.ebuild,v 1.3 2011/09/25 17:49:10 ulm Exp $ EAPI=4 @@ -13,7 +13,7 @@ SRC_URI="http://homepage.boetes.org/software/mg/${P}.tar.gz" LICENSE="public-domain BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" -IUSE="" +IUSE="livecd" DEPEND="sys-libs/ncurses" RDEPEND="${DEPEND}" @@ -31,3 +31,9 @@ src_install() { einstall dodoc README tutorial } + +pkg_postinst() { + if use livecd; then + [[ -e ${EROOT}/usr/bin/emacs ]] || ln -s mg "${EROOT}"/usr/bin/emacs + fi +} |