summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2011-09-25 17:49:10 +0000
committerUlrich Müller <ulm@gentoo.org>2011-09-25 17:49:10 +0000
commit7edd19cf1f9acab62e77656bafa3c1d173db89a7 (patch)
tree74f0a44e9aca1ea1f832f6f3240ed57783b97123 /app-editors/mg
parentDrop alpha keywords (diff)
downloadhistorical-7edd19cf1f9acab62e77656bafa3c1d173db89a7.tar.gz
historical-7edd19cf1f9acab62e77656bafa3c1d173db89a7.tar.bz2
historical-7edd19cf1f9acab62e77656bafa3c1d173db89a7.zip
Set /usr/bin/emacs symlink with USE=livecd.
Package-Manager: portage-2.1.10.19/cvs/Linux x86_64
Diffstat (limited to 'app-editors/mg')
-rw-r--r--app-editors/mg/ChangeLog6
-rw-r--r--app-editors/mg/Manifest14
-rw-r--r--app-editors/mg/mg-20110120.ebuild10
-rw-r--r--app-editors/mg/mg-20110905.ebuild10
4 files changed, 28 insertions, 12 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/Manifest b/app-editors/mg/Manifest
index 4b45985cbadd..c6e5f97bcccc 100644
--- a/app-editors/mg/Manifest
+++ b/app-editors/mg/Manifest
@@ -3,14 +3,14 @@ Hash: SHA1
DIST mg-20110120.tar.gz 137905 RMD160 6f950825cecd266dc69feb8a24e6d1ea7fca540e SHA1 1f0f3eb31f72cbf92513339aa681e289a00d654b SHA256 bd03b584fc16a5b5f61e7e41b38c8d9f5a30b2dd9777d1f7f94616811cbd9983
DIST mg-20110905.tar.gz 138805 RMD160 721b2a2e9059ddf6ea637dafd205575150b58c8c SHA1 51d2bac801cab33c9b552c36db5f8637fbbe9363 SHA256 1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229
-EBUILD mg-20110120.ebuild 863 RMD160 f4d43832464ad9c301ea00b8f4cd4867c9f585e0 SHA1 aae29eaeac39d3df6c03be46a0b9813ffaaa6033 SHA256 78ec754c146718cb1eb403ad27a07536089f4c4411c03d37bf5e05331aa0f0a5
-EBUILD mg-20110905.ebuild 847 RMD160 beaf6f179c00fb971b9998caf79c4ec3a934125b SHA1 30f3c1bd521612f3f38bc85d5b1a4553850cfe9b SHA256 18f6c9dd18a2590461d482d5b689183fd779d4a56941054c2a7ba82562de8e29
-MISC ChangeLog 3931 RMD160 da52e49921904ef2aeec5a785508f6fd763ce16d SHA1 a643c0a371eb77efb06cce188b91cc09352de4bb SHA256 62da50767a7f34e92552f473f3b5060bb52317f380504d87ec71d5798c379c1a
+EBUILD mg-20110120.ebuild 981 RMD160 723b4ae8c8eb89aace003df4c2d48ccb94b27cdd SHA1 8774d828fa769d249dd838288e326041c3898fbd SHA256 76b4ad8b6dfbf7e638670d8f224df95a3dc218f900accf41b45741042dbc7f2c
+EBUILD mg-20110905.ebuild 965 RMD160 5ce11f4c6e35ae098e679c417dd267ae5e660c43 SHA1 fce00af30131de6904896b9f595d88f316c3647e SHA256 79f42cbfb71fbd4432f2c898833e9f21840a4ee147e89b2c1d993b8b5e1b876c
+MISC ChangeLog 4063 RMD160 d3a278a57b4dc0f28a8ce010830eb8947b9c599c SHA1 92be97664c35cfefc7aef615cefb3a2e9a05f7bc SHA256 2be7ac54bf18de6589891404130b93e5dd026b24313c98c82ada0cd53f581954
MISC metadata.xml 291 RMD160 294bd15a4478dc7d81faaee2917a5badb79870c6 SHA1 0c81252a214768affd90b589508822c6435fd9fd SHA256 65d24d4c0b435503345283db1c00cc7161174eddecc4d737cbf50d924145ca6c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk5/ZSAACgkQuQc30/atMkDvYwCfclF9Uit1bj5qkB4vPnhYndV5
-NyEAoK4feBUJAuvIdpjqDUrPQ8KKz7C2
-=1wDC
+iEYEARECAAYFAk5/a0YACgkQOeoy/oIi7uwC/wCgkSTxC4TjM5MwzSwcFBRdxVOM
+WgIAni12vM2NHtUDllQ9yL6kwTqlVrrq
+=Mize
-----END PGP SIGNATURE-----
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
+}