1 |
commit: fd444703a13ebcb49682e729b3ab4c94533d53c2 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 20 22:26:19 2018 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 20 22:26:53 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd444703 |
7 |
|
8 |
dev-java/javahelp: Bump to 2.0.05_p20170719, EAPI 6 |
9 |
|
10 |
I dropped the doc flag because the javadocs don't build under Java 8. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/643318 |
13 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
14 |
|
15 |
dev-java/javahelp/Manifest | 1 + |
16 |
dev-java/javahelp/javahelp-2.0.05_p20170719.ebuild | 68 ++++++++++++++++++++++ |
17 |
2 files changed, 69 insertions(+) |
18 |
|
19 |
diff --git a/dev-java/javahelp/Manifest b/dev-java/javahelp/Manifest |
20 |
index 5e9af92892e..90cce4e3a76 100644 |
21 |
--- a/dev-java/javahelp/Manifest |
22 |
+++ b/dev-java/javahelp/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
+DIST javahelp-2.0.05_p20170719.tar.gz 6045243 BLAKE2B 3cea100e6087f7f8884a04cc1b046f2611e4c516be0086faec685a85311f2cfd9ca49ee9f3fdff37d7e9a496685dc288601521047a3d4c2ae6b31faee2ad7390 SHA512 6d98c33f831052133176cf50419aae6dc1f5715485bcfd33f7e346cb694f5483b1f7a159f47799a72933db8ca42d83cb73b23946179aa6ccaee946d524b3bd36 |
25 |
DIST javahelp2-src-2.0.05_svn63.zip 3747088 BLAKE2B 80f0fd45741d313fd47ccb9874d31636d12f452ff012dc010de2879bf67a22bd58f6fbde7df86117f463a949f7897ec5e1e3721b1fdd1ee0fc794f30152e188f SHA512 ed795dad98f8d80f4cd4cda40b6aea0978cda621b131b1563016c1ddc02afeb37f3626a28003dac26d7fe996274fb9a97e741a500b15d06b1e5a93342020abc3 |
26 |
|
27 |
diff --git a/dev-java/javahelp/javahelp-2.0.05_p20170719.ebuild b/dev-java/javahelp/javahelp-2.0.05_p20170719.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..5c067b1698f |
30 |
--- /dev/null |
31 |
+++ b/dev-java/javahelp/javahelp-2.0.05_p20170719.ebuild |
32 |
@@ -0,0 +1,68 @@ |
33 |
+# Copyright 1999-2018 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+COMMIT="3ca862d8626096770598a3a256886d205246f4a4" |
39 |
+JAVA_PKG_IUSE="examples source" |
40 |
+ |
41 |
+inherit java-pkg-2 java-ant-2 |
42 |
+ |
43 |
+DESCRIPTION="The JavaHelp system online help system" |
44 |
+HOMEPAGE="https://javaee.github.io/javahelp/" |
45 |
+SRC_URI="https://github.com/javaee/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-2-with-linking-exception" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" |
50 |
+ |
51 |
+CDEPEND="java-virtuals/servlet-api:2.4" |
52 |
+ |
53 |
+RDEPEND=">=virtual/jre-1.4 |
54 |
+ ${CDEPEND}" |
55 |
+ |
56 |
+DEPEND=">=virtual/jdk-1.4 |
57 |
+ ${CDEPEND}" |
58 |
+ |
59 |
+S="${WORKDIR}/${PN}-${COMMIT}" |
60 |
+ |
61 |
+_eant() { |
62 |
+ local \ |
63 |
+ servlet_jar=$(java-pkg_getjar --virtual servlet-api-2.4 servlet-api.jar) \ |
64 |
+ jsp_jar=$(java-pkg_getjar --virtual servlet-api-2.4 jsp-api.jar) |
65 |
+ |
66 |
+ eant \ |
67 |
+ -f javahelp_nbproject/build.xml \ |
68 |
+ -Dfile.reference.servlet-api.jar="${servlet_jar}" \ |
69 |
+ -Dfile.reference.jsp-api.jar="${jsp_jar}" \ |
70 |
+ -Dservlet-jar="${servlet_jar}" \ |
71 |
+ -Djsp-jar="${jsp_jar}" \ |
72 |
+ -Dservlet-jar-present=true \ |
73 |
+ -Djsp-jar-present=true \ |
74 |
+ -Dtomcat-zip-present=true \ |
75 |
+ ${@} |
76 |
+} |
77 |
+ |
78 |
+src_compile() { |
79 |
+ _eant release |
80 |
+} |
81 |
+ |
82 |
+#Does not actually run anything |
83 |
+#src_test() { |
84 |
+# _eant test |
85 |
+#} |
86 |
+ |
87 |
+src_install() { |
88 |
+ java-pkg_dojar javahelp_nbproject/dist/lib/*.jar |
89 |
+ |
90 |
+ java-pkg_dolauncher jhsearch \ |
91 |
+ --main com.sun.java.help.search.QueryEngine |
92 |
+ java-pkg_dolauncher jhindexer \ |
93 |
+ --main com.sun.java.help.search.Indexer |
94 |
+ |
95 |
+ use source && java-pkg_dosrc \ |
96 |
+ jhMaster/JSearch/*/com \ |
97 |
+ jhMaster/JavaHelp/src/*/{javax,com} |
98 |
+ |
99 |
+ use examples && java-pkg_doexamples jhMaster/JavaHelp/demos |
100 |
+} |