public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/emacs:master commit in: app-editors/emacs/
Date: Tue, 18 Mar 2014 16:57:12 +0000 (UTC)	[thread overview]
Message-ID: <1395161979.1bc3c06c292b515de249f7dd53a2ad55bc7638a3.ulm@gentoo> (raw)

commit:     1bc3c06c292b515de249f7dd53a2ad55bc7638a3
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 18 16:59:39 2014 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Mar 18 16:59:39 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=1bc3c06c

Further fixes to man page installation.

Package-Manager: portage-2.2.8-r1

---
 app-editors/emacs/ChangeLog             |  4 ++++
 app-editors/emacs/emacs-21.4-r24.ebuild |  3 +++
 app-editors/emacs/emacs-22.3-r10.ebuild | 12 ++++++++----
 3 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/app-editors/emacs/ChangeLog b/app-editors/emacs/ChangeLog
index 91ccb49..9952ead 100644
--- a/app-editors/emacs/ChangeLog
+++ b/app-editors/emacs/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  18 Mar 2014; Ulrich Müller <ulm@gentoo.org> emacs-21.4-r24.ebuild,
+  emacs-22.3-r10.ebuild:
+  Further fixes to man page installation.
+
   16 Mar 2014; Ulrich Müller <ulm@gentoo.org> emacs-18.59-r9.ebuild,
   emacs-21.4-r24.ebuild, emacs-22.3-r10.ebuild, emacs-23.4-r6.ebuild,
   emacs-24.3-r2.ebuild:

diff --git a/app-editors/emacs/emacs-21.4-r24.ebuild b/app-editors/emacs/emacs-21.4-r24.ebuild
index ed4459b..c548550 100644
--- a/app-editors/emacs/emacs-21.4-r24.ebuild
+++ b/app-editors/emacs/emacs-21.4-r24.ebuild
@@ -51,6 +51,9 @@ src_prepare() {
 	sed -i -e "s:/usr/lib/\([^ ]*\).o:/usr/$(get_libdir)/\1.o:g" \
 		"${S}/src/s/gnu-linux.h" || die
 
+	sed -i -e "/^\\.so/s/etags/&-emacs-${SLOT}/" etc/ctags.1 \
+		|| die "unable to sed ctags.1"
+
 	# custom aclocal.m4 was only needed for autoconf 2.13 and earlier
 	rm aclocal.m4
 	eaclocal

diff --git a/app-editors/emacs/emacs-22.3-r10.ebuild b/app-editors/emacs/emacs-22.3-r10.ebuild
index 87fcaba..bb86749 100644
--- a/app-editors/emacs/emacs-22.3-r10.ebuild
+++ b/app-editors/emacs/emacs-22.3-r10.ebuild
@@ -59,6 +59,9 @@ src_prepare() {
 		-e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
 		"${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"
 
+	sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" etc/ctags.1 \
+		|| die "unable to sed ctags.1"
+
 	if ! use alsa; then
 		# ALSA is detected even if not requested by its USE flag.
 		# Suppress it by supplying pkg-config with a wrong library name.
@@ -156,11 +159,12 @@ src_install () {
 
 	# move man pages to the correct place
 	local m
-	for m in "${D}"/usr/share/man/man1/* ; do
-		mv "${m}" "${m%.1}-${EMACS_SUFFIX}.1" || die "mv man failed"
-	done
-	mv "${D}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
+	mv "${D}"/usr/share/man/man1/{emacs,${EMACS_SUFFIX}}.1 \
 		|| die "moving emacs man page failed"
+	for m in ctags emacsclient etags; do
+		mv "${D}"/usr/share/man/man1/${m}{,-${EMACS_SUFFIX}}.1 \
+			|| die "moving ${m} man page failed"
+	done
 
 	# move info dir to avoid collisions with the dir file generated by portage
 	mv "${D}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \


             reply	other threads:[~2014-03-18 16:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-18 16:57 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-04-04 18:37 [gentoo-commits] proj/emacs:master commit in: app-editors/emacs/ Ulrich Müller
2014-03-16 16:46 Ulrich Müller
2014-03-16 16:46 Ulrich Müller
2014-03-16 16:46 Ulrich Müller
2014-03-16 16:46 Ulrich Müller
2013-10-03 17:54 Ulrich Müller
2013-10-03 17:49 Ulrich Müller
2013-10-02 18:56 Ulrich Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1395161979.1bc3c06c292b515de249f7dd53a2ad55bc7638a3.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox