diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-05-10 15:29:34 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-05-10 15:29:34 +0000 |
commit | 9850c458787c69cb7afd852707ddaebe86163c52 (patch) | |
tree | ee7b848bff78ee788b305f949104a87e905b1563 /dev-java/antlr/antlr-2.7.1-r3.ebuild | |
parent | added the changelog (diff) | |
download | historical-9850c458787c69cb7afd852707ddaebe86163c52.tar.gz historical-9850c458787c69cb7afd852707ddaebe86163c52.tar.bz2 historical-9850c458787c69cb7afd852707ddaebe86163c52.zip |
Fixes #2617.
Diffstat (limited to 'dev-java/antlr/antlr-2.7.1-r3.ebuild')
-rw-r--r-- | dev-java/antlr/antlr-2.7.1-r3.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-java/antlr/antlr-2.7.1-r3.ebuild b/dev-java/antlr/antlr-2.7.1-r3.ebuild new file mode 100644 index 000000000000..bc6bc3774078 --- /dev/null +++ b/dev-java/antlr/antlr-2.7.1-r3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Karl Trygve Kalleberg <karltk@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/antlr-2.7.1-r3.ebuild,v 1.1 2002/05/10 15:29:15 karltk Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="A parser generator for Java, C++ and Sather, written in Java" +SRC_URI="http://www.antlr.org/D00100100/antlr-2.7.1.tar.gz" +HOMEPAGE="http://www.antlr.org" +DEPEND=">=virtual/jdk-1.2 + >=dev-java/jikes-1.13 + >=sys-devel/gcc-2.95.3" + +src_compile() { + PATH=${PATH}:${JAVA_HOME}/bin JAVAC=jikes make all-jars || die + cd lib/cpp + econf || die + emake || die +} + +src_install () { + insinto /usr/share/antlr + dojar antlr.debug.jar antlr.jar antlrall.jar + doins extras/antlr-mode.el + dohtml -r doc/* + cp -R examples ${D}/usr/share/doc/${P}/ + dodoc RIGHTS + cd lib/cpp + make DESTDIR=$D install +} + |