summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2010-02-20 18:08:50 +0000
committerJonathan Callen <abcd@gentoo.org>2010-02-20 18:08:50 +0000
commit2ea3ae5207f066a9b0530fdca705a64bccc9080f (patch)
tree795aa6aeec756da5752efd7664c5bf341753c7b9 /app-text
parentTransfer prefix keywords, bump EAPI (diff)
downloadgentoo-2-2ea3ae5207f066a9b0530fdca705a64bccc9080f.tar.gz
gentoo-2-2ea3ae5207f066a9b0530fdca705a64bccc9080f.tar.bz2
gentoo-2-2ea3ae5207f066a9b0530fdca705a64bccc9080f.zip
Transfer prefix keywords, bump EAPI
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/sgrep/ChangeLog7
-rw-r--r--app-text/sgrep/sgrep-1.92a.ebuild13
2 files changed, 14 insertions, 6 deletions
diff --git a/app-text/sgrep/ChangeLog b/app-text/sgrep/ChangeLog
index 925ff3639089..5e4e7f68c5bb 100644
--- a/app-text/sgrep/ChangeLog
+++ b/app-text/sgrep/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/sgrep
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sgrep/ChangeLog,v 1.9 2009/09/23 16:38:56 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgrep/ChangeLog,v 1.10 2010/02/20 18:08:50 abcd Exp $
+
+ 20 Feb 2010; Jonathan Callen <abcd@gentoo.org> sgrep-1.92a.ebuild:
+ Transfer prefix keywords, bump EAPI
23 Sep 2009; Patrick Lauer <patrick@gentoo.org> sgrep-1.92a.ebuild:
Remove virtual/libc
diff --git a/app-text/sgrep/sgrep-1.92a.ebuild b/app-text/sgrep/sgrep-1.92a.ebuild
index 96606586697d..ce516c2e2c74 100644
--- a/app-text/sgrep/sgrep-1.92a.ebuild
+++ b/app-text/sgrep/sgrep-1.92a.ebuild
@@ -1,20 +1,25 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sgrep/sgrep-1.92a.ebuild,v 1.7 2009/09/23 16:38:56 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgrep/sgrep-1.92a.ebuild,v 1.8 2010/02/20 18:08:50 abcd Exp $
+
+EAPI=3
DESCRIPTION="Structured grep: tool for searching and indexing text, SGML,XML and HTML files and filtering text streams using structural criteria."
SRC_URI="ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/${P}.tar.gz"
HOMEPAGE="http://www.cs.helsinki.fi/u/jjaakkol/sgrep.html"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE=""
DEPEND=""
SLOT="0"
+src_configure() {
+ econf --datadir="${EPREFIX}"/etc
+}
+
src_compile() {
- econf --datadir=/etc || die "econf failed"
emake || die "emake failed"
sed -e "s:/usr/lib:/etc:g" sgrep.1 > sgrep.1.new