summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlarig Le Lay <alarig@swordarmor.fr>2020-04-11 19:09:35 +0200
committerSam James <sam@gentoo.org>2022-05-14 01:01:12 +0000
commit90a21e1c470f60aa5ad8b9c4dad98dc0724644ca (patch)
treef0a20b8b0300d5d9d772076f3922c1c8d36f71c9 /app-text/docbook-sgml-utils
parentmedia-video/mpv: [QA] inline ESYSROOT (diff)
downloadgentoo-90a21e1c470f60aa5ad8b9c4dad98dc0724644ca.tar.gz
gentoo-90a21e1c470f60aa5ad8b9c4dad98dc0724644ca.tar.bz2
gentoo-90a21e1c470f60aa5ad8b9c4dad98dc0724644ca.zip
app-text/docbook-sgml-utils: Adding dependencies
Adding app-text/xhtml1 for /usr/share/sgml/xhtml1/xhtml.soc Precising app-text/docbook-xml-dtd:4.2 for /usr/share/sgml/docbook/xml-dtd-4.2/docbook.cat Closes: https://bugs.gentoo.org/703634 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr> Closes: https://github.com/gentoo/gentoo/pull/15309 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/docbook-sgml-utils')
-rw-r--r--app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r5.ebuild71
1 files changed, 71 insertions, 0 deletions
diff --git a/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r5.ebuild b/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r5.ebuild
new file mode 100644
index 000000000000..5d08d5506f49
--- /dev/null
+++ b/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r5.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools prefix
+
+MY_P=${PN/-sgml/}-${PV}
+DESCRIPTION="Shell scripts to manage DocBook documents"
+HOMEPAGE="https://sourceware.org/docbook-tools/"
+SRC_URI="https://sourceware.org/pub/docbook-tools/new-trials/SOURCES/${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~m68k ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="jadetex"
+
+DEPEND=">=dev-lang/perl-5
+ app-text/docbook-dsssl-stylesheets
+ app-text/docbook-xml-dtd:4.2
+ app-text/openjade
+ app-text/xhtml1
+ dev-perl/SGMLSpm
+ ~app-text/docbook-sgml-dtd-3.0
+ ~app-text/docbook-sgml-dtd-3.1
+ ~app-text/docbook-sgml-dtd-4.0
+ ~app-text/docbook-sgml-dtd-4.1
+ ~app-text/docbook-sgml-dtd-4.2
+ ~app-text/docbook-sgml-dtd-4.4
+ ~app-text/docbook-xml-simple-dtd-1.0
+ ~app-text/docbook-xml-simple-dtd-4.1.2.4
+ sys-apps/which
+ jadetex? ( dev-texlive/texlive-formatsextra )
+ || (
+ www-client/lynx
+ www-client/links
+ www-client/elinks
+ virtual/w3m
+ )"
+RDEPEND="${DEPEND}"
+
+# including both xml-simple-dtd 4.1.2.4 and 1.0, to ease
+# transition to simple-dtd 1.0, <obz@gentoo.org>
+
+src_prepare() {
+ default
+ eapply "${FILESDIR}"/${MY_P}-elinks.patch
+ eapply "${FILESDIR}"/${P}-grep-2.7.patch
+ if use prefix; then
+ eapply "${FILESDIR}"/${MY_P}-prefix.patch
+ eprefixify doc/{man,HTML}/Makefile.am bin/jw.in backends/txt configure.in
+ eautoreconf
+ fi
+}
+
+src_install() {
+ make DESTDIR="${D}" \
+ htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
+ install
+
+ if ! use jadetex; then
+ local i
+ for i in dvi pdf ps; do
+ rm "${ED}"/usr/bin/docbook2${i} || die
+ rm "${ED}"/usr/share/sgml/docbook/utils-${PV}/backends/${i} || die
+ rm "${ED}"/usr/share/man/man1/docbook2${i}.1 || die
+ done
+ fi
+ einstalldocs
+}