1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="Tool to convert simple XML to a variety of formats (pdf, html, txt, manpage)"
9 HOMEPAGE="http://xml2doc.sourceforge.net"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
14 KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ppc64 sparc x86"
16 DEPEND="dev-libs/libxml2:2"
22 # Fix pointer-related bug detected by a QA notice
23 "${FILESDIR}"/${PN}-pointer_fix.patch
24 # Don't strip symbols from binary (bug #152266)
25 "${FILESDIR}"/${P}-makefile.patch
37 "${S}"/src/xml2doc -oM manpage.xml xml2doc.1 || die
45 dodoc examples/*.{xml,png}