From 7d56d2f946ace63b38e9bad24dd80f95e7743c20 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Sun, 12 Sep 2004 01:17:52 +0000 Subject: enable the nls knob; tidy the doc install --- dev-util/indent/ChangeLog | 5 ++++- dev-util/indent/indent-2.2.9-r1.ebuild | 20 ++++++++++++++------ 2 files changed, 18 insertions(+), 7 deletions(-) (limited to 'dev-util') diff --git a/dev-util/indent/ChangeLog b/dev-util/indent/ChangeLog index 22c0dcc998f9..2419679eb9a5 100644 --- a/dev-util/indent/ChangeLog +++ b/dev-util/indent/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-util/indent # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/indent/ChangeLog,v 1.18 2004/09/11 09:34:03 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/indent/ChangeLog,v 1.19 2004/09/12 01:17:52 mr_bones_ Exp $ + + 11 Sep 2004; Michael Sterrett indent-2.2.9-r1.ebuild: + enable the nls knob; tidy the doc install *indent-2.2.9-r1 (11 Sep 2004) diff --git a/dev-util/indent/indent-2.2.9-r1.ebuild b/dev-util/indent/indent-2.2.9-r1.ebuild index 71b6a159818c..df4f87166ba8 100644 --- a/dev-util/indent/indent-2.2.9-r1.ebuild +++ b/dev-util/indent/indent-2.2.9-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/indent/indent-2.2.9-r1.ebuild,v 1.1 2004/09/11 09:34:03 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/indent/indent-2.2.9-r1.ebuild,v 1.2 2004/09/12 01:17:52 mr_bones_ Exp $ DESCRIPTION="Indent program source files" HOMEPAGE="http://www.gnu.org/software/indent/indent.html" @@ -9,13 +9,21 @@ SRC_URI="mirror://gnu/indent/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64 mips s390 ppc64" -IUSE="" +IUSE="nls" DEPEND="virtual/libc" +src_compile() { + econf \ + --disable-dependency-tracking \ + $(use_enable nls) \ + || die + emake || die "emake failed" +} + src_install() { - make install DESTDIR=${D} || die - dodoc AUTHORS COPYING NEWS README* - dodoc ${D}/usr/doc/indent/* - rm -rf ${D}/usr/doc + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS NEWS README* + dohtml "${D}/usr/doc/indent/"* + rm -rf "${D}/usr/doc" } -- cgit v1.2.3-65-gdbad