ChangeLog

# ChangeLog for dev-java/antlr
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/ChangeLog,v 1.65 2008/06/26 21:04:58 serkan Exp $

26 Jun 2008; Serkan Kaba antlr-2.7.7.ebuild:
Fix antlr2 website. Thanks calculus for
reporting.

05 Apr 2008; Petteri Räty antlr-2.7.7.ebuild:
Call base_src_unpack explicitly in src_unpack. Fixes bug #207361.

04 Apr 2008; Petteri Räty
+files/2.7.7-gcc-4.3.patch, antlr-2.7.7.ebuild:
Add patch for gcc-4.3. Fixes bug #207631. Thanks to impulze@impulze.org for
the patch.

08 Mar 2008; Petteri Räty antlr-2.7.7.ebuild:
Rename nocxx and nojava to cxx and java and turn them on by default using
EAPI 1.

08 Mar 2008; Petteri Räty antlr-2.7.7.ebuild:
Fix quoting and nocxx use under the examples use flag. Fixes bug #212703.
Thanks to maekke for the patch.

23 Jun 2007; Petteri Räty antlr-2.7.7.ebuild:
Fix bug #172104 so that antlr builds when pnet is installed.

17 Mar 2007; Petteri Räty -antlr-2.7.5-r2.ebuild,
-antlr-2.7.5-r3.ebuild:
Cleanup.

15 Mar 2007; Joshua Nichols antlr-2.7.7.ebuild:
Stable on amd64 for bug #166857.

18 Feb 2007; nixnut antlr-2.7.7.ebuild:
Stable on ppc wrt bug 166857

16 Feb 2007; Markus Rothe antlr-2.7.7.ebuild:
Stable on ppc64; bug #166857

14 Feb 2007; Christian Faulhammer antlr-2.7.7.ebuild:
stable x86; bug 166857

26 Jan 2007; Krzysiek Pawlik antlr-2.7.7.ebuild:
Added ~ppc.

09 Jan 2007; Steve Dibb antlr-2.7.5-r3.ebuild:
amd64 stable, bug 158091

05 Jan 2007; Diego Pettenò antlr-2.7.5-r2.ebuild,
antlr-2.7.5-r3.ebuild, antlr-2.7.7.ebuild:
Remove gnuconfig_update usage, leave it to econf.

30 Dec 2006; Markus Rothe antlr-2.7.5-r3.ebuild:
Stable on ppc64; bug #158091

14 Dec 2006; Christian Faulhammer
antlr-2.7.5-r3.ebuild:
stable x86, bug #158091

*antlr-2.7.7 (14 Dec 2006)

14 Dec 2006; Vlastimil Babka -antlr-2.7.3.ebuild,
-antlr-2.7.4.ebuild, +antlr-2.7.7.ebuild:
Version bump, removed old versions.

07 Dec 2006; Diego Pettenò antlr-2.7.5-r3.ebuild:
Add ~x86-fbsd keyword.

16 Oct 2006; Joshua Nichols antlr-2.7.5-r3.ebuild:
Keyworded ~ia64.

05 Oct 2006; Gustavo Zacarias antlr-2.7.3.ebuild:
Dropping sparc keywords, see #96229

24 Sep 2006; Joshua Nichols antlr-2.7.5-r3.ebuild:
Bumped jdk dependency to 1.3, to fix compilation with jikes / kaffe.

14 Sep 2006; Joshua Nichols antlr-2.7.5-r3.ebuild:
Added back missing JAVACFLAGS additions.

13 Sep 2006; Joshua Nichols antlr-2.7.5-r2.ebuild,
antlr-2.7.5-r3.ebuild:
Many cleanups.

23 Jul 2006; Joshua Nichols antlr-2.7.5-r3.ebuild:
Removed findutils dep as per bug #141423

*antlr-2.7.5-r3 (21 Jul 2006)

21 Jul 2006; Joshua Nichols +antlr-2.7.5-r3.ebuild:
Revision bump to use new Java system.

