summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-01-05 17:09:10 +0000
committerJustin Lecher <jlec@gentoo.org>2011-01-05 17:09:10 +0000
commitebed31344834d8bad488f5ccad0313ac3cc48e0a (patch)
tree9ef33a77aac7e6f08d38bae119c3bb977d9fecad /app-text/agrep/agrep-2.04.ebuild
parentSome Clean up (diff)
downloadgentoo-2-ebed31344834d8bad488f5ccad0313ac3cc48e0a.tar.gz
gentoo-2-ebed31344834d8bad488f5ccad0313ac3cc48e0a.tar.bz2
gentoo-2-ebed31344834d8bad488f5ccad0313ac3cc48e0a.zip
Some Clean up
(Portage version: 2.2.0_alpha12/cvs/Linux x86_64)
Diffstat (limited to 'app-text/agrep/agrep-2.04.ebuild')
-rw-r--r--app-text/agrep/agrep-2.04.ebuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/app-text/agrep/agrep-2.04.ebuild b/app-text/agrep/agrep-2.04.ebuild
index 7a615501d44c..4ba7fa0fffd7 100644
--- a/app-text/agrep/agrep-2.04.ebuild
+++ b/app-text/agrep/agrep-2.04.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/agrep/agrep-2.04.ebuild,v 1.20 2010/01/02 10:52:53 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/agrep/agrep-2.04.ebuild,v 1.21 2011/01/05 17:09:10 jlec Exp $
inherit toolchain-funcs
@@ -14,19 +14,20 @@ KEYWORDS="amd64 mips ppc ppc64 sparc x86 ~ppc-macos ~sparc-solaris"
IUSE=""
DEPEND=""
-RDEPEND="!dev-libs/tre
+RDEPEND="
+ !dev-libs/tre
!app-misc/glimpse"
src_compile() {
# Remove first occurace of CFLAGS so we grab the user CFLAGS
- sed -i -e 's/^CFLAGS.*//' Makefile
+ sed -i -e 's/^CFLAGS.*//' Makefile || die
tc-export CC
emake || die
}
src_install() {
- dobin agrep
- doman agrep.1
+ dobin agrep || die
+ doman agrep.1 || die
dodoc README agrep.algorithms agrep.chronicle COPYRIGHT \
- contribution.list
+ contribution.list || die
}