summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-09-12 01:17:52 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-09-12 01:17:52 +0000
commit7d56d2f946ace63b38e9bad24dd80f95e7743c20 (patch)
tree28c6a1d786bd5501cc5239f2a2ff28edfa9fcfd1
parentFixed ebuild for chmod in nfs. (Manifest recommit) (diff)
downloadgentoo-2-7d56d2f946ace63b38e9bad24dd80f95e7743c20.tar.gz
gentoo-2-7d56d2f946ace63b38e9bad24dd80f95e7743c20.tar.bz2
gentoo-2-7d56d2f946ace63b38e9bad24dd80f95e7743c20.zip
enable the nls knob; tidy the doc install
-rw-r--r--dev-util/indent/ChangeLog5
-rw-r--r--dev-util/indent/indent-2.2.9-r1.ebuild20
2 files changed, 18 insertions, 7 deletions
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 <mr_bones_@gentoo.org> 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"
}