# ChangeLog for sys-apps/texinfo
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/texinfo/ChangeLog,v 1.45 2004/08/24 03:45:16 swegener Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/texinfo/ChangeLog,v 1.46 2005/01/04 03:24:18 vapier Exp $
+
+*texinfo-4.8 (03 Jan 2005)
+
+ 03 Jan 2005; Mike Frysinger <vapier@gentoo.org> +texinfo-4.8.ebuild:
+ Version bump. Magically fixes #74926 by spiritus in the process.
24 Aug 2004; Sven Wegener <swegener@gentoo.org> texinfo-4.6.ebuild,
texinfo-4.7-r1.ebuild, texinfo-4.7.ebuild:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 be7fc3797edff0f7695422e5e96d120c ChangeLog 5901
+MD5 593b06dca2945e2e51c67c7c41ea470c ChangeLog 6067
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 a96a564140ac4b23c3800e7ac7a2f6f5 texinfo-4.7-r1.ebuild 1979
+MD5 f57066b94ed4a56f3734f60cf028d73e texinfo-4.8.ebuild 1607
+MD5 75c60847c4f9b9d75375567cd1a3ba81 texinfo-4.7-r1.ebuild 1979
+MD5 1c6181fd6a19db98315a1f737a5ae839 files/digest-texinfo-4.8 65
MD5 690fb86d0c0215155b1d18671099115a files/mkinfodir 7318
MD5 a2c21c53079eb65c306a08d230d15b2b files/digest-texinfo-4.7-r1 65
MD5 a0df107ca9e3036e2ee2d501343cbf2b files/makeinfo.patch 790
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.10 (GNU/Linux)
-iD8DBQFB2gD0roRuSHgZdywRAuuYAJ0bd/yyXNn3u7j9BQwiFLjiwMLbdwCeLQ2x
-Mq7uOn9v93MnGLES+7muR3w=
-=LqqM
+iD8DBQFB2gx0roRuSHgZdywRAs0CAJ9y5/NTmBSTTKtHf9LN6XgyfzjxAACeM2ye
+k8cFUsJAFrMbSA1H5jLO8W4=
+=FVVm
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 6ba369bbfe4afaa56122e65b3ee3a68c texinfo-4.8.tar.bz2 1521822
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/texinfo/texinfo-4.7-r1.ebuild,v 1.6 2004/11/12 14:26:35 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/texinfo/texinfo-4.7-r1.ebuild,v 1.7 2005/01/04 03:24:18 vapier Exp $
inherit flag-o-matic gnuconfig eutils
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/texinfo/texinfo-4.8.ebuild,v 1.1 2005/01/04 03:24:18 vapier Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="The GNU info program and utilities"
+HOMEPAGE="http://www.gnu.org/software/texinfo/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="nls build static"
+
+RDEPEND="virtual/libc
+ !build? ( >=sys-libs/ncurses-5.2-r2 )"
+DEPEND="${RDEPEND}
+ !build? (
+ >=sys-apps/sed-4.0.5
+ nls? ( sys-devel/gettext )
+ )"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"/doc
+ # Get the texinfo info page to have a proper name of texinfo.info
+ sed -i 's:setfilename texinfo:setfilename texinfo.info:' texinfo.txi
+
+ sed -i \
+ -e 's:INFO_DEPS = texinfo:INFO_DEPS = texinfo.info:' \
+ -e 's:texinfo\::texinfo.info\::' \
+ Makefile.in
+}
+
+src_compile() {
+ local myconf=
+ if ! use nls || use build ; then
+ myconf="--disable-nls"
+ fi
+ use static && append-ldflags -static
+
+ econf ${myconf} || die
+ emake || die
+}
+
+src_install() {
+ if use build ; then
+ newbin util/ginstall-info install-info
+ dobin makeinfo/makeinfo util/{texi2dvi,texindex}
+ else
+ make DESTDIR="${D}" install || die "install failed"
+ dosbin ${FILESDIR}/mkinfodir
+
+ if [[ ! -f ${D}/usr/share/info/texinfo.info ]] ; then
+ die "Could not install texinfo.info!!!"
+ fi
+
+ dodoc AUTHORS ChangeLog INTRODUCTION NEWS README TODO
+ newdoc info/README README.info
+ newdoc makeinfo/README README.makeinfo
+ fi
+}