blob: 8199512b27d7e4575c9f634e3348ebac3f1b3c36 (
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
29
30
31
32
33
34
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/qdox/qdox-20050104.ebuild,v 1.4 2005/05/04 20:05:58 luckyduck Exp $
inherit java-pkg
DESCRIPTION="Parser for extracting class/interface/method definitions from source files with JavaDoc tags."
HOMEPAGE="http://qdox.codehaus.org"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="Apache-1.1"
SLOT="1.6" # it's the 1.6 codebase
KEYWORDS="x86 amd64 ppc"
IUSE="doc jikes source"
DEPEND=">=virtual/jdk-1.4
jikes? ( >=dev-java/jikes-1.21 )
>=dev-java/ant-core-1.4"
RDEPEND=">=virtual/jre-1.4"
src_compile() {
local antflags="jar"
use doc && antflags="${antflags} docs"
use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
ant ${antflags} || die "failed to build"
}
src_install() {
java-pkg_dojar dist/${PN}.jar
dodoc README.txt
use doc && java-pkg_dohtml -r doc/*
use source && java-pkg_dosrc src/java/*
}
|