summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2013-03-31 11:51:18 +0000
committerUlrich Müller <ulm@gentoo.org>2013-03-31 11:51:18 +0000
commitafcff9f129afa43616507b1b5dbc60b2069130aa (patch)
tree8049ffd210891e3aebbc593a60f0481c990559d6 /app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild
parentCorrect name of installed man pages. (diff)
downloadgentoo-2-afcff9f129afa43616507b1b5dbc60b2069130aa.tar.gz
gentoo-2-afcff9f129afa43616507b1b5dbc60b2069130aa.tar.bz2
gentoo-2-afcff9f129afa43616507b1b5dbc60b2069130aa.zip
Correct name of installed man pages.
(Portage version: 2.1.11.59/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)
Diffstat (limited to 'app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild')
-rw-r--r--app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild b/app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild
index f4d82f25bca5..d82e038e67cb 100644
--- a/app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-24.3.9999.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/emacs-vcs/emacs-vcs-24.3.9999.ebuild,v 1.9 2013/03/25 12:13:01 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild,v 1.10 2013/03/31 11:51:18 ulm Exp $
EAPI=5
@@ -208,8 +208,8 @@ src_configure() {
fi
econf \
- --program-suffix=-${EMACS_SUFFIX} \
- --program-transform-name="s/emacs-[0-9].*/${EMACS_SUFFIX}/" \
+ --program-suffix="-${EMACS_SUFFIX}" \
+ --program-transform-name="s/^\(emacs\)-[0-9].*-\1/\1/" \
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
--with-gameuser="${GAMES_USER_DED:-games}" \
@@ -235,12 +235,6 @@ src_compile() {
src_install () {
emake DESTDIR="${D}" NO_BIN_LINK=t install
- # move man pages to the correct place
- local m
- for m in "${ED}"/usr/share/man/man1/* ; do
- mv "${m}" "${m%.1}-${EMACS_SUFFIX}.1" || die "mv man failed"
- done
-
# move info dir to avoid collisions with the dir file generated by portage
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|| die "moving info dir failed"