diff options
author | Guillaume Horel <guillaume.horel@gmail.com> | 2013-10-25 08:59:27 -0400 |
---|---|---|
committer | Guillaume Horel <guillaume.horel@gmail.com> | 2013-10-28 00:17:27 -0400 |
commit | 3fdfdae1a6c0035e0c7fb31c4c43caf447f613bf (patch) | |
tree | d8ff312e52a0259e5faf250bd6fdfa7f3635ca82 /dev-java/jgraphx | |
parent | new license: CeCILL-2.1 (diff) | |
download | sci-3fdfdae1a6c0035e0c7fb31c4c43caf447f613bf.tar.gz sci-3fdfdae1a6c0035e0c7fb31c4c43caf447f613bf.tar.bz2 sci-3fdfdae1a6c0035e0c7fb31c4c43caf447f613bf.zip |
dev-java/jgraphx version bump
Diffstat (limited to 'dev-java/jgraphx')
-rw-r--r-- | dev-java/jgraphx/Manifest | 1 | ||||
-rw-r--r-- | dev-java/jgraphx/jgraphx-2.1.0.8.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-java/jgraphx/Manifest b/dev-java/jgraphx/Manifest index 9e3a58174..45b514027 100644 --- a/dev-java/jgraphx/Manifest +++ b/dev-java/jgraphx/Manifest @@ -1,2 +1,3 @@ DIST jgraphx-1.4.1.0.zip 4052749 SHA256 086cd3de7d2b381a61f5a7d5eea19e80d3f1f1aaff9642d2b9e582d86a312f59 DIST jgraphx-1.8.0.6.zip 4216848 SHA256 237035982616769f0c15b805b4ce12616915498a5995fbdae814b97f434c860d SHA512 07985168625f094a8de9ab0e5c6050dd1a5d537b21eb6c73e468ad21db2758ac78a272dfedf22b94585eff4f77288ad99f8f1b70b18462754f0f3048ad06e40f WHIRLPOOL 403b784bdf934fc4a6aae643badb4380279bd15ea87520d6df0ed3d3ed58b020d3f0f979e9d2a2de338256bbdb5793e1e9d50634c60e83d104ceb88b96fcefba +DIST jgraphx-2.1.0.8.zip 4454226 SHA256 afe3a41eb81a2f4e279e24ef04c6f1b1bd4a49cdabb882f55901dcc63f62e78b SHA512 eab95884c6e6e40a3b01685b220c3ed3a11fbfc008bd8b08c01e96a41eeabca70495485d1c77b79e08f7d5d72026832c8a7c1deacd80c964f4db774bea3498a0 WHIRLPOOL 21f35579d5d81ea3af5eca3ae87c85e87b9ffac7df94405d4bfd7670fcac00d37ea299eee022e77d25df1d50b2f5200e277e5a96228b851312ecc3fe33c6617d diff --git a/dev-java/jgraphx/jgraphx-2.1.0.8.ebuild b/dev-java/jgraphx/jgraphx-2.1.0.8.ebuild new file mode 100644 index 000000000..899c3a96a --- /dev/null +++ b/dev-java/jgraphx/jgraphx-2.1.0.8.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +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="2.1" +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 +} |