summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2004-11-29 10:41:23 +0000
committerAaron Walker <ka0ttic@gentoo.org>2004-11-29 10:41:23 +0000
commitda5595928ff96d3f526429caefa3a39af8b95cfa (patch)
tree8154a95a10fab57c79f970203c8f052349d9dc7b /dev-util/source-highlight
parentAdded in the meta-tracker for GNOME 2.8.1 (diff)
downloadhistorical-da5595928ff96d3f526429caefa3a39af8b95cfa.tar.gz
historical-da5595928ff96d3f526429caefa3a39af8b95cfa.tar.bz2
historical-da5595928ff96d3f526429caefa3a39af8b95cfa.zip
Fixed completion function to use POSIX-sh compliant identifier (s/-/_/) so bash doesn't puke in POSIX mode when the function is in the user's env. Bumping revision and keeping KEYWORDS to prevent bug 72696 from reoccurring.
Diffstat (limited to 'dev-util/source-highlight')
-rw-r--r--dev-util/source-highlight/ChangeLog10
-rw-r--r--dev-util/source-highlight/Manifest12
-rw-r--r--dev-util/source-highlight/files/digest-source-highlight-1.11-r21
-rw-r--r--dev-util/source-highlight/files/source-highlight.bash-completion6
-rw-r--r--dev-util/source-highlight/source-highlight-1.11-r2.ebuild33
5 files changed, 53 insertions, 9 deletions
diff --git a/dev-util/source-highlight/ChangeLog b/dev-util/source-highlight/ChangeLog
index 4590da7e5e5e..bf988f797d59 100644
--- a/dev-util/source-highlight/ChangeLog
+++ b/dev-util/source-highlight/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-util/source-highlight
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/source-highlight/ChangeLog,v 1.11 2004/11/07 11:35:25 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/source-highlight/ChangeLog,v 1.12 2004/11/29 10:41:23 ka0ttic Exp $
+
+*source-highlight-1.11-r2 (29 Nov 2004)
+
+ 29 Nov 2004; Aaron Walker <ka0ttic@gentoo.org>
+ files/source-highlight.bash-completion, +source-highlight-1.11-r2.ebuild:
+ Fixed completion function to use POSIX-sh compliant identifier (s/-/_/) so
+ bash doesn't puke in POSIX mode when the function is in the user's env.
+ Bumping revision and keeping KEYWORDS to prevent bug 72696 from reoccurring.
07 Nov 2004; Aaron Walker <ka0ttic@gentoo.org>
+files/source-highlight.bash-completion, source-highlight-1.11-r1.ebuild,
diff --git a/dev-util/source-highlight/Manifest b/dev-util/source-highlight/Manifest
index 1a3016a4e2e1..3794def43960 100644
--- a/dev-util/source-highlight/Manifest
+++ b/dev-util/source-highlight/Manifest
@@ -1,15 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+MD5 a14c15abad083ecd2d10a02282b53e71 source-highlight-1.11-r2.ebuild 1015
MD5 ab8a562657c2a71e06496eb4e5d5f184 source-highlight-1.11-r1.ebuild 1015
-MD5 2787360c6e90c516d34c5c028f9c105f ChangeLog 1975
+MD5 c092f721edf8fd110c28b2e03648a7a8 ChangeLog 2372
MD5 f8d10f350e91f30316ea4e1bd1e76470 metadata.xml 254
MD5 ec136e3bf2efb4bdb6934e287a23cd6a files/digest-source-highlight-1.11-r1 73
-MD5 0c720917f623ccdb32b884064ae5be44 files/source-highlight.bash-completion 1383
+MD5 ec136e3bf2efb4bdb6934e287a23cd6a files/digest-source-highlight-1.11-r2 73
+MD5 8010d26caf8fbdd5b9c6ab34da1e492b files/source-highlight.bash-completion 1383
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-iD8DBQFBjgiQEZCkKN40op4RAk+mAJ9Fpa3i5fjmGHs5nIs4MzxBCuDHRwCgtYZN
-0kGlS6Q5Jlm7l+3CHqB4Xpg=
-=OVX6
+iD8DBQFBqvzdEZCkKN40op4RAiMwAKCx29BFcsTqkodZRLB7RzxZ5M8IQgCfb4Xf
+thjq77Kk6UHRVh0+FyOiIn0=
+=aafZ
-----END PGP SIGNATURE-----
diff --git a/dev-util/source-highlight/files/digest-source-highlight-1.11-r2 b/dev-util/source-highlight/files/digest-source-highlight-1.11-r2
new file mode 100644
index 000000000000..9def6cebadf0
--- /dev/null
+++ b/dev-util/source-highlight/files/digest-source-highlight-1.11-r2
@@ -0,0 +1 @@
+MD5 4d044e7fb4593e9214f64bedad42ea09 source-highlight-1.11.tar.gz 722472
diff --git a/dev-util/source-highlight/files/source-highlight.bash-completion b/dev-util/source-highlight/files/source-highlight.bash-completion
index f3b718c8d577..7fd9ae49f247 100644
--- a/dev-util/source-highlight/files/source-highlight.bash-completion
+++ b/dev-util/source-highlight/files/source-highlight.bash-completion
@@ -1,7 +1,7 @@
-# $Header: /var/cvsroot/gentoo-x86/dev-util/source-highlight/files/source-highlight.bash-completion,v 1.1 2004/11/07 11:35:25 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/source-highlight/files/source-highlight.bash-completion,v 1.2 2004/11/29 10:41:23 ka0ttic Exp $
# completion for source-highlight
-_source-highlight()
+_source_highlight()
{
local cur prev opts
COMPREPLY=()
@@ -40,6 +40,6 @@ _source-highlight()
;;
esac
}
-complete -F _source-highlight source-highlight
+complete -F _source_highlight source-highlight
# vim: set ft=sh tw=80 sw=4 et :
diff --git a/dev-util/source-highlight/source-highlight-1.11-r2.ebuild b/dev-util/source-highlight/source-highlight-1.11-r2.ebuild
new file mode 100644
index 000000000000..35c6e74bb012
--- /dev/null
+++ b/dev-util/source-highlight/source-highlight-1.11-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/source-highlight/source-highlight-1.11-r2.ebuild,v 1.1 2004/11/29 10:41:23 ka0ttic Exp $
+
+inherit bash-completion
+
+DESCRIPTION="Generate highlighted source code as an (x)html document"
+HOMEPAGE="http://www.gnu.org/software/src-highlite/source-highlight.html"
+SRC_URI="ftp://ftp.gnu.org/gnu/src-highlite/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64 ~ppc"
+SLOT="0"
+IUSE=""
+
+DEPEND="virtual/libc"
+
+src_install () {
+ dodoc AUTHORS ChangeLog COPYING CREDITS INSTALL \
+ NEWS README THANKS TODO.txt || die
+ dobashcompletion ${FILESDIR}/${PN}.bash-completion ${PN}
+
+ cd ${S}/src
+ dobin source-highlight cpp2html java2html source-highlight-cgi \
+ src-hilite-lesspipe.sh || die
+ dodir /usr/share/source-highlight
+ insinto /usr/share/source-highlight
+ doins tags.j2h tags2.j2h || die
+
+ cd ${S}/doc
+ dohtml *.html *.css *.java || die
+ doman source-highlight.1 || die
+}