diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-09-23 21:35:04 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-09-23 21:35:04 -0400 |
commit | 8d1f2f2a33a74ce5bd033ae8dba9b40bf1d028ad (patch) | |
tree | 92ceac3b89515b54ec3245eb9e5c2522b5b5d110 /app-text/languagetool | |
parent | app-misc/byobu: version bump to 5.112 (diff) | |
download | gentoo-8d1f2f2a33a74ce5bd033ae8dba9b40bf1d028ad.tar.gz gentoo-8d1f2f2a33a74ce5bd033ae8dba9b40bf1d028ad.tar.bz2 gentoo-8d1f2f2a33a74ce5bd033ae8dba9b40bf1d028ad.zip |
app-text/languagetool: initial import
Diffstat (limited to 'app-text/languagetool')
-rw-r--r-- | app-text/languagetool/Manifest | 1 | ||||
-rw-r--r-- | app-text/languagetool/languagetool-3.4.ebuild | 75 | ||||
-rw-r--r-- | app-text/languagetool/metadata.xml | 8 |
3 files changed, 84 insertions, 0 deletions
diff --git a/app-text/languagetool/Manifest b/app-text/languagetool/Manifest new file mode 100644 index 000000000000..a3e18373c589 --- /dev/null +++ b/app-text/languagetool/Manifest @@ -0,0 +1 @@ +DIST LanguageTool-3.4.zip 95764120 SHA256 ff36380c5807c5bdc67d222c5f2adeeb0a047a02661885c29cd8297443846c9c SHA512 450c5faa98b61cd2ed132f1e3ff592914e0abd58ed02d9c372fb9ef57d566d32d7bbb3a3ecf6a3d26248379bbecd35934e4ae0e33bb5ae821eaa0eb17d6e07e2 WHIRLPOOL 9f44486917581ed723f61d5d8af7100c4ab679a7ca36362b2426f04575bf90966e2a5b6de15b28cbec517bae5f1d6ae1ec18c6c9b0643880130da03e838dc09d diff --git a/app-text/languagetool/languagetool-3.4.ebuild b/app-text/languagetool/languagetool-3.4.ebuild new file mode 100644 index 000000000000..b5431c40bc6d --- /dev/null +++ b/app-text/languagetool/languagetool-3.4.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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-lang:2.1 + dev-java/commons-logging:0 + dev-java/guava:18 + dev-java/hamcrest-core:1.3 + dev-java/jna: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-lang,commons-logging,jna,junit}.jar || die + java-pkg_jarinto /usr/share/${PN}/libs + java-pkg_jar-from commons-lang-2.1 + 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 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 +} diff --git a/app-text/languagetool/metadata.xml b/app-text/languagetool/metadata.xml new file mode 100644 index 000000000000..84f8f1cf6bcb --- /dev/null +++ b/app-text/languagetool/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>vim@gentoo.org</email> + <name>Gentoo Vim Project</name> + </maintainer> +</pkgmetadata> |