summaryrefslogtreecommitdiff
path: root/app-text/languagetool
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/languagetool
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/languagetool')
-rw-r--r--app-text/languagetool/Manifest4
-rw-r--r--app-text/languagetool/languagetool-3.5-r1.ebuild67
-rw-r--r--app-text/languagetool/metadata.xml8
3 files changed, 79 insertions, 0 deletions
diff --git a/app-text/languagetool/Manifest b/app-text/languagetool/Manifest
new file mode 100644
index 000000000000..7966c00f1be7
--- /dev/null
+++ b/app-text/languagetool/Manifest
@@ -0,0 +1,4 @@
+DIST LanguageTool-3.5.zip 93540212 SHA256 643029da89041ccfb48772deaf0dd0e16942de2d381c5dc8ae9372f1b043bcab SHA512 ad49dd292ca6841e1ef439b2dbe55748f621333b418bd6a596534cd5b2cb7019170c98046c8e2c68c3d75a9e5d132cf329de6481eaaccb8f78aae2233bdb8e45 WHIRLPOOL d518d0eaee5447115f09dfac0071462d9a2c51e3327da7f9500a251571fb9186920f9c68eb008f151bc8db173ad22a4068b4953165d1219f05e6857fe8554369
+EBUILD languagetool-3.5-r1.ebuild 1401 SHA256 960981b9bdc783b489a1d2acaea5bcc28684a60436b7921927c54233d70770f2 SHA512 06017178133ce4deb304287cbb7529a0bf3ec26a606042e8b6db80c5a2a6641c2caa9b4196069fc60d0d03a4010f57b41634d9e25b36fdc2bcb4a6cfde190c83 WHIRLPOOL 906ebbe821b1107badc863e1d53af21340527ca354b54a2fc825925c00a767131e435275e5b9395c1a7c6961304870299f0e60502d6f2ceb45cd6d99b32b078d
+MISC ChangeLog 1508 SHA256 883ecbbc944a1a77dc5534ea300e184b77938d38a7119c68237c9a6259e69dc1 SHA512 ed2a9af8491d7f9d780369ede3db5bee121d81a0a7f64e0204bdece919a13fcae076166f537cf045de09058dd5214a857a2d88b545abf436e0b64e95e3882de6 WHIRLPOOL a5476d6578b5e8e5d48009a825415305aea8f963d0144a351b0b1530076282ce2c3eb91129953a50b9d494423209489c0be16a42325d2a1c7e0bac8972243e9c
+MISC metadata.xml 255 SHA256 fa2495381a46939e915222bc4f5e8c1e704f336ca63c064a2a63090c79b0e5ff SHA512 305ae93d2bb3da79ee181cf36bb0ca2bbac016c20555967d7281cd5c0edfc26c1450dacd7a7de57078650dab0e815be9169c0b25a24d71488185f71ae8834167 WHIRLPOOL 0e543ebc68a9501374d42528b31fc9d94ab416939eefc6cc37dcf033d0ecd85397ec58ab67e02d6a08b2f4c0048891d441a2b217075e4596ffc25d5b12cc8ec8
diff --git a/app-text/languagetool/languagetool-3.5-r1.ebuild b/app-text/languagetool/languagetool-3.5-r1.ebuild
new file mode 100644
index 000000000000..db1fe9570a30
--- /dev/null
+++ b/app-text/languagetool/languagetool-3.5-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+
+CP_DEPEND="
+ dev-java/commons-cli:1
+ dev-java/commons-collections:4
+ dev-java/commons-io:1
+ dev-java/commons-lang:2.1
+ dev-java/commons-logging:0
+ dev-java/guava:20
+ dev-java/hamcrest-core:1.3
+ dev-java/jackson:2
+ dev-java/jackson-databind:2
+ dev-java/jcommander:0
+ dev-java/jna:4
+ dev-java/slf4j-api:0
+ dev-java/slf4j-nop:0
+"
+
+RDEPEND=">=virtual/jre-1.8
+ ${CP_DEPEND}"
+
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ default
+ rm -v libs/{commons,hamcrest,guava,jackson,jcommander,jna,junit,slf4j}*.jar || die
+
+ # Loads of bundled stuff :(
+ #java-pkg-2_src_prepare
+}
+
+src_compile() { :; }
+
+src_install() {
+ java-pkg_dojar *.jar libs/*.jar
+
+ local DIR=/usr/share/${PN}/lib/language-modules
+ java-pkg_addcp "${EPREFIX}${DIR}"
+ insinto ${DIR}
+ doins -r org META-INF
+
+ java-pkg_dolauncher ${PN} --main org.${PN}.commandline.Main
+ java-pkg_dolauncher ${PN}-gui --main org.${PN}.gui.Main
+
+ dodoc CHANGES.md README.md
+
+ unset MY_DEPEND
+ java-pkg_gen-cp MY_DEPEND
+ java-pkg_register-dependency "${MY_DEPEND}"
+}
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>