diff options
author | Sam James <sam@gentoo.org> | 2020-10-25 23:37:32 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-10-25 23:37:32 +0000 |
commit | e759cadb9c3a5d40fb5473246aa12a3fbd131c2e (patch) | |
tree | 956bf829d971d37812ad20481220d3ef7699d7e5 /dev-java | |
parent | dev-java/jbitcollider-core: port to EAPI 7 (diff) | |
download | gentoo-e759cadb9c3a5d40fb5473246aa12a3fbd131c2e.tar.gz gentoo-e759cadb9c3a5d40fb5473246aa12a3fbd131c2e.tar.bz2 gentoo-e759cadb9c3a5d40fb5473246aa12a3fbd131c2e.zip |
dev-java/sun-jmx: port to EAPI 7
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/sun-jmx/sun-jmx-1.2.1-r3.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-java/sun-jmx/sun-jmx-1.2.1-r3.ebuild b/dev-java/sun-jmx/sun-jmx-1.2.1-r3.ebuild index 42e2b32f5178..4bc3e8a1ac7c 100644 --- a/dev-java/sun-jmx/sun-jmx-1.2.1-r3.ebuild +++ b/dev-java/sun-jmx/sun-jmx-1.2.1-r3.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 JAVA_PKG_IUSE="doc examples" @@ -15,8 +15,8 @@ SRC_URI="${MY_P}-ri.zip" LICENSE="Oracle-BCLA-JavaSE" SLOT="0" KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos" -IUSE="" +BDEPEND="app-arch/unzip" DEPEND=">=virtual/jdk-1.4 app-arch/unzip" RDEPEND=">=virtual/jre-1.4" @@ -42,9 +42,11 @@ pkg_nofetch() { src_install() { java-pkg_dojar lib/*.jar + if use doc; then java-pkg_dojavadoc doc/api java-pkg_dohtml -r doc/doc doc/index.html fi + use examples && java-pkg_doexamples examples } |