summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2018-01-11 22:47:36 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2018-01-11 22:48:12 +0100
commit0857ed1afc92f1567c6e52fd78946451d543be17 (patch)
treed6ff13e7cc02fdb82c0e9958e3afc4c027289f9e /app-text
parentnet-libs/webkit-gtk: x86 stable (bug #644128) (diff)
downloadgentoo-0857ed1afc92f1567c6e52fd78946451d543be17.tar.gz
gentoo-0857ed1afc92f1567c6e52fd78946451d543be17.tar.bz2
gentoo-0857ed1afc92f1567c6e52fd78946451d543be17.zip
app-text/docbook-sgml-utils: EAPI bump
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-text')
-rw-r--r--app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r2.ebuild67
1 files changed, 67 insertions, 0 deletions
diff --git a/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r2.ebuild b/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r2.ebuild
new file mode 100644
index 000000000000..0cf85933258e
--- /dev/null
+++ b/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils autotools prefix
+
+MY_PN=${PN/-sgml/}
+MY_P=${MY_PN}-${PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Shell scripts to manage DocBook documents"
+HOMEPAGE="https://sourceware.org/docbook-tools/"
+SRC_URI="ftp://sourceware.org/pub/docbook-tools/new-trials/SOURCES/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="jadetex"
+
+DEPEND=">=dev-lang/perl-5
+ app-text/docbook-dsssl-stylesheets
+ app-text/openjade
+ dev-perl/SGMLSpm
+ ~app-text/docbook-xml-simple-dtd-4.1.2.4
+ ~app-text/docbook-xml-simple-dtd-1.0
+ app-text/docbook-xml-dtd
+ ~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
+ jadetex? ( app-text/jadetex )
+ userland_GNU? ( sys-apps/which )
+ || (
+ 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() {
+ epatch "${FILESDIR}"/${MY_P}-elinks.patch
+ epatch "${FILESDIR}"/${P}-grep-2.7.patch
+ if use prefix; then
+ epatch "${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 || die "Installation failed"
+
+ if ! use jadetex ; then
+ 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
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}