diff options
author | James Le Cuirot <chewi@gentoo.org> | 2015-09-20 11:18:23 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2015-09-20 11:19:07 +0100 |
commit | 7cebd3df06dbe71b448e67b812ccb0ec0751b43d (patch) | |
tree | 1d853a6339005cd940bcbd4e0e57a318f8063a71 /dev-java/treelayout | |
parent | gnome-extra/zeitgeist: Clean old (diff) | |
download | gentoo-7cebd3df06dbe71b448e67b812ccb0ec0751b43d.tar.gz gentoo-7cebd3df06dbe71b448e67b812ccb0ec0751b43d.tar.bz2 gentoo-7cebd3df06dbe71b448e67b812ccb0ec0751b43d.zip |
dev-java/treelayout: New package, needed by latest antlr 4
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-java/treelayout')
-rw-r--r-- | dev-java/treelayout/Manifest | 1 | ||||
-rw-r--r-- | dev-java/treelayout/metadata.xml | 6 | ||||
-rw-r--r-- | dev-java/treelayout/treelayout-1.0.2.ebuild | 42 |
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-java/treelayout/Manifest b/dev-java/treelayout/Manifest new file mode 100644 index 000000000000..898524ea82d7 --- /dev/null +++ b/dev-java/treelayout/Manifest @@ -0,0 +1 @@ +DIST treelayout-1.0.2.tar.gz 1007086 SHA256 e5f8dbf13cc1103b7eb96d297b1f31bcbe18c685f2f3dbda0ea56cb27aa4dc16 SHA512 89a627d8ab2f248bb9b22139de0a28f310deb555f78825f29f4acfd0df7b4c212c8df241b004f8452a4be8a0f7717ee996df3eef4dd88ca905f4ad211df92655 WHIRLPOOL cadb16ed599fca669f5b584eb9bb75c9c7b3eb718927886c33e82240732c7a2c2d6d198f8dbbd4bc2552d75f1eaa298087b7b2fbc6b549db448e607631ab44d0 diff --git a/dev-java/treelayout/metadata.xml b/dev-java/treelayout/metadata.xml new file mode 100644 index 000000000000..c3c6a2eb6e3a --- /dev/null +++ b/dev-java/treelayout/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <longdescription>The TreeLayout creates tree layouts for arbitrary trees. It is not restricted to a specific output or format, but can be used for any kind of two dimensional diagram. Examples are Swing based components, SVG files, and many more. This is possible because TreeLayout separates the layout of a tree from the actual rendering.</longdescription> +</pkgmetadata> diff --git a/dev-java/treelayout/treelayout-1.0.2.ebuild b/dev-java/treelayout/treelayout-1.0.2.ebuild new file mode 100644 index 000000000000..da4671041a4e --- /dev/null +++ b/dev-java/treelayout/treelayout-1.0.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Efficiently create compact tree layouts in Java" +SRC_URI="https://github.com/abego/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://github.com/abego/treelayout" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="test" + +RDEPEND=">=virtual/jre-1.6" + +DEPEND=">=virtual/jdk-1.6 + test? ( dev-java/ant-junit:0 )" + +S="${WORKDIR}/${P}/org.abego.${PN}" +JAVA_ANT_REWRITE_CLASSPATH="true" +JAVA_PKG_BSFIX_NAME="build-impl.xml" +EANT_BUILD_XML="nbproject/build-impl.xml" + +src_configure() { + EANT_EXTRA_ARGS="-Dplatform.home=${JAVA_HOME}" +} + +src_install() { + java-pkg_newjar dist/org.abego.${PN}.core.jar + dodoc CHANGES.txt doc/abegoTreeLayout.pdf + use doc && java-pkg_dojavadoc dist/javadoc + use source && java-pkg_dosrc src/main/java/* +} + +src_test() { + java-pkg-2_src_test +} |