blob: 90f78c4e673fb0fd2f1f69386821a5af7d462a79 (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/fscript/fscript-1.14.ebuild,v 1.1 2004/02/19 03:42:13 zx Exp $
inherit java-pkg
DESCRIPTION="Java based scripting engine designed to be embedded into other Java applications."
HOMEPAGE="http://fscript.sourceforge.net/"
SRC_URI="mirror://sourceforge/fscript/${P}.tgz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~x86"
DEPEND=">=virtual/jdk-1.4
dev-java/ant"
RDEPEND=">=virtual/jre-1.4"
IUSE="doc jikes"
S="${WORKDIR}/${P}"
src_compile() {
local antflags="jar"
use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
use doc && antflags="${antflags} jdoc"
ant ${antflags}
}
src_install () {
java-pkg_dojar *.jar
dodoc CREDITS README VERSION
use doc && dohtml -r docs/ && cp -r examples/ ${D}/usr/share/${PN}/
}
|