summaryrefslogtreecommitdiff
blob: 7266e6af40117eb7df04fbe6a0c758c4e23d1c11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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.ebuild,v 1.2 2004/03/29 19:10:27 karltk Exp $

inherit java-pkg

DESCRIPTION="Java Compiler Compiler [tm] (JavaCC [tm]) - The Java Parser Generator"
HOMEPAGE="https://javacc.dev.java.net/servlets/ProjectHome"
SRC_URI="https://javacc.dev.java.net/files/documents/17/3616/javacc-3.2.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc"

RDEPEND="virtual/jre"

src_compile() {
	ant || die
}

 src_install() {
 	use doc && dohtml -r www/*
 	java-pkg_dojar bin/lib/javacc.jar
 	dobin ${FILESDIR}/javacc
 	dobin ${FILESDIR}/jjdoc
 	dobin ${FILESDIR}/jjtree
}