24 May 2006; Michael Hanselmann antlr-2.7.5-r2.ebuild:
Stable on ppc.

16 May 2006; Markus Rothe antlr-2.7.5-r2.ebuild:
Stable on ppc64; bug #133320

15 May 2006; Petteri Räty antlr-2.7.5-r2.ebuild:
antlr now inherits java-utils so the error message when a jre is set as the
system jdk is a lot more useful. Fixes bug #133355.

15 May 2006; Jon Hood antlr-2.7.5-r2.ebuild:
Stable on amd64 wrt #133320.

14 May 2006; Petteri Räty antlr-2.7.5-r2.ebuild:
Marked 2.7.5-r2 stable wrt bug #133320 and removed old revision.

11 May 2006; Tobias Scherbaum
antlr-2.7.5-r2.ebuild:
Re-added to ~ppc, bug #132956

23 Jan 2006; Karl Trygve Kalleberg
-antlr-2.7.5-r1.ebuild:
Removed old revision.

29 Dec 2005; Saleem Abdulrasool
antlr-2.7.5-r2.ebuild:
Fixing java screwup, thanks to axxo for noticing it.

*antlr-2.7.5-r2 (29 Dec 2005)

29 Dec 2005; Saleem Abdulrasool
+antlr-2.7.5-r2.ebuild:
Adding nojava useflag as per axxo's request. Fixing script issue (bug #80862)
with script useflag.

13 Dec 2005; Saleem Abdulrasool
antlr-2.7.5-r1.ebuild:
Fixing the jar install.

10 Dec 2005; Saleem Abdulrasool -antlr-2.7.5.ebuild:
Pruning old 2.7.5 ebuild

*antlr-2.7.5-r1 (10 Dec 2005)

10 Dec 2005; Saleem Abdulrasool +files/antlr.pc.in,
+antlr-2.7.5-r1.ebuild:
Adding new revision of ANTLR 2.7.5 which resolves bug #80862. Adds a block on
pccts.

09 Jul 2005; Thomas Matthijs antlr-2.7.3.ebuild,
antlr-2.7.4.ebuild, antlr-2.7.5.ebuild:
add source use flag

*antlr-2.7.5 (03 Apr 2005)

03 Apr 2005; Thomas Matthijs +antlr-2.7.5.ebuild:
version bump

05 Feb 2005; Jan Brinkmann antlr-2.7.4.ebuild:
added support for the doc and the examples useflag. fixes #80862

26 Jan 2005; Markus Rothe antlr-2.7.4.ebuild:
Stable on ppc64

18 Dec 2004; Markus Rothe antlr-2.7.4.ebuild:
added ~ppc64 to KEYWORDS and gnuconfig_update

22 Oct 2004; Dylan Carlson antlr-2.7.4.ebuild:
Keywords ~amd64.

*antlr-2.7.4 (16 Oct 2004)

16 Oct 2004; Thomas Matthijs antlr-2.7.3.ebuild,
antlr-2.7.4.ebuild:
use java-pkg_dohtml instead of dohtml to also install the package-list in
case of api docs: #50740

04 Sep 2004; Thomas Matthijs antlr-2.7.3.ebuild:
stable on sparc

15 Jul 2004; Thomas Matthijs :
version bump

*antlr-2.7.3 (31 Mar 2004)

31 Mar 2004; Chris Aniszczyk antlr-2.7.3.ebuild:
Marking stable on x86.

22 Mar 2004; Chris Aniszczyk antlr-2.7.2.ebuild:
Clean up + Version bump. Fixes #45281

20 Jan 2004; Adrian Almenar antlr-2.7.2.ebuild:
Stable on sparc.

19 Jan 2004; Adrian Almenar antlr-2.7.2.ebuild:
Added ~ppc keyword.

18 Jan 2004; Adrian Almenar antlr-2.7.1-r3.ebuild,
antlr-2.7.2.ebuild:
Added amd64 keyword. Removed old version.

