aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jgraphx')
-rw-r--r--dev-java/jgraphx/Manifest2
-rw-r--r--dev-java/jgraphx/jgraphx-1.0.2.8.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-java/jgraphx/Manifest b/dev-java/jgraphx/Manifest
new file mode 100644
index 000000000..819eabd11
--- /dev/null
+++ b/dev-java/jgraphx/Manifest
@@ -0,0 +1,2 @@
+DIST jgraphx-1_0_2_8.zip 2049501 RMD160 368e54870f215322818f20cc76c8630894368d5b SHA1 a3bc134d145ac34e6f2243042d4f309becb966ef SHA256 a7d773b5e797887e48b5b4b9141ae5f773ae7e6e2b15c4b7f6f9d5511919fe17
+EBUILD jgraphx-1.0.2.8.ebuild 1047 RMD160 fe6799778a3645c4f1422ebbf3de8fb2a2800971 SHA1 fb7b29af05f105dce842218b83eaf69608fcbfd4 SHA256 4ff0fade90ac7f7125f0570b1d4b147f21d2731feefd9f9a4f471b0741c489f7
diff --git a/dev-java/jgraphx/jgraphx-1.0.2.8.ebuild b/dev-java/jgraphx/jgraphx-1.0.2.8.ebuild
new file mode 100644
index 000000000..e7d5bd3a1
--- /dev/null
+++ b/dev-java/jgraphx/jgraphx-1.0.2.8.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2009 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.5 2008/05/13 21:09:16 ken69267 Exp $
+
+JAVA_PKG_IUSE="doc source"
+EAPI=2
+inherit java-pkg-2 java-ant-2 versionator
+
+MY_PV=$(replace_all_version_separators '_')
+
+DESCRIPTION="Open-source graph component for Java"
+SRC_URI="http://guillaume.horel.free.fr/${PN}-${MY_PV}.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="0"
+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
+ use source && java-pkg_dosrc src/org
+ use examples && java-pkg_doexamples examples
+}