summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-10-26 00:03:37 -0400
committerTim Harder <radhermit@gentoo.org>2016-10-26 00:04:54 -0400
commit291b09583906121719a9296ab4aef10b000dd2da (patch)
treee1f7599b85b4b78180ca330f2e000a6b0901c60b /app-text/languagetool
parentprofiles/base: drop commented entries from packages (diff)
downloadgentoo-291b09583906121719a9296ab4aef10b000dd2da.tar.gz
gentoo-291b09583906121719a9296ab4aef10b000dd2da.tar.bz2
gentoo-291b09583906121719a9296ab4aef10b000dd2da.zip
app-text/languagetool: version bump to 3.5
Diffstat (limited to 'app-text/languagetool')
-rw-r--r--app-text/languagetool/Manifest1
-rw-r--r--app-text/languagetool/languagetool-3.5.ebuild79
2 files changed, 80 insertions, 0 deletions
diff --git a/app-text/languagetool/Manifest b/app-text/languagetool/Manifest
index a3e18373c589..6c7e79775436 100644
--- a/app-text/languagetool/Manifest
+++ b/app-text/languagetool/Manifest
@@ -1 +1,2 @@
DIST LanguageTool-3.4.zip 95764120 SHA256 ff36380c5807c5bdc67d222c5f2adeeb0a047a02661885c29cd8297443846c9c SHA512 450c5faa98b61cd2ed132f1e3ff592914e0abd58ed02d9c372fb9ef57d566d32d7bbb3a3ecf6a3d26248379bbecd35934e4ae0e33bb5ae821eaa0eb17d6e07e2 WHIRLPOOL 9f44486917581ed723f61d5d8af7100c4ab679a7ca36362b2426f04575bf90966e2a5b6de15b28cbec517bae5f1d6ae1ec18c6c9b0643880130da03e838dc09d
+DIST LanguageTool-3.5.zip 93540212 SHA256 643029da89041ccfb48772deaf0dd0e16942de2d381c5dc8ae9372f1b043bcab SHA512 ad49dd292ca6841e1ef439b2dbe55748f621333b418bd6a596534cd5b2cb7019170c98046c8e2c68c3d75a9e5d132cf329de6481eaaccb8f78aae2233bdb8e45 WHIRLPOOL d518d0eaee5447115f09dfac0071462d9a2c51e3327da7f9500a251571fb9186920f9c68eb008f151bc8db173ad22a4068b4953165d1219f05e6857fe8554369
diff --git a/app-text/languagetool/languagetool-3.5.ebuild b/app-text/languagetool/languagetool-3.5.ebuild
new file mode 100644
index 000000000000..06b03fe708d7
--- /dev/null
+++ b/app-text/languagetool/languagetool-3.5.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit java-pkg-2
+
+MY_PN=LanguageTool
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="a proof-reading tool for many languages"
+HOMEPAGE="http://www.languagetool.org/"
+SRC_URI="http://www.languagetool.org/download/${MY_P}.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=virtual/jre-1.8
+ dev-java/commons-cli:1
+ dev-java/commons-io:1
+ dev-java/commons-lang:2.1
+ dev-java/commons-logging:0
+ dev-java/guava:18
+ dev-java/hamcrest-core:1.3
+ dev-java/jna:0
+ dev-java/jcommander:0
+ dev-java/slf4j-api:0
+ dev-java/slf4j-nop:0
+"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ java-pkg-2_src_prepare
+ default
+}
+
+src_compile() { :; }
+
+src_install() {
+ insinto /usr/share/${PN}
+ doins *.jar
+ doins -r org META-INF
+
+ cat >>"${T}/${PN}" <<-EOF
+ #!/bin/sh
+ cd "${EROOT}usr/share/${PN}"
+ java -jar ${PN}-commandline.jar \$@
+ EOF
+
+ cat >>"${T}/${PN}-gui" <<-EOF
+ #!/bin/sh
+ cd "${EROOT}usr/share/${PN}"
+ java -jar ${PN}.jar \$@
+ EOF
+ exeinto /usr/bin
+ doexe "${T}"/${PN} "${T}"/${PN}-gui
+
+ dodoc CHANGES.md README.md
+
+ pushd libs >/dev/null || die
+ rm {commons-io,commons-lang,commons-logging,jcommander,jna,junit}.jar || die
+ java-pkg_jarinto /usr/share/${PN}/libs
+ java-pkg_jar-from commons-io-1 commons-io.jar
+ java-pkg_jar-from commons-lang-2.1 commons-lang.jar
+ java-pkg_jar-from commons-logging commons-logging.jar
+ java-pkg_jar-from commons-cli-1 commons-cli.jar
+ java-pkg_jar-from guava-18 guava.jar
+ java-pkg_jar-from hamcrest-core-1.3 hamcrest-core.jar
+ java-pkg_jar-from jcommander jcommander.jar
+ java-pkg_jar-from jna jna.jar
+ java-pkg_jar-from slf4j-api slf4j-api.jar
+ java-pkg_jar-from slf4j-nop slf4j-nop.jar
+ java-pkg_dojar *.jar
+ popd >/dev/null || die
+}