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
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')
-rw-r--r--app-text/sgrep/ChangeLog11
-rw-r--r--app-text/sgrep/Manifest2
-rw-r--r--app-text/sgrep/files/digest-sgrep-1.92a1
-rw-r--r--app-text/sgrep/metadata.xml5
-rw-r--r--app-text/sgrep/sgrep-1.92a.ebuild29
5 files changed, 48 insertions, 0 deletions
diff --git a/app-text/sgrep/ChangeLog b/app-text/sgrep/ChangeLog
new file mode 100644
index 000000000000..452b6d97dd89
--- /dev/null
+++ b/app-text/sgrep/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-text/sgrep
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgrep/ChangeLog,v 1.1 2004/09/02 05:57:11 usata Exp $
+
+*sgrep-1.92a (02 Sep 2004)
+
+ 02 Sep 2004; Mamoru KOMACHI <usata@gentoo.org> +metadata.xml,
+ +sgrep-1.92a.ebuild:
+ Initial import. Ebuild submitted by Martin Blais <blais@furius.ca>,
+ closing bug #41115.
+
diff --git a/app-text/sgrep/Manifest b/app-text/sgrep/Manifest
new file mode 100644
index 000000000000..09ea224ea60f
--- /dev/null
+++ b/app-text/sgrep/Manifest
@@ -0,0 +1,2 @@
+MD5 357a2295a42742b6fbf828020920b414 sgrep-1.92a.ebuild 548
+MD5 1f7953a8d85b63276b6ae68879cfe8da files/digest-sgrep-1.92a 63
diff --git a/app-text/sgrep/files/digest-sgrep-1.92a b/app-text/sgrep/files/digest-sgrep-1.92a
new file mode 100644
index 000000000000..9d352308647d
--- /dev/null
+++ b/app-text/sgrep/files/digest-sgrep-1.92a
@@ -0,0 +1 @@
+MD5 99eb1ed515648f653fc7be45e0896378 sgrep-1.92a.tar.gz 148306
diff --git a/app-text/sgrep/metadata.xml b/app-text/sgrep/metadata.xml
new file mode 100644
index 000000000000..06689a1a9114
--- /dev/null
+++ b/app-text/sgrep/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>text-markup</herd>
+</pkgmetadata>
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
+}