summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-09-02 05:57:11 +0000
committerMamoru Komachi <usata@gentoo.org>2004-09-02 05:57:11 +0000
commitf97d24de41de6dbc4d1feb3f1d9d2fc9e566f758 (patch)
tree7baec6fcc706e01a2c64b1b50bcd73cf2f19c1e4 /app-text/sgrep/sgrep-1.92a.ebuild
parentInitial import. Ebuild submitted by Ulrich Mueller <ulm@kph.uni-mainz.de>, cl... (diff)
downloadgentoo-2-f97d24de41de6dbc4d1feb3f1d9d2fc9e566f758.tar.gz
gentoo-2-f97d24de41de6dbc4d1feb3f1d9d2fc9e566f758.tar.bz2
gentoo-2-f97d24de41de6dbc4d1feb3f1d9d2fc9e566f758.zip
Initial import. Ebuild submitted by Martin Blais <blais@furius.ca>, closing bug #41115.
Diffstat (limited to 'app-text/sgrep/sgrep-1.92a.ebuild')
-rw-r--r--app-text/sgrep/sgrep-1.92a.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-text/sgrep/sgrep-1.92a.ebuild b/app-text/sgrep/sgrep-1.92a.ebuild
new file mode 100644
index 000000000000..76fbdf30c6a0
--- /dev/null
+++ b/app-text/sgrep/sgrep-1.92a.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2004 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.1 2004/09/02 05:57:11 usata Exp $
+
+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="~x86"
+IUSE=""
+
+DEPEND="virtual/libc"
+SLOT="0"
+
+src_compile() {
+ econf --datadir=/etc || die "econf failed"
+ emake || die "emake failed"
+
+ sed -e "s:/usr/lib:/etc:g" sgrep.1 > sgrep.1.new
+}
+
+src_install() {
+ dobin sgrep
+ newman sgrep.1.new sgrep.1
+ dodoc AUTHORS ChangeLog NEWS README sample.sgreprc
+ insinto /etc
+ newins sample.sgreprc sgreprc
+}