summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-03-21 07:09:04 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-03-21 07:09:04 +0000
commit4e0f657c13d48c17217e3112ad0e8cb4721c59d6 (patch)
tree1e44480da55fd3b75f77d387f064804982b98da9 /app-text/linuxdoc-tools
parentuse /dev/cdrom instead of /dev/dvd as the new default dvd device for better c... (diff)
downloadgentoo-2-4e0f657c13d48c17217e3112ad0e8cb4721c59d6.tar.gz
gentoo-2-4e0f657c13d48c17217e3112ad0e8cb4721c59d6.tar.bz2
gentoo-2-4e0f657c13d48c17217e3112ad0e8cb4721c59d6.zip
Move sed for setting proper sgml catalog path to src_prepare, fix tex-related files installation, wrt bug #442482
(Portage version: 2.2.0_alpha168/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'app-text/linuxdoc-tools')
-rw-r--r--app-text/linuxdoc-tools/ChangeLog6
-rw-r--r--app-text/linuxdoc-tools/linuxdoc-tools-0.9.68.ebuild14
2 files changed, 12 insertions, 8 deletions
diff --git a/app-text/linuxdoc-tools/ChangeLog b/app-text/linuxdoc-tools/ChangeLog
index 28b074622f5a..d9ec0249a68e 100644
--- a/app-text/linuxdoc-tools/ChangeLog
+++ b/app-text/linuxdoc-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/linuxdoc-tools
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/linuxdoc-tools/ChangeLog,v 1.19 2013/03/20 10:09:38 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/linuxdoc-tools/ChangeLog,v 1.20 2013/03/21 07:09:04 pinkbyte Exp $
+
+ 21 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> linuxdoc-tools-0.9.68.ebuild:
+ Move sed for setting proper sgml catalog path to src_prepare, fix tex-related
+ files installation, wrt bug #442482
*linuxdoc-tools-0.9.68 (20 Mar 2013)
diff --git a/app-text/linuxdoc-tools/linuxdoc-tools-0.9.68.ebuild b/app-text/linuxdoc-tools/linuxdoc-tools-0.9.68.ebuild
index 8c4b1cd1ed04..8356c6cb231e 100644
--- a/app-text/linuxdoc-tools/linuxdoc-tools-0.9.68.ebuild
+++ b/app-text/linuxdoc-tools/linuxdoc-tools-0.9.68.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-text/linuxdoc-tools/linuxdoc-tools-0.9.68.ebuild,v 1.1 2013/03/20 10:09:38 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/linuxdoc-tools/linuxdoc-tools-0.9.68.ebuild,v 1.2 2013/03/21 07:09:04 pinkbyte Exp $
EAPI=2
@@ -36,6 +36,11 @@ src_prepare() {
"${FILESDIR}/${PN}-0.9.21-malloc.patch" \
"${FILESDIR}/${P}-compiler.patch" \
"${FILESDIR}/${P}-lex.patch"
+
+ # Wrong path for the catalog.
+ sed -i -e \
+ 's,/iso-entities-8879.1986/iso-entities.cat,/sgml-iso-entities-8879.1986/catalog,' \
+ perl5lib/LinuxDocTools.pm || die 'sed failed'
}
src_configure() {
@@ -61,13 +66,8 @@ src_install() {
LINUXDOCDOC="${D}/usr/share/doc/${PF}/guide" \
|| die "Installation failed"
- # Wrong path for the catalog.
- sed -i -e \
- 's,/iso-entities-8879.1986/iso-entities.cat,/sgml-iso-entities-8879.1986/catalog,' \
- /usr/share/linuxdoc-tools/LinuxDocTools.pm || die 'sed failed'
-
insinto /usr/share/texmf/tex/latex/misc
- doins "${S}"/lib/*.sty || die
+ doins tex/*.sty || die
dodoc ChangeLog README || die
}