From 1098f7fb00a9e5a54d30d3ce9101338934e10b6b Mon Sep 17 00:00:00 2001 From: "D.M.D. Ljungmark" Date: Sat, 18 May 2002 21:23:44 +0000 Subject: revival --- sys-apps/texinfo/texinfo-4.0-r3.ebuild | 69 ++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 sys-apps/texinfo/texinfo-4.0-r3.ebuild (limited to 'sys-apps') diff --git a/sys-apps/texinfo/texinfo-4.0-r3.ebuild b/sys-apps/texinfo/texinfo-4.0-r3.ebuild new file mode 100644 index 000000000000..181f0f4cf2bc --- /dev/null +++ b/sys-apps/texinfo/texinfo-4.0-r3.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: System Team +# Author: Achim Gottinger , Daniel Robbins +# $Header: /var/cvsroot/gentoo-x86/sys-apps/texinfo/texinfo-4.0-r3.ebuild,v 1.5 2002/05/18 21:23:44 spider Exp $ + +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="The GNU info program and utilities" +SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/texinfo/${A} + ftp://ftp.gnu.org/pub/gnu/texinfo/${A}" + +if [ "`use build`" ] ; then + DEPEND="virtual/glibc" +else + DEPEND="virtual/glibc >=sys-libs/ncurses-5.2-r2 nls? ( sys-devel/gettext )" + RDEPEND="virtual/glibc >=sys-libs/ncurses-5.2-r2" +fi + +src_unpack() { + unpack ${A} + if [ "`use build`" ] ; then + cd ${S} + patch -p0 < ${FILESDIR}/${PF}-no-ncurses-gentoo.diff + touch * + fi +} + +src_compile() { + local myconf + if [ -z "`use nls`" ] || [ "`use build`" ] ; then + myconf="--disable-nls" + fi + try ./configure --host=${CHOST} --prefix=/usr ${myconf} \ + --mandir=/usr/share/man --infodir=/usr/share/info + try make ${MAKEOPTS} +} + +src_install() { + + if [ "`use build`" ] ; then + dobin makeinfo/makeinfo util/{install-info,texi2dvi,texindex} + else + try make DESTDIR=${D} infodir=${D}/usr/share/info install + exeinto /usr/sbin + doexe ${FILESDIR}/mkinfodir + + cd ${D}/usr/share/info + mv texinfo texinfo.info + for i in texinfo-* + do + mv ${i} texinfo.info-${i#texinfo-*} + done + + cd ${S} + + dodoc AUTHORS ChangeLog COPYING INTRODUCTION NEWS README TODO + docinto info + dodoc info/README + docinto makeinfo + dodoc makeinfo/README + fi +} + + + + + + -- cgit v1.2.3-65-gdbad