summaryrefslogtreecommitdiff
path: root/app-text/sgrep
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/sgrep
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/sgrep')
-rw-r--r--app-text/sgrep/Manifest3
-rw-r--r--app-text/sgrep/metadata.xml5
-rw-r--r--app-text/sgrep/sgrep-1.94a.ebuild30
3 files changed, 38 insertions, 0 deletions
diff --git a/app-text/sgrep/Manifest b/app-text/sgrep/Manifest
new file mode 100644
index 000000000000..c44668845b5c
--- /dev/null
+++ b/app-text/sgrep/Manifest
@@ -0,0 +1,3 @@
+DIST sgrep-1.94a.tar.gz 193267 BLAKE2B fe37f62e2cb5c2ccad88df8ee3000d937357b5801ac6c55938a575f77735db7f94c0475e2eaa2521dfbae194132dcda4efe009db32e23b50c13acbc359b9abaf SHA512 8d2571a738c6a87cc34aea3a0692d15aea1d4a0439401b97368da2a021992ef8d0754e91e10409c1c059712bfe69ac4188e3be856211e48f8e6d528b5684283a
+EBUILD sgrep-1.94a.ebuild 721 BLAKE2B 18ece2417c18c5f3578222d2a2aa5cce21307213c46e9fdb06170b70148b6679d3ee34bd80a22c84ac89c47141eaa7c3888a1af9512d825560a59f4a3a999265 SHA512 64fa85b4e830e83694a516c1760f612078e0fe6d5ac5c256ebddc20f2a0cafa24220d1929b6e3561c8d52cfe3abcc7a57a11ec97b4eea0b67e25d8b654e2fa87
+MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
diff --git a/app-text/sgrep/metadata.xml b/app-text/sgrep/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /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>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-text/sgrep/sgrep-1.94a.ebuild b/app-text/sgrep/sgrep-1.94a.ebuild
new file mode 100644
index 000000000000..2f7bae2fad40
--- /dev/null
+++ b/app-text/sgrep/sgrep-1.94a.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Use structural criteria to grep and index text, SGML, XML and HTML and filter"
+SRC_URI="ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/${P}.tar.gz"
+HOMEPAGE="https://www.cs.helsinki.fi/u/jjaakkol/sgrep.html"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+src_prepare() {
+ default
+ sed -i -e "s:/usr/lib:/etc:g" sgrep.1 || die
+}
+
+src_configure() {
+ econf --datadir="${EPREFIX}"/etc
+}
+
+src_install() {
+ dobin sgrep
+ doman sgrep.1
+ dodoc AUTHORS ChangeLog NEWS README sample.sgreprc
+ insinto /etc
+ newins sample.sgreprc sgreprc
+}