summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/jgraph/ChangeLog9
-rw-r--r--dev-java/jgraph/jgraph-5.12.0.4.ebuild44
2 files changed, 51 insertions, 2 deletions
diff --git a/dev-java/jgraph/ChangeLog b/dev-java/jgraph/ChangeLog
index fed5b57c7ac3..108ac8c6ec36 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.28 2008/02/26 13:32:23 opfer Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jgraph/ChangeLog,v 1.29 2008/03/29 01:23:28 ali_bush Exp $
+
+*jgraph-5.12.0.4 (29 Mar 2008)
+
+ 29 Mar 2008; Alistair Bush <ali_bush@gentoo.org> +jgraph-5.12.0.4.ebuild:
+ Version Bump.
25 Nov 2007; Brent Baude <ranger@gentoo.org> jgraph-5.10.1.2.ebuild:
Marking jgraph-5.10.1.2 ppc for bug 199255
diff --git a/dev-java/jgraph/jgraph-5.12.0.4.ebuild b/dev-java/jgraph/jgraph-5.12.0.4.ebuild
new file mode 100644
index 000000000000..0014442052a7
--- /dev/null
+++ b/dev-java/jgraph/jgraph-5.12.0.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jgraph/jgraph-5.12.0.4.ebuild,v 1.1 2008/03/29 01:23:28 ali_bush 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}"
+ rm -v *.class || die
+
+ # 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
+}