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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Feb 20 18:08:50 2010 UTC (4 years, 6 months ago) by abcd
Branch: MAIN
Changes since 1.7: +9 -4 lines
Transfer prefix keywords, bump EAPI
(Portage version: -svn/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/sgrep/sgrep-1.92a.ebuild,v 1.7 2009/09/23 16:38:56 patrick Exp $
4
5 EAPI=3
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 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
13 IUSE=""
14
15 DEPEND=""
16 SLOT="0"
17
18 src_configure() {
19 econf --datadir="${EPREFIX}"/etc
20 }
21
22 src_compile() {
23 emake || die "emake failed"
24
25 sed -e "s:/usr/lib:/etc:g" sgrep.1 > sgrep.1.new
26 }
27
28 src_install() {
29 dobin sgrep
30 newman sgrep.1.new sgrep.1
31 dodoc AUTHORS ChangeLog NEWS README sample.sgreprc
32 insinto /etc
33 newins sample.sgreprc sgreprc
34 }

  ViewVC Help
Powered by ViewVC 1.1.20