summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/fscript/fscript-1.15.ebuild')
-rw-r--r--dev-java/fscript/fscript-1.15.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-java/fscript/fscript-1.15.ebuild b/dev-java/fscript/fscript-1.15.ebuild
new file mode 100644
index 000000000000..03ae77dfe594
--- /dev/null
+++ b/dev-java/fscript/fscript-1.15.ebuild
@@ -0,0 +1,30 @@
+# 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.15.ebuild,v 1.1 2004/05/21 19:12:18 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"
+RESTRICT="nomirror"
+
+src_compile() {
+ local antflags="jar"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use doc && antflags="${antflags} jdoc"
+ ant ${antflags} || die "compilation problem"
+}
+
+src_install () {
+ java-pkg_dojar *.jar
+ dodoc CREDITS README VERSION
+ use doc && dohtml -r docs/ && cp -r examples/ ${D}/usr/share/${PN}/
+}