summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2007-09-29 07:46:35 +0000
committerPeter Volkov <pva@gentoo.org>2007-09-29 07:46:35 +0000
commit81d935edda2225ff6d35010d853107320e5d7be6 (patch)
tree549e13883ae6b31f45171ed8cf4abe3138a3eb2c /app-text/linuxdoc-tools
parentOoops, forgot some quotes (diff)
downloadgentoo-2-81d935edda2225ff6d35010d853107320e5d7be6.tar.gz
gentoo-2-81d935edda2225ff6d35010d853107320e5d7be6.tar.bz2
gentoo-2-81d935edda2225ff6d35010d853107320e5d7be6.zip
Version bump, bug #190967.
(Portage version: 2.1.3.11)
Diffstat (limited to 'app-text/linuxdoc-tools')
-rw-r--r--app-text/linuxdoc-tools/ChangeLog7
-rw-r--r--app-text/linuxdoc-tools/files/digest-linuxdoc-tools-0.9.21_p113
-rw-r--r--app-text/linuxdoc-tools/linuxdoc-tools-0.9.21_p11.ebuild73
3 files changed, 82 insertions, 1 deletions
diff --git a/app-text/linuxdoc-tools/ChangeLog b/app-text/linuxdoc-tools/ChangeLog
index 381c6a970246..27f807ae06d2 100644
--- a/app-text/linuxdoc-tools/ChangeLog
+++ b/app-text/linuxdoc-tools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/linuxdoc-tools
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/linuxdoc-tools/ChangeLog,v 1.8 2007/03/13 01:40:28 leonardop Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/linuxdoc-tools/ChangeLog,v 1.9 2007/09/29 07:46:34 pva Exp $
+
+*linuxdoc-tools-0.9.21_p11 (29 Sep 2007)
+
+ 29 Sep 2007; <pva@gentoo.org> +linuxdoc-tools-0.9.21_p11.ebuild:
+ Version bump, bug #190967.
13 Mar 2007; Leonardo Boshell <leonardop@gentoo.org> metadata.xml:
Replacing text-markup herd with the new sgml herd.
diff --git a/app-text/linuxdoc-tools/files/digest-linuxdoc-tools-0.9.21_p11 b/app-text/linuxdoc-tools/files/digest-linuxdoc-tools-0.9.21_p11
new file mode 100644
index 000000000000..07aeb8c7f58d
--- /dev/null
+++ b/app-text/linuxdoc-tools/files/digest-linuxdoc-tools-0.9.21_p11
@@ -0,0 +1,3 @@
+MD5 b8fd2db16fbbf6cb79d49dd2b2201386 linuxdoc-tools_0.9.21-0.11.tar.gz 592246
+RMD160 f143c124a3538183222082272ffc2ad441d149b4 linuxdoc-tools_0.9.21-0.11.tar.gz 592246
+SHA256 021324e1ca3940c2baff5c2cf872ddb1991207f39e170a9fe558ef2ffe35ac1c linuxdoc-tools_0.9.21-0.11.tar.gz 592246
diff --git a/app-text/linuxdoc-tools/linuxdoc-tools-0.9.21_p11.ebuild b/app-text/linuxdoc-tools/linuxdoc-tools-0.9.21_p11.ebuild
new file mode 100644
index 000000000000..8471ade4d9c0
--- /dev/null
+++ b/app-text/linuxdoc-tools/linuxdoc-tools-0.9.21_p11.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2007 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.21_p11.ebuild,v 1.1 2007/09/29 07:46:34 pva Exp $
+
+inherit eutils sgml-catalog
+
+MY_PV=${PV/_p/-0.}
+
+S=${WORKDIR}/${P/_p*}
+DESCRIPTION="A toolset for processing LinuxDoc DTD SGML files"
+HOMEPAGE="http://packages.qa.debian.org/l/linuxdoc-tools.html"
+SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${MY_PV}.tar.gz"
+
+LICENSE="KenMacLeod SGMLUG"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="tetex"
+
+DEPEND="app-text/openjade
+ app-text/sgml-common
+ >=dev-lang/perl-5.004
+ sys-apps/gawk
+ sys-apps/groff
+ !<app-text/sgmltools-lite-3.0.3-r10
+ !<app-text/tetex-3"
+
+RDEPEND="${DEPEND}
+ tetex? ( >=app-text/tetex-3 )"
+
+sgml-catalog_cat_include "/etc/sgml/linuxdoc.cat" \
+ "/usr/share/linuxdoc-tools/linuxdoc-tools.catalog"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-0.9.13-letter.patch"
+ epatch "${FILESDIR}/${PN}-0.9.20-lib64.patch"
+ epatch "${FILESDIR}/${PN}-0.9.21-malloc.patch"
+}
+src_compile() {
+ local myconf="--with-installed-iso-entities"
+
+ econf $myconf || die "./configure failed"
+ emake CFLAGS="${CFLAGS}" || die "Compilation failed"
+}
+
+src_install() {
+ # Else fails with sandbox violations
+ export VARTEXFONTS="${T}/fonts"
+
+ # Besides the path being wrong, in changing perl5libdir, it cannot find the
+ # catalog.
+ export SGML_CATALOG_FILES="/usr/share/sgml/sgml-iso-entities-8879.1986/catalog"
+
+ eval `perl -V:installvendorarch`
+ einstall \
+ perl5libdir="${D}${installvendorarch}" \
+ LINUXDOCDOC="${D}/usr/share/doc/${PF}/guide" \
+ || die "Installation failed"
+
+ # Wrong path for the catalog.
+ dosed -e \
+ 's,/iso-entities-8879.1986/iso-entities.cat,/sgml-iso-entities-8879.1986/catalog,' \
+ /usr/share/linuxdoc-tools/LinuxDocTools.pm
+
+ if use tetex ; then
+ insinto /usr/share/texmf/tex/latex/misc
+ doins "${S}"/lib/*.sty
+ fi
+
+ dodoc ChangeLog README
+}