16 Dec 2003; Jason Wever antlr-2.7.2.ebuild:
Added ~sparc keyword to fix broken dependencies in dev-java/makeme.

15 Aug 2003; Adrian Almenar antlr-2.7.1-r3.ebuild,
antlr-2.7.2.ebuild, antlr-2.7.2_alpha2-r1.ebuild, antlr-2.7.2_alpha2.ebuild:
Fixes bug 21887, That makes the ebuild to build with jikes java compiler,
Thanks to Jonas Berlin for the patch

*antlr-2.7.2 (05 Apr 2003)
02 Apr 2003; Robin Johnson antlr-2.7.2.ebuild,
files/digest-antlr-2.7.2:
Updated to new version, slight change in ebuild script for cleanliness
changed description to reflect removal of Sather support
Fixes to make it compile now included

*antlr-2.7.2_alpha2-r1 (10 Jan 2003)

10 Jan 2003; Matthew Kennedy
antlr-2.7.2_alpha2-r1.ebuild, files/digest-antlr-2.7.2_alpha2-r1,
files/antrl-2.7.2_alpha2-r1-gcc3-gentoo.patch, ChangeLog :

Code fix for GCC 3.2.1. No oustanding bug out on this.

*antlr-2.7.2_alpha2 (25 Jun 2002)

01 Aug 2002; Karl Trygve Kalleberg antlr-2.7.2_alpha2.ebuild files/digest-antlr-2.7.2_alpha2 :

Added KEYWORDS.

25 Jun 2002; Karl Trygve Kalleberg antlr-2.7.2_alpha2.ebuild files/digest-antlr-2.7.2_alpha2 :

New upstream version.

*antlr-2.7.1-r3 (10 May 2002)

01 Aug 2002; Karl Trygve Kalleberg antlr-2.7.2_alpha2.ebuild files/digest-antlr-2.7.2_alpha2 :

Added SLOT, KEYWORDS and LICENSE.

10 May 2002; Karl Trygve Kalleberg antlr-2.7.1-r3.ebuild files/digest-antlr-2.7.1-r3:

Now the installed jarballs are properly registered so that they are noticed
by java-config.

Removed antlr-2.7.1-r2.ebuild files/digest-antlr-2.7.1-r2

*antlr-2.7.1-r2 (15 Mar 2002)

1 Feb 2002; G.Bevin antlr-2.7.1-r2.ebuild digest/digest-antlr-2.7.1-r2 :

Added support for c++ library and includes

*antlr-2.7.1-r1 (1 Feb 2002)

1 Feb 2002; G.Bevin ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX 2.7.7-gcc-4.3.patch 383 RMD160 b07b999bd1fe9ed4e90c2c4240c6b8dcececa460 SHA1 9561c692ccfad5f320739897da0ce985d8c804d7 SHA256 de68d3a12a03d7bcdbd3e1cf5ab7d773123a55b4d9e8bb9f3a873fa2c2be84e2
AUX antlr.pc.in 155 RMD160 9e65e2d813b035fceba2893da2b14e21b579ff22 SHA1 008e6316a5f75884749bd88925a888fa0f7de78e SHA256 31bf717831c33e3088958712f2c6629427a505ee0a48030e65b4f733e0bf277f
DIST antlr-2.7.7.tar.gz 1816180 RMD160 0b7951a28b748e912721fe0f6de4095d9f8da57d SHA1 802655c343cc7806aaf1ec2177a0e663ff209de1 SHA256 853aeb021aef7586bda29e74a6b03006bcb565a755c86b66032d8ec31b67dbb9
EBUILD antlr-2.7.7.ebuild 2647 RMD160 44ba8bb793969bf266c3acbbf04129627ba0429f SHA1 7c980b65bb51bed83647051558dbd57da5d3c2e5 SHA256 a6ab903d7ea751e310c57954eb792836f705bd0ec86566650c9d15568b95022d
MISC ChangeLog 9088 RMD160 302e81eed1843beceabffe9b88cc557b51af4ae0 SHA1 9d45e49e991efdf485102906bab55a229d88e755 SHA256 ac1196319c60788a90175ba0b70daa43c699dfad4dd357fb433baa448605d775
MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkhkBIYACgkQRh6X64ivZaJR4wCeNoYJs6l+sHn+Lqn2HgKOz0qW
0k8AnRX+xwIEwRkCtiteEZnv0kFdas7J
=EHIK
-----END PGP SIGNATURE-----

