1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 JAVA_PKG_IUSE="doc examples"
11 DESCRIPTION="Java Management Extensions for managing and monitoring"
12 HOMEPAGE="http://www.oracle.com/technetwork/java/javase/tech/javamanagement-140525.html"
13 SRC_URI="${MY_P}-ri.zip"
15 LICENSE="Oracle-BCLA-JavaSE"
17 KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos"
20 DEPEND=">=virtual/jdk-1.4
22 RDEPEND=">=virtual/jre-1.4"
23 RESTRICT="bindist fetch"
25 S="${WORKDIR}/${MY_P}-bin"
27 DOWNLOADSITE="http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-plat-419418.html"
33 einfo " Due to license restrictions, we cannot fetch the"
34 einfo " distributables automagically."
36 einfo " 1. Visit ${DOWNLOADSITE} and follow instructions"
37 einfo " 2. Download ${SRC_URI}"
38 einfo " 3. Move file to your DISTDIR directory"
39 einfo " 4. Run emerge on this package again to complete"
44 java-pkg_dojar lib/*.jar
46 java-pkg_dojavadoc doc/api
47 java-pkg_dohtml -r doc/doc doc/index.html
49 use examples && java-pkg_doexamples examples