summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/jgraph/ChangeLog7
-rw-r--r--dev-java/jgraph/files/digest-jgraph-5.9.2.13
-rw-r--r--dev-java/jgraph/jgraph-5.9.2.1.ebuild43
3 files changed, 52 insertions, 1 deletions
diff --git a/dev-java/jgraph/ChangeLog b/dev-java/jgraph/ChangeLog
index 74b453d22879..ade379d2b8bf 100644
--- a/dev-java/jgraph/ChangeLog
+++ b/dev-java/jgraph/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/jgraph
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jgraph/ChangeLog,v 1.16 2007/02/28 18:01:00 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jgraph/ChangeLog,v 1.17 2007/05/01 15:18:30 betelgeuse Exp $
+
+*jgraph-5.9.2.1 (01 May 2007)
+
+ 01 May 2007; Petteri Räty <betelgeuse@gentoo.org> +jgraph-5.9.2.1.ebuild:
+ Version bump.
28 Feb 2007; Simon Stelling <blubb@gentoo.org> jgraph-5.9.2.0.ebuild:
stable on amd64; bug 154366
diff --git a/dev-java/jgraph/files/digest-jgraph-5.9.2.1 b/dev-java/jgraph/files/digest-jgraph-5.9.2.1
new file mode 100644
index 000000000000..c1c35203eb53
--- /dev/null
+++ b/dev-java/jgraph/files/digest-jgraph-5.9.2.1
@@ -0,0 +1,3 @@
+MD5 32c1a16991c84d9e00b0eacc6a62663a jgraph-5.9.2.1-lgpl-src.jar 3608194
+RMD160 5cab2a467ac5a7b07d6e23a1acbdd263a79ef77d jgraph-5.9.2.1-lgpl-src.jar 3608194
+SHA256 f7521de126fce14c892ab4d42e05dab7faf38667e609d34a5428a3fb50140048 jgraph-5.9.2.1-lgpl-src.jar 3608194
diff --git a/dev-java/jgraph/jgraph-5.9.2.1.ebuild b/dev-java/jgraph/jgraph-5.9.2.1.ebuild
new file mode 100644
index 000000000000..0c57ee8283d2
--- /dev/null
+++ b/dev-java/jgraph/jgraph-5.9.2.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jgraph/jgraph-5.9.2.1.ebuild,v 1.1 2007/05/01 15:18:30 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Open-source graph component for Java"
+SRC_URI="mirror://sourceforge/${PN}/${P}-lgpl-src.jar"
+HOMEPAGE="http://www.jgraph.com"
+IUSE="doc examples source"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip"
+RDEPEND=">=virtual/jre-1.4"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # don't do javadoc always
+ sed -i -e 's/depends="compile, doc"/depends="compile"/' build.xml || \
+ die "sed failed"
+
+ rm -rf doc/api || die
+ rm lib/jgraph.jar || die
+}
+
+EANT_DOC_TARGET="apidoc"
+
+src_install() {
+ java-pkg_dojar build/lib/${PN}.jar
+
+ dodoc README WHATSNEW ChangeLog || die
+ use doc && java-pkg_dojavadoc build/doc/api
+ use source && java-pkg_dosrc src/org
+ use examples && java-pkg_doexamples examples
+}