antlr-2.7.7.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/antlr-2.7.7.ebuild,v 1.13 2008/06/26 21:04:58 serkan Exp $

EAPI=1

inherit base java-pkg-2 mono distutils multilib

DESCRIPTION="A parser generator for C++, C#, Java, and Python"
HOMEPAGE="http://www.antlr2.org/"
SRC_URI="http://www.antlr2.org/download/${P}.tar.gz"

LICENSE="ANTLR"
SLOT="0"
KEYWORDS="amd64 ~ia64 ppc ppc64 x86 ~x86-fbsd"
IUSE="doc debug examples mono +cxx +java python script source"

# TODO do we actually need jdk at runtime?
RDEPEND=">=virtual/jdk-1.3
mono? ( dev-lang/mono )
python? ( dev-lang/python )"
DEPEND="${RDEPEND}
script? ( !dev-util/pccts )
source? ( app-arch/zip )"

PATCHES=( "${FILESDIR}/2.7.7-gcc-4.3.patch" )

src_unpack() {
base_src_unpack
}

src_compile() {
# don't ask why, but this is needed for stuff to get built properly
# across the various JDKs
JAVACFLAGS="+ ${JAVACFLAGS}"

# mcs for https://bugs.gentoo.org/show_bug.cgi?id=172104
CSHARPC="mcs" econf $(use_enable java) \
$(use_enable python) \
$(use_enable mono csharp) \
$(use_enable debug) \
$(use_enable examples) \
$(use_enable cxx) \
--enable-verbose || die "configure failed"

emake || die "compile failed"

sed -e "s|@prefix@|/usr/|" \
-e 's|@exec_prefix@|${prefix}|' \
-e "s|@libdir@|\$\{exec_prefix\}/$(get_libdir)/antlr|" \
-e 's|@libs@|-r:\$\{libdir\}/antlr.astframe.dll -r:\$\{libdir\}/antlr.runtime.dll|' \
-e "s|@VERSION@|${PV}|" \
"${FILESDIR}"/antlr.pc.in > "${S}"/antlr.pc
}

src_install() {
exeinto /usr/bin
doexe "${S}"/scripts/antlr-config

if use cxx ; then
cd "${S}"/lib/cpp
einstall || die "failed to install C++ files"
fi

if use java ; then
java-pkg_dojar "${S}"/antlr/antlr.jar

use script && java-pkg_dolauncher antlr --main antlr.Tool

use source && java-pkg_dosrc "${S}"/antlr
use doc && java-pkg_dohtml -r doc/*
fi

if use mono ; then
cd "${S}"/lib

dodir /usr/$(get_libdir)/antlr/
insinto /usr/$(get_libdir)/antlr/

doins antlr.astframe.dll
doins antlr.runtime.dll

insinto /usr/$(get_libdir)/pkgconfig
doins "${S}"/antlr.pc
fi

if use python ; then
cd "${S}"/lib/python
distutils_src_install
fi

if use examples ; then
find "${S}"/examples -iname Makefile\* -exec rm \{\} \;

dodir /usr/share/doc/${PF}/examples
insinto /usr/share/doc/${PF}/examples

use cxx && doins -r "${S}"/examples/cpp
use java && doins -r "${S}"/examples/java
use mono && doins -r "${S}"/examples/csharp
use python && doins -r "${S}"/examples/python
fi

newdoc "${S}"/README.txt README || die
}

files

metadata.xml




java