summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-04-26 03:37:31 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-04-26 03:37:31 +0000
commitf291c2ad29a5ea4118475286932aa627e1e973b5 (patch)
treec27bc4f32c573befa159f70fd1072a6a20ad954d /dev-java/javacc
parentAdd die following econf for bug 48950 (Manifest recommit) (diff)
downloadgentoo-2-f291c2ad29a5ea4118475286932aa627e1e973b5.tar.gz
gentoo-2-f291c2ad29a5ea4118475286932aa627e1e973b5.tar.bz2
gentoo-2-f291c2ad29a5ea4118475286932aa627e1e973b5.zip
Closes #48551 #48481
Diffstat (limited to 'dev-java/javacc')
-rw-r--r--dev-java/javacc/ChangeLog6
-rw-r--r--dev-java/javacc/files/javacc-3.27
-rw-r--r--dev-java/javacc/javacc-3.2-r1.ebuild11
3 files changed, 19 insertions, 5 deletions
diff --git a/dev-java/javacc/ChangeLog b/dev-java/javacc/ChangeLog
index 2f8ec321ddde..34472cc5299c 100644
--- a/dev-java/javacc/ChangeLog
+++ b/dev-java/javacc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/javacc
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/javacc/ChangeLog,v 1.3 2004/03/30 15:33:20 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/javacc/ChangeLog,v 1.4 2004/04/26 03:37:17 zx Exp $
+
+ 30 Apr 2004; Chris Aniszczyk <zx@gentoo.org> javacc-3.2-r1.ebuild,
+ files/javacc-3.2:
+ Bug fixes galore. Closes #48551 #48481
30 Mar 2004; David Holm <dholm@gentoo.org> javacc-3.2-r1.ebuild:
Added to ~ppc.
diff --git a/dev-java/javacc/files/javacc-3.2 b/dev-java/javacc/files/javacc-3.2
new file mode 100644
index 000000000000..350690f87681
--- /dev/null
+++ b/dev-java/javacc/files/javacc-3.2
@@ -0,0 +1,7 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/javacc/files/javacc-3.2,v 1.1 2004/04/26 03:37:31 zx Exp $
+
+VERSION="JavaCC @PV@"
+JAVACC_HOME=/usr/share/@PN@
+ENV_VARS="JAVACC_HOME"
diff --git a/dev-java/javacc/javacc-3.2-r1.ebuild b/dev-java/javacc/javacc-3.2-r1.ebuild
index 006d48207977..1f279358e61c 100644
--- a/dev-java/javacc/javacc-3.2-r1.ebuild
+++ b/dev-java/javacc/javacc-3.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/javacc/javacc-3.2-r1.ebuild,v 1.3 2004/03/30 15:33:20 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/javacc/javacc-3.2-r1.ebuild,v 1.4 2004/04/26 03:37:17 zx Exp $
inherit java-pkg
@@ -11,17 +11,20 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE="doc"
-
+DEPEND="virtual/jdk
+ dev-java/ant"
RDEPEND="virtual/jre"
src_compile() {
- ant || die
+ ant || die "compilation failed"
}
src_install() {
- use doc && dohtml -r www/*
+ use doc && dohtml -r www/* && dodir /usr/share/${PN}/examples && cp -R ${S}/examples ${D}/usr/share/${PN}
java-pkg_dojar bin/lib/javacc.jar
dobin ${FILESDIR}/javacc
dobin ${FILESDIR}/jjdoc
dobin ${FILESDIR}/jjtree
+ insinto /etc/env.d
+ newins ${FILESDIR}/${P} 22${PN}
}