diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
commit | c5283d322accc6097afec74eab24550829788bab (patch) | |
tree | b99ce668128d82a026eaa31461643f9173f9b77b /dev-java/javahelp | |
parent | 5510d9d7d1c93c2ea71a2bd6f0666168808d5dd6 (diff) |
gentoo resync : 23.03.2018
Diffstat (limited to 'dev-java/javahelp')
-rw-r--r-- | dev-java/javahelp/Manifest | 2 | ||||
-rw-r--r-- | dev-java/javahelp/javahelp-2.0.05_p20170719.ebuild | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/dev-java/javahelp/Manifest b/dev-java/javahelp/Manifest index 91b8c325801b..cacc20afdbe0 100644 --- a/dev-java/javahelp/Manifest +++ b/dev-java/javahelp/Manifest @@ -1,3 +1,5 @@ +DIST javahelp-2.0.05_p20170719.tar.gz 6045243 BLAKE2B 3cea100e6087f7f8884a04cc1b046f2611e4c516be0086faec685a85311f2cfd9ca49ee9f3fdff37d7e9a496685dc288601521047a3d4c2ae6b31faee2ad7390 SHA512 6d98c33f831052133176cf50419aae6dc1f5715485bcfd33f7e346cb694f5483b1f7a159f47799a72933db8ca42d83cb73b23946179aa6ccaee946d524b3bd36 DIST javahelp2-src-2.0.05_svn63.zip 3747088 BLAKE2B 80f0fd45741d313fd47ccb9874d31636d12f452ff012dc010de2879bf67a22bd58f6fbde7df86117f463a949f7897ec5e1e3721b1fdd1ee0fc794f30152e188f SHA512 ed795dad98f8d80f4cd4cda40b6aea0978cda621b131b1563016c1ddc02afeb37f3626a28003dac26d7fe996274fb9a97e741a500b15d06b1e5a93342020abc3 +EBUILD javahelp-2.0.05_p20170719.ebuild 1655 BLAKE2B 89a5b83544a0f67cb6bd3d1c3e643e10bcd1f3eab1440912dc289d3178230f21b892be91d32022e73063ec1da4e00d631f3bf6b9f27030969c65a8f2bffd3d26 SHA512 f4990cd1d7078879be9cf087883156fe3c72d2d46f8ff9c296057383fde59e29d286f32c6d2b8879c3386f0780e065e3a5a44e0e3550db97ca39d7eef1987453 EBUILD javahelp-2.0.05_p63.ebuild 2285 BLAKE2B 360be60aba7c50cb0b7235fa7dd970b5ee1dcf456c9cd40098da59a2d9d97c4c7519cc9c1e80b255f0ba70800b740dc4605d05d303243a30b0e5dda3c6585b05 SHA512 d79e0278aad0ac421036c44d9c748c854b6e2ce03abbd51e4b71ec183b1536636fc267a57f724bbe2f35f3b113bc269a0b9683fbb3b7f883926c0f0d9f946b49 MISC metadata.xml 624 BLAKE2B 0c06c71189c699c3baf3f8d307f8b077ec8e6e03acb4e0ede09c7537354ab6b7bc043824fa6052be49ccbd6f0debc1cbf2b1e46f42f69a95a1906be6e43639b8 SHA512 bd475a0c41855b34bb58ae6d6a3e2d164abbb97348d809f2fc305e77ca80495bccb4d71ad0aeb0b5586565c71649c6e3775b83c92272dbe8518949864120f484 diff --git a/dev-java/javahelp/javahelp-2.0.05_p20170719.ebuild b/dev-java/javahelp/javahelp-2.0.05_p20170719.ebuild new file mode 100644 index 000000000000..5c067b1698f7 --- /dev/null +++ b/dev-java/javahelp/javahelp-2.0.05_p20170719.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +COMMIT="3ca862d8626096770598a3a256886d205246f4a4" +JAVA_PKG_IUSE="examples source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="The JavaHelp system online help system" +HOMEPAGE="https://javaee.github.io/javahelp/" +SRC_URI="https://github.com/javaee/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2-with-linking-exception" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" + +CDEPEND="java-virtuals/servlet-api:2.4" + +RDEPEND=">=virtual/jre-1.4 + ${CDEPEND}" + +DEPEND=">=virtual/jdk-1.4 + ${CDEPEND}" + +S="${WORKDIR}/${PN}-${COMMIT}" + +_eant() { + local \ + servlet_jar=$(java-pkg_getjar --virtual servlet-api-2.4 servlet-api.jar) \ + jsp_jar=$(java-pkg_getjar --virtual servlet-api-2.4 jsp-api.jar) + + eant \ + -f javahelp_nbproject/build.xml \ + -Dfile.reference.servlet-api.jar="${servlet_jar}" \ + -Dfile.reference.jsp-api.jar="${jsp_jar}" \ + -Dservlet-jar="${servlet_jar}" \ + -Djsp-jar="${jsp_jar}" \ + -Dservlet-jar-present=true \ + -Djsp-jar-present=true \ + -Dtomcat-zip-present=true \ + ${@} +} + +src_compile() { + _eant release +} + +#Does not actually run anything +#src_test() { +# _eant test +#} + +src_install() { + java-pkg_dojar javahelp_nbproject/dist/lib/*.jar + + java-pkg_dolauncher jhsearch \ + --main com.sun.java.help.search.QueryEngine + java-pkg_dolauncher jhindexer \ + --main com.sun.java.help.search.Indexer + + use source && java-pkg_dosrc \ + jhMaster/JSearch/*/com \ + jhMaster/JavaHelp/src/*/{javax,com} + + use examples && java-pkg_doexamples jhMaster/JavaHelp/demos +} |