summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/violinstrings/violinstrings-1.0.2.ebuild')
-rw-r--r--dev-java/violinstrings/violinstrings-1.0.2.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-java/violinstrings/violinstrings-1.0.2.ebuild b/dev-java/violinstrings/violinstrings-1.0.2.ebuild
new file mode 100644
index 000000000000..7d15d01ab517
--- /dev/null
+++ b/dev-java/violinstrings/violinstrings-1.0.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/violinstrings/violinstrings-1.0.2.ebuild,v 1.1 2004/02/22 02:02:44 zx Exp $
+
+inherit java-pkg
+
+DESCRIPTION="ViolinStrings is a very useful Java package written by Michael Schmelling that provides dozens of functions to manipulate strings."
+SRC_URI="http://vigna.dsi.unimi.it/ViolinStrings/${P}-src.tar.gz"
+HOMEPAGE="http://vigna.dsi.unimi.it/ViolinStrings/"
+LICENSE="X11"
+SLOT="0"
+KEYWORDS="x86"
+
+RDEPEND=">=virtual/jdk-1.4"
+DEPEND=">=virtual/jre-1.4"
+
+src_compile() {
+ local antflags="jar"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use doc && antflags="${antflags} javadoc"
+ ant ${antflags}
+}
+
+src_install() {
+ java-pkg_dojar *.jar
+ dodoc CHANGES
+ use doc && dohtml -r docs/*
+}
+