/[gentoo-x86]/app-text/sgrep/sgrep-1.94a.ebuild
Gentoo

Contents of /app-text/sgrep/sgrep-1.94a.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jan 21 06:39:05 2012 UTC (2 years, 10 months ago) by radhermit
Branch: MAIN
Version bump.

(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=4
6
7 DESCRIPTION="Structured grep: tool for searching and indexing text, SGML,XML and HTML files and filtering text streams using structural criteria."
8 SRC_URI="ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/${P}.tar.gz"
9 HOMEPAGE="http://www.cs.helsinki.fi/u/jjaakkol/sgrep.html"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
14 IUSE=""
15
16 src_prepare() {
17 sed -i -e "s:/usr/lib:/etc:g" sgrep.1
18 }
19
20 src_configure() {
21 econf --datadir="${EPREFIX}"/etc
22 }
23
24 src_install() {
25 dobin sgrep
26 doman sgrep.1
27 dodoc AUTHORS ChangeLog NEWS README sample.sgreprc
28 insinto /etc
29 newins sample.sgreprc sgreprc
30 }

  ViewVC Help
Powered by ViewVC 1.1.20