Ebuilds are bash files too. Bug #66052
authorCiaran McCreesh <ciaranm@gentoo.org>
Sat, 2 Oct 2004 00:07:27 +0000 (00:07 +0000)
committerCiaran McCreesh <ciaranm@gentoo.org>
Sat, 2 Oct 2004 00:07:27 +0000 (00:07 +0000)
dev-util/ctags/ChangeLog
dev-util/ctags/Manifest
dev-util/ctags/ctags-5.5.4-r1.ebuild [new file with mode: 0644]
dev-util/ctags/files/ctags-5.5.4-ebuilds.patch [new file with mode: 0644]
dev-util/ctags/files/digest-ctags-5.5.4-r1 [new file with mode: 0644]

index 8727fdaaf0f9f2157b797868f84861254b70c277..4b1511410c17b64f8e95130ce2a2a0f0f286df3f 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-util/ctags
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ctags/ChangeLog,v 1.27 2004/09/28 20:22:48 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ctags/ChangeLog,v 1.28 2004/10/02 00:07:27 ciaranm Exp $
+
+*ctags-5.5.4-r1 (02 Oct 2004)
+
+  02 Oct 2004; Ciaran McCreesh <ciaranm@gentoo.org>
+  +files/ctags-5.5.4-ebuilds.patch, +ctags-5.5.4-r1.ebuild:
+  Ebuilds are bash files too. Bug #66052
 
   28 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org> ctags-5.5.4.ebuild:
   x86, sparc, mips stable
index f727eaad79b3cef054adaa086b4cb6fca98172cf..ac07fb6e44506e13af738f540aa33c0296c1f735 100644 (file)
@@ -3,18 +3,21 @@ Hash: SHA1
 
 MD5 477939929831c97a0cd685ffebc31dbd ctags-5.5.4.ebuild 1205
 MD5 1ddd48ec60a9a5d95c67fffc8a10fc9a ctags-5.2.3.ebuild 1134
-MD5 f3c3783a9d3387a6ff1c5a5905a2d5ff ChangeLog 3378
+MD5 74205e43cb8cc48dc62529b918465d02 ChangeLog 3563
 MD5 ccd869b8a22af56e07dda6c9bf9c0928 ctags-5.5-r1.ebuild 1182
+MD5 1c2805badb17f74911871d1ea32ffd0e ctags-5.5.4-r1.ebuild 1310
 MD5 f3583430b2f7b0686cafd606b08bf203 metadata.xml 156
 MD5 3595b0599dabd6796da617e47c52dedf ctags-5.5.ebuild 1192
 MD5 1fe9a83e8e373e39e2f1522f22afefb7 files/digest-ctags-5.5 61
 MD5 1fe9a83e8e373e39e2f1522f22afefb7 files/digest-ctags-5.5-r1 61
 MD5 ac053acfd4f28f9c48e9d3c139f85e90 files/digest-ctags-5.5.4 63
+MD5 444d43016d0332ec35af9a292855c95f files/ctags-5.5.4-ebuilds.patch 835
+MD5 ac053acfd4f28f9c48e9d3c139f85e90 files/digest-ctags-5.5.4-r1 63
 MD5 e679ffaa8205e53af2edbbe0b20e60a1 files/digest-ctags-5.2.3 63
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (GNU/Linux)
 
-iD8DBQFBWcdLLLFUmVNQ7rkRAmT4AKDBmGY8/h+asuQmWqdYA56YJl95ugCffeoY
-Hw0rcfMpS9Qc3PjFobluJzE=
-=dtj8
+iD8DBQFBXfBjLLFUmVNQ7rkRAoBjAJkBr0amma/Lz5zgG8HcZhOcOWXIIwCgjbHN
+ebF0oRa8W41Guds/czF/Cxk=
+=2MJf
 -----END PGP SIGNATURE-----
diff --git a/dev-util/ctags/ctags-5.5.4-r1.ebuild b/dev-util/ctags/ctags-5.5.4-r1.ebuild
new file mode 100644 (file)
index 0000000..2b4508b
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ctags/ctags-5.5.4-r1.ebuild,v 1.1 2004/10/02 00:07:27 ciaranm Exp $
+
+inherit eutils
+
+DESCRIPTION="Ctags generates an index (or tag) file of C language objects found in C source and header files that allows these items to be quickly and easily located by a text editor or other utility. Currently supports 33 programming languages."
+HOMEPAGE="http://ctags.sourceforge.net"
+SRC_URI="mirror://sourceforge/ctags/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64 ~s390 ~macos ~ppc-macos"
+IUSE=""
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       epatch ${FILESDIR}/${P}-ebuilds.patch
+}
+
+src_compile() {
+       econf \
+               --with-posix-regex \
+               --without-readlib \
+               --disable-etags \
+               --enable-tmpdir=/tmp \
+               || die "econf failed"
+       emake || die "emake failed"
+}
+
+src_install() {
+       einstall || die "einstall failed"
+
+       # namepace collision with X/Emacs-provided /usr/bin/ctags -- we
+       # rename ctags to exuberant-ctags (Mandrake does this also).
+       mv ${D}/usr/bin/{ctags,exuberant-ctags}
+       mv ${D}/usr/share/man/man1/{ctags,exuberant-ctags}.1
+
+       dodoc FAQ NEWS README
+       dohtml EXTENDING.html ctags.html
+}
diff --git a/dev-util/ctags/files/ctags-5.5.4-ebuilds.patch b/dev-util/ctags/files/ctags-5.5.4-ebuilds.patch
new file mode 100644 (file)
index 0000000..aaebb7e
--- /dev/null
@@ -0,0 +1,23 @@
+Index: ebuild-branch/sh.c
+===================================================================
+--- ebuild-branch/sh.c (revision 2)
++++ ebuild-branch/sh.c (revision 3)
+@@ -7,7 +7,8 @@
+ *   GNU General Public License.
+ *
+ *   This module contains functions for generating tags for scripts for the
+-*   Bourne shell (and its derivatives, the Korn and Z shells).
++*   Bourne shell (and its derivatives, the Korn and Z shells), along with some
++*   specialised kinds of shell scripts (Gentoo ebuilds and eclasses).
+ */
+ 
+ /*
+@@ -101,7 +102,7 @@
+ extern parserDefinition* ShParser (void)
+ {
+     static const char *const extensions [] = {
+-      "sh", "SH", "bsh", "bash", "ksh", "zsh", NULL
++      "sh", "SH", "bsh", "bash", "ksh", "zsh", "ebuild", "eclass", NULL
+     };
+     parserDefinition* def = parserNew ("Sh");
+     def->kinds      = ShKinds;
diff --git a/dev-util/ctags/files/digest-ctags-5.5.4-r1 b/dev-util/ctags/files/digest-ctags-5.5.4-r1
new file mode 100644 (file)
index 0000000..3342f14
--- /dev/null
@@ -0,0 +1 @@
+MD5 a84124caadd4103270e0b84596ecfe83 ctags-5.5.4.tar.gz 260962