public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: profiles/, dev-java/jgraphx/
@ 2012-07-28 19:15 Guillaume Horel
  0 siblings, 0 replies; only message in thread
From: Guillaume Horel @ 2012-07-28 19:15 UTC (permalink / raw
  To: gentoo-commits

commit:     787561d94366977a90daa36fbffcdbdbddb00788
Author:     Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
AuthorDate: Sat Jul 28 19:14:07 2012 +0000
Commit:     Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
CommitDate: Sat Jul 28 19:14:07 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=787561d9

dev-java/jgraphx version bump

---
 dev-java/jgraphx/ChangeLog              |    6 ++++
 dev-java/jgraphx/jgraphx-1.8.0.6.ebuild |   42 +++++++++++++++++++++++++++++++
 profiles/package.mask                   |    1 +
 3 files changed, 49 insertions(+), 0 deletions(-)

diff --git a/dev-java/jgraphx/ChangeLog b/dev-java/jgraphx/ChangeLog
index 0ad8189..1e6b666 100644
--- a/dev-java/jgraphx/ChangeLog
+++ b/dev-java/jgraphx/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*jgraphx-1.8.0.6 (28 Jul 2012)
+
+  28 Jul 2012; Guillaume Horel <guillaume.horel@gmail.com>
+  +jgraphx-1.8.0.6.ebuild:
+  version bump
+
   12 May 2012; Alexey Shvetsov <alexxy@gentoo.org> jgraphx-1.2.0.7.ebuild,
   jgraphx-1.3.0.2.ebuild, jgraphx-1.4.1.0.ebuild, jgraphx-1.4.1.2.ebuild:
   [dev-java/jgraphx] Fix ebuild eapi parsing and other minor issues

diff --git a/dev-java/jgraphx/jgraphx-1.8.0.6.ebuild b/dev-java/jgraphx/jgraphx-1.8.0.6.ebuild
new file mode 100644
index 0000000..895650d
--- /dev/null
+++ b/dev-java/jgraphx/jgraphx-1.8.0.6.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+JAVA_PKG_IUSE="doc source"
+inherit java-pkg-2 java-ant-2 versionator
+
+MY_PV=$(replace_all_version_separators '_')
+
+DESCRIPTION="Open-source graph component for Java"
+SRC_URI="http://www.jgraph.com/downloads/jgraphx/archive/${PN}-${MY_PV}.zip\
+		-> ${P}.zip"
+HOMEPAGE="http://www.jgraph.com"
+IUSE="doc examples source"
+DEPEND=">=virtual/jdk-1.5
+	app-arch/unzip"
+RDEPEND=">=virtual/jre-1.5"
+LICENSE="as-is"
+SLOT="1.8"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+	# don't do javadoc always
+	sed -i \
+		-e 's/depends="doc"/depends="compile"/' \
+		build.xml || die "sed failed"
+	rm -rf doc/api lib/jgraphx.jar || die
+}
+
+EANT_BUILD_TARGET="build"
+EANT_DOC_TARGET="doc"
+
+src_install() {
+	java-pkg_dojar lib/${PN}.jar
+
+	use doc && java-pkg_dojavadoc docs/api
+	use source && java-pkg_dosrc src/org
+	use examples && java-pkg_doexamples examples
+}

diff --git a/profiles/package.mask b/profiles/package.mask
index b2d90b1..1de7826 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -34,6 +34,7 @@
 # masked for upcoming scilab-5.4.0
 =dev-java/jrosetta-1.0.4
 =dev-java/flexdock-1.2.0
+>=dev-java/jgraphx-1.8
 
 # Nicolas Bock <nicolasbock@gmail.com> (05 July 2012)
 # live ebuild


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-07-28 21:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-28 19:15 [gentoo-commits] proj/sci:master commit in: profiles/, dev-java/jgraphx/ Guillaume Horel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox