diff options
author | Mike Gilbert <floppym@gentoo.org> | 2014-01-22 04:47:55 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2014-01-22 04:47:55 +0000 |
commit | eac7043969a45bc5f54ca7da8a4fd1ff41e6aa6b (patch) | |
tree | 59a626226373a61364a228dbe46d05d239bc158e /app-text | |
parent | version bump to 1.5.5 (diff) | |
download | gentoo-2-eac7043969a45bc5f54ca7da8a4fd1ff41e6aa6b.tar.gz gentoo-2-eac7043969a45bc5f54ca7da8a4fd1ff41e6aa6b.tar.bz2 gentoo-2-eac7043969a45bc5f54ca7da8a4fd1ff41e6aa6b.zip |
Add some symlinks for docbook2x-{man,texi} for Debian compatibility, bug 205703.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/docbook2X/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/docbook2X/docbook2X-0.8.8-r4.ebuild | 57 |
2 files changed, 65 insertions, 2 deletions
diff --git a/app-text/docbook2X/ChangeLog b/app-text/docbook2X/ChangeLog index fafdfe53c38e..6e7386cfa97b 100644 --- a/app-text/docbook2X/ChangeLog +++ b/app-text/docbook2X/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/docbook2X -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/docbook2X/ChangeLog,v 1.47 2013/07/29 10:48:04 pinkbyte Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook2X/ChangeLog,v 1.48 2014/01/22 04:47:55 floppym Exp $ + +*docbook2X-0.8.8-r4 (22 Jan 2014) + + 22 Jan 2014; Mike Gilbert <floppym@gentoo.org> +docbook2X-0.8.8-r4.ebuild: + Add some symlinks for docbook2x-{man,texi} for Debian compatibility, bug + 205703. *docbook2X-0.8.8-r3 (29 Jul 2013) diff --git a/app-text/docbook2X/docbook2X-0.8.8-r4.ebuild b/app-text/docbook2X/docbook2X-0.8.8-r4.ebuild new file mode 100644 index 000000000000..21a416734b2d --- /dev/null +++ b/app-text/docbook2X/docbook2X-0.8.8-r4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook2X/docbook2X-0.8.8-r4.ebuild,v 1.1 2014/01/22 04:47:55 floppym Exp $ + +EAPI="5" + +AUTOTOOLS_AUTORECONF=1 #290284 +inherit autotools-utils + +DESCRIPTION="Tools to convert docbook to man and info" +SRC_URI="mirror://sourceforge/docbook2x/${P}.tar.gz" +HOMEPAGE="http://docbook2x.sourceforge.net/" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-linux ~x86-solaris" +IUSE="test" +LICENSE="MIT" + +# dev-perl/XML-LibXML - although not mentioned upstream is required +# for make check to complete. +DEPEND="dev-lang/perl + dev-libs/libxslt + dev-perl/XML-NamespaceSupport + dev-perl/XML-SAX + dev-perl/XML-LibXML + app-text/docbook-xsl-stylesheets + =app-text/docbook-xml-dtd-4.2*" +RDEPEND="${DEPEND}" + +PATCHES=( + # Patches from debian, for description see patches itself. + "${FILESDIR}/${P}-filename_whitespace_handling.patch" + "${FILESDIR}/${P}-preprocessor_declaration_syntax.patch" + "${FILESDIR}/${P}-error_on_missing_refentry.patch" + # bug #296112 + "${FILESDIR}/${P}-drop-htmldir.patch" +) +src_prepare() { + sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac || die 'sed on configure.ac failed' + + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" + --with-xslt-processor=libxslt + --program-transform-name='/^docbook2/s,$,.pl,' + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + dosym docbook2man.pl /usr/bin/docbook2x-man + dosym docbook2texi.pl /usr/bin/docbook2x-texi +} |