From 3eb8ccb5f1ef1c1d6199b0c4b46d34ee12bc0646 Mon Sep 17 00:00:00 2001 From: Petteri Räty Date: Fri, 8 Jun 2007 20:13:53 +0000 Subject: Version bump. Fixes bug #181102. (Portage version: 2.1.2.7) --- dev-java/jgraph/ChangeLog | 8 ++++- dev-java/jgraph/files/digest-jgraph-5.10.1.2 | 3 ++ dev-java/jgraph/jgraph-5.10.1.2.ebuild | 44 ++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 dev-java/jgraph/files/digest-jgraph-5.10.1.2 create mode 100644 dev-java/jgraph/jgraph-5.10.1.2.ebuild (limited to 'dev-java/jgraph') diff --git a/dev-java/jgraph/ChangeLog b/dev-java/jgraph/ChangeLog index a7f1edbcf7b0..f019d8791a96 100644 --- a/dev-java/jgraph/ChangeLog +++ b/dev-java/jgraph/ChangeLog @@ -1,6 +1,12 @@ # 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.19 2007/05/12 11:07:42 ali_bush Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jgraph/ChangeLog,v 1.20 2007/06/08 20:13:53 betelgeuse Exp $ + +*jgraph-5.10.1.2 (08 Jun 2007) + + 08 Jun 2007; Petteri Räty + +jgraph-5.10.1.2.ebuild: + Version bump. Fixes bug #181102. *jgraph-5.10.1.0 (12 May 2007) diff --git a/dev-java/jgraph/files/digest-jgraph-5.10.1.2 b/dev-java/jgraph/files/digest-jgraph-5.10.1.2 new file mode 100644 index 000000000000..d33c1a6d88b2 --- /dev/null +++ b/dev-java/jgraph/files/digest-jgraph-5.10.1.2 @@ -0,0 +1,3 @@ +MD5 a522da94917014daf894f82493dc6d5f jgraph-5.10.1.2-lgpl-src.jar 3632701 +RMD160 93ae88f54ac11d4c5a59bad4a67f8e81b55bd0e7 jgraph-5.10.1.2-lgpl-src.jar 3632701 +SHA256 4cd8b83125df5ecfb478bb60717ffcd86ce2ec4c14eadb0e22d9517245dad56f jgraph-5.10.1.2-lgpl-src.jar 3632701 diff --git a/dev-java/jgraph/jgraph-5.10.1.2.ebuild b/dev-java/jgraph/jgraph-5.10.1.2.ebuild new file mode 100644 index 000000000000..ea0e46ff2f5b --- /dev/null +++ b/dev-java/jgraph/jgraph-5.10.1.2.ebuild @@ -0,0 +1,44 @@ +# 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.10.1.2.ebuild,v 1.1 2007/06/08 20:13:53 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}" + 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 +} -- cgit v1.2.3-65-gdbad