1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 JAVA_PKG_IUSE="doc examples source"
8 inherit java-pkg-2 java-pkg-simple
10 DESCRIPTION="A Java spell-checking library"
11 HOMEPAGE="https://www.inetsoftware.de/other-products/jortho"
12 SRC_URI="mirror://sourceforge/project/jortho/JOrtho%20Library/${PV}/JOrtho_${PV}.zip"
26 find . -name '*.jar' -exec rm -v {} + || die
29 JAVA_SRC_DIR="src/com"
31 mkdir -p target/classes/com/inet/jortho/i18n || die
32 find src -name '*.properties' \
33 -exec cp {} target/classes/com/inet/jortho/i18n \; || die
35 java-pkg-simple_src_compile
39 java-pkg-simple_src_install
41 use examples && java-pkg_doexamples src/SampleAppl{et,ication}.java