New version, bug #75814. Now with bash-completion goodness.
authorCiaran McCreesh <ciaranm@gentoo.org>
Mon, 27 Dec 2004 19:16:44 +0000 (19:16 +0000)
committerCiaran McCreesh <ciaranm@gentoo.org>
Mon, 27 Dec 2004 19:16:44 +0000 (19:16 +0000)
app-text/glark/ChangeLog
app-text/glark/Manifest
app-text/glark/files/1.7.2/glark-completion [new file with mode: 0644]
app-text/glark/files/digest-glark-1.7.2 [new file with mode: 0644]
app-text/glark/glark-1.7.2.ebuild [new file with mode: 0644]

index 6af7de5ec9ebfa73d6b637224fd939499b2adfb0..0fc7623a4d044b9c9cc68b69db4ce5baf8939569 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-text/glark
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/glark/ChangeLog,v 1.20 2004/12/20 15:40:48 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/glark/ChangeLog,v 1.21 2004/12/27 19:16:44 ciaranm Exp $
+
+*glark-1.7.2 (27 Dec 2004)
+
+  27 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org>
+  +files/1.7.2/glark-completion, +glark-1.7.2.ebuild:
+  New version, bug #75814. Now with bash-completion goodness.
 
 *glark-1.7.1 (20 Dec 2004)
 
index ca7f52c4cea4aa90304473705a9ff84a72bc7211..890e5105b1995f670c2fafbcc00d82f45ef58a3e 100644 (file)
@@ -2,15 +2,18 @@
 Hash: SHA1
 
 MD5 d70bc598aee8379fcca56856e6e9e7fc glark-1.7.0.ebuild 667
-MD5 9213cc2ac5886970925fb85d54f62b2f ChangeLog 2509
+MD5 30d4f52b834d0261ecd83f3a30c9596f ChangeLog 2706
 MD5 8a93f0a469a8e0a79f4191d941d9594a glark-1.7.1.ebuild 672
+MD5 5c07f830eb6c95cba4170e9d78d2e1ce glark-1.7.2.ebuild 757
 MD5 cc91d79e8dc6f0d1b9727eb83de5f98a metadata.xml 258
 MD5 45ca54fe2662478c83bf160831b2aea9 files/digest-glark-1.7.1 62
+MD5 67bdc0662f2ad93234cf0299b10fb028 files/digest-glark-1.7.2 62
 MD5 16965b8cb4e088ce14ac964bf473d124 files/digest-glark-1.7.0 62
+MD5 9b0139902e8fa81c7922c08cc4cff23f files/1.7.2/glark-completion 994
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (GNU/Linux)
 
-iD8DBQFBxvLHLLFUmVNQ7rkRAuZlAKDV4xTA5LZ0PcKBeK5+VXuzUhctLgCdHJ/D
-OSPqSMrZCcZoJexcPn+CQII=
-=QWpD
+iD8DBQFB0F/dLLFUmVNQ7rkRAkwqAJsFQLnyDyT4hprORU6sou9a4EMqnwCfY/z8
+TcJ4dhOJIbu5By32yeG7vBI=
+=jgGF
 -----END PGP SIGNATURE-----
diff --git a/app-text/glark/files/1.7.2/glark-completion b/app-text/glark/files/1.7.2/glark-completion
new file mode 100644 (file)
index 0000000..4cd470e
--- /dev/null
@@ -0,0 +1,31 @@
+# Author: Ciaran McCreesh <ciaranm@gentoo.org>
+#
+# completion for glark
+
+_glark()
+{
+       local cur
+
+       COMPREPLY=()
+       cur=${COMP_WORDS[COMP_CWORD]}
+       prev=${COMP_WORDS[COMP_CWORD-1]}
+
+       if [[ "${cur}" == -* ]] || [[ ${COMP_CWORD} -eq 1 ]] ; then
+               COMPREPLY=( $( compgen -W ' --directories --binary-files --basename \
+                       --name --fullname --path --exclude-matching --recurse \
+                       --split-as-path --no-split-as-path --and --before --after \
+                       --file --ignore-case --match-limit --or --range \
+                       --invert-match --word --word-regexp --line-regexp --xor \
+                       --after-context --before-context --context --count \
+                       --file-color --no-filter --grep --no-filename --with-filename \
+                       --files-with-matches --files-without-match --line-number \
+                       --no-line-number --line-number-color --text-color --highlight \
+                       --no-highlight --extract-matches --null --help --config \
+                       --explain --quiet --no-messages --no-quiet --version \
+                       --verbose' -- $cur ) )
+       else
+           _filedir
+       fi
+}
+
+complete -F _glark glark
diff --git a/app-text/glark/files/digest-glark-1.7.2 b/app-text/glark/files/digest-glark-1.7.2
new file mode 100644 (file)
index 0000000..9a31365
--- /dev/null
@@ -0,0 +1 @@
+MD5 38b3250313ce1974afb43b39b083ba5c glark-1.7.2.tar.gz 33092
diff --git a/app-text/glark/glark-1.7.2.ebuild b/app-text/glark/glark-1.7.2.ebuild
new file mode 100644 (file)
index 0000000..4654689
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/glark/glark-1.7.2.ebuild,v 1.1 2004/12/27 19:16:44 ciaranm Exp $
+
+inherit bash-completion
+
+DESCRIPTION="File searcher similar to grep but with fancy output"
+HOMEPAGE="http://glark.sourceforge.net/"
+SRC_URI="mirror://sourceforge/glark/${P}.tar.gz"
+
+KEYWORDS="~x86 ~sparc ~ppc ~mips ~amd64"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE=""
+
+# perl dep is for pod2man
+DEPEND="virtual/ruby
+       dev-lang/perl"
+RDEPEND="virtual/ruby"
+
+src_compile() {
+       emake
+       # force the manpage to be rebuilt
+       rm ${PN}.1
+       make ${PN}.1
+}
+
+src_install () {
+       make DESTDIR=${D} install
+       dobashcompletion ${FILESDIR}/${PV}/glark-completion ${PN}
+}
+