summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/antlr/ChangeLog5
-rw-r--r--dev-java/antlr/Manifest2
-rw-r--r--dev-java/antlr/antlr-2.7.3.ebuild (renamed from dev-java/antlr/antlr-2.7.2.ebuild)24
-rw-r--r--dev-java/antlr/files/antlr-2.7.2-gcc3-gentoo.patch12
-rw-r--r--dev-java/antlr/files/antlr-2.7.2_alpha2-gcc3-gentoo.patch12
-rw-r--r--dev-java/antlr/files/digest-antlr-2.7.21
-rw-r--r--dev-java/antlr/files/digest-antlr-2.7.31
7 files changed, 15 insertions, 42 deletions
diff --git a/dev-java/antlr/ChangeLog b/dev-java/antlr/ChangeLog
index d82a0fa16ff4..d70fd1906f12 100644
--- a/dev-java/antlr/ChangeLog
+++ b/dev-java/antlr/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/antlr
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/ChangeLog,v 1.15 2004/01/20 05:25:53 strider Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/ChangeLog,v 1.16 2004/03/23 04:09:33 zx Exp $
+
+ 22 Mar 2004; Chris Aniszczyk <zx@gentoo.org> antlr-2.7.2.ebuild:
+ Clean up + Version bump. Fixes #45281
20 Jan 2004; Adrian Almenar <strider@gentoo.org> antlr-2.7.2.ebuild:
Stable on sparc.
diff --git a/dev-java/antlr/Manifest b/dev-java/antlr/Manifest
index 2dd961d575f6..e1ff54a7fe26 100644
--- a/dev-java/antlr/Manifest
+++ b/dev-java/antlr/Manifest
@@ -1,6 +1,8 @@
+MD5 11937d93a7437830ac2ecffddd7e96d6 antlr-2.7.3.ebuild 936
MD5 09365f99d79a536003a5afb1184cb22b antlr-2.7.2.ebuild 993
MD5 7f0fc3a856367b3c647469fbd8a2c462 ChangeLog 2941
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
MD5 abd32014c7d5dc82f792f5e290b4527a files/antlr-2.7.2-gcc3-gentoo.patch 433
MD5 aab6733e0c585de1db478492c41e94b9 files/digest-antlr-2.7.2 64
+MD5 021b7855447990ffc37500ffb64fb834 files/digest-antlr-2.7.3 64
MD5 abd32014c7d5dc82f792f5e290b4527a files/antlr-2.7.2_alpha2-gcc3-gentoo.patch 433
diff --git a/dev-java/antlr/antlr-2.7.2.ebuild b/dev-java/antlr/antlr-2.7.3.ebuild
index e96cf5c90241..3e2a9f032db9 100644
--- a/dev-java/antlr/antlr-2.7.2.ebuild
+++ b/dev-java/antlr/antlr-2.7.3.ebuild
@@ -1,34 +1,26 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/antlr-2.7.2.ebuild,v 1.10 2004/03/19 01:11:29 zx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/antlr-2.7.3.ebuild,v 1.1 2004/03/23 04:09:33 zx Exp $
+
+inherit java-pkg
DESCRIPTION="A parser generator for Java and C++, written in Java"
SRC_URI="http://www.antlr.org/download/${P}.tar.gz"
HOMEPAGE="http://www.antlr.org"
-DEPEND=">=virtual/jdk-1.2
- jikes? ( >=dev-java/jikes-1.13 )"
-SLOT="2"
+DEPEND=">=virtual/jdk-1.2"
+SLOT="0"
LICENSE="ANTLR"
-KEYWORDS="x86 ~ppc sparc amd64"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64"
IUSE="jikes"
-src_unpack() {
- unpack ${A}
- cd ${S} && patch -p1 <${FILESDIR}/${P}-gcc3-gentoo.patch || die
-}
-
src_compile() {
- if [ -n "`use jikes`" ] ; then
- export JAVAC=jikes
- fi
- echo $CLASSPATH
econf || die
- make antlr.jar antlr.debug.jar antlrall.jar all || die
+ make all || die
}
src_install () {
insinto /usr/share/antlr
- dojar antlr.debug.jar antlr.jar antlrall.jar
+ java-pkg_dojar *.jar
doins extras/antlr-mode.el
dohtml -r doc/*
cp -R examples ${D}/usr/share/doc/${P}/
diff --git a/dev-java/antlr/files/antlr-2.7.2-gcc3-gentoo.patch b/dev-java/antlr/files/antlr-2.7.2-gcc3-gentoo.patch
deleted file mode 100644
index cc09a74980ca..000000000000
--- a/dev-java/antlr/files/antlr-2.7.2-gcc3-gentoo.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur antlr-2.7.2a2~/lib/cpp/antlr/CharScanner.hpp antlr-2.7.2a2/lib/cpp/antlr/CharScanner.hpp
---- antlr-2.7.2a2~/lib/cpp/antlr/CharScanner.hpp 2002-01-03 20:03:43.000000000 -0600
-+++ antlr-2.7.2a2/lib/cpp/antlr/CharScanner.hpp 2003-01-12 11:41:51.000000000 -0600
-@@ -44,6 +44,8 @@
- #include <antlr/LexerSharedInputState.hpp>
- #include <map>
-
-+#include <ctype.h>
-+
- #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
- namespace antlr {
- #endif
diff --git a/dev-java/antlr/files/antlr-2.7.2_alpha2-gcc3-gentoo.patch b/dev-java/antlr/files/antlr-2.7.2_alpha2-gcc3-gentoo.patch
deleted file mode 100644
index cc09a74980ca..000000000000
--- a/dev-java/antlr/files/antlr-2.7.2_alpha2-gcc3-gentoo.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur antlr-2.7.2a2~/lib/cpp/antlr/CharScanner.hpp antlr-2.7.2a2/lib/cpp/antlr/CharScanner.hpp
---- antlr-2.7.2a2~/lib/cpp/antlr/CharScanner.hpp 2002-01-03 20:03:43.000000000 -0600
-+++ antlr-2.7.2a2/lib/cpp/antlr/CharScanner.hpp 2003-01-12 11:41:51.000000000 -0600
-@@ -44,6 +44,8 @@
- #include <antlr/LexerSharedInputState.hpp>
- #include <map>
-
-+#include <ctype.h>
-+
- #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
- namespace antlr {
- #endif
diff --git a/dev-java/antlr/files/digest-antlr-2.7.2 b/dev-java/antlr/files/digest-antlr-2.7.2
deleted file mode 100644
index d36bc45080bb..000000000000
--- a/dev-java/antlr/files/digest-antlr-2.7.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 d67ffcaba6b2cedd99601b9052f63957 antlr-2.7.2.tar.gz 1557051
diff --git a/dev-java/antlr/files/digest-antlr-2.7.3 b/dev-java/antlr/files/digest-antlr-2.7.3
new file mode 100644
index 000000000000..ff793e5ff82a
--- /dev/null
+++ b/dev-java/antlr/files/digest-antlr-2.7.3
@@ -0,0 +1 @@
+MD5 ca8d6d4fa062d244005c12d21955e81c antlr-2.7.3.tar.gz 1347836