summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2013-10-05 11:08:33 +0000
committerUlrich Müller <ulm@gentoo.org>2013-10-05 11:08:33 +0000
commit4e90a9cd70285fb3415b621f2248bfd8264cb88a (patch)
tree4293379b734a033f9d0f93f32e1e5846c3bd2246 /app-editors/mg
parentAdd ruby20 target. (diff)
downloadgentoo-2-4e90a9cd70285fb3415b621f2248bfd8264cb88a.tar.gz
gentoo-2-4e90a9cd70285fb3415b621f2248bfd8264cb88a.tar.bz2
gentoo-2-4e90a9cd70285fb3415b621f2248bfd8264cb88a.zip
Fix path to tutorial in man page, and do not compress it.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)
Diffstat (limited to 'app-editors/mg')
-rw-r--r--app-editors/mg/ChangeLog5
-rw-r--r--app-editors/mg/mg-20130922.ebuild9
2 files changed, 11 insertions, 3 deletions
diff --git a/app-editors/mg/ChangeLog b/app-editors/mg/ChangeLog
index 9cd7131660ae..f16654a999e5 100644
--- a/app-editors/mg/ChangeLog
+++ b/app-editors/mg/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-editors/mg
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/mg/ChangeLog,v 1.56 2013/10/04 18:07:03 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/mg/ChangeLog,v 1.57 2013/10/05 11:08:33 ulm Exp $
+
+ 05 Oct 2013; Ulrich Müller <ulm@gentoo.org> mg-20130922.ebuild:
+ Fix path to tutorial in man page, and do not compress it.
*mg-20130922 (04 Oct 2013)
diff --git a/app-editors/mg/mg-20130922.ebuild b/app-editors/mg/mg-20130922.ebuild
index ab67c705a52c..d8c4dcb21df3 100644
--- a/app-editors/mg/mg-20130922.ebuild
+++ b/app-editors/mg/mg-20130922.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/mg/mg-20130922.ebuild,v 1.1 2013/10/04 18:07:03 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/mg/mg-20130922.ebuild,v 1.2 2013/10/05 11:08:33 ulm Exp $
EAPI=5
@@ -28,6 +28,9 @@ src_prepare() {
# remove OpenBSD specific easter egg
sed -i -e 's/theo\.c//' Makefile || die
sed -i -e '/theo_init/d' main.c || die
+
+ # fix path to tutorial in man page
+ sed -i -e "s:doc/mg/:doc/${PF}/:" mg.1 || die
}
src_compile() {
@@ -39,7 +42,9 @@ src_compile() {
src_install() {
dobin mg
doman mg.1
- dodoc README tutorial
+ dodoc README README_PORTING tutorial
+ # don't compress the tutorial, otherwise mg cannot open it
+ docompress -x /usr/share/doc/${PF}/tutorial
}
pkg_postinst() {