diff options
author | Serkan Kaba <serkan@gentoo.org> | 2008-10-07 21:33:38 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2008-10-07 21:33:38 +0000 |
commit | d0a698922261bcee8fa495dd31cf7a214c8b84ed (patch) | |
tree | ca2be99c9dd0ea7946050e8acf922ac1218f695f | |
parent | Remove unneeded dependency. (diff) | |
download | java-d0a698922261bcee8fa495dd31cf7a214c8b84ed.tar.gz java-d0a698922261bcee8fa495dd31cf7a214c8b84ed.tar.bz2 java-d0a698922261bcee8fa495dd31cf7a214c8b84ed.zip |
Add languagetool and its dependencies.
svn path=/java-overlay/; revision=7059
-rw-r--r-- | app-text/languagetool/Manifest | 6 | ||||
-rw-r--r-- | app-text/languagetool/files/languagetool-0.9.3-build.xml.patch | 44 | ||||
-rw-r--r-- | app-text/languagetool/files/languagetool-0.9.3-testfix.patch | 37 | ||||
-rw-r--r-- | app-text/languagetool/languagetool-0.9.3.ebuild | 70 | ||||
-rw-r--r-- | app-text/languagetool/languagetool-20081004.ebuild | 70 | ||||
-rw-r--r-- | dev-java/jaminid/Manifest | 3 | ||||
-rw-r--r-- | dev-java/jaminid/files/build.xml | 19 | ||||
-rw-r--r-- | dev-java/jaminid/jaminid-0.99.ebuild | 38 | ||||
-rw-r--r-- | dev-java/jwordsplitter/Manifest | 2 | ||||
-rw-r--r-- | dev-java/jwordsplitter/jwordsplitter-2.1.ebuild | 26 | ||||
-rw-r--r-- | dev-java/morfologik-stemming/Manifest | 2 | ||||
-rw-r--r-- | dev-java/morfologik-stemming/morfologik-stemming-1.1.2.ebuild | 52 | ||||
-rw-r--r-- | dev-java/stempel/Manifest | 2 | ||||
-rw-r--r-- | dev-java/stempel/stempel-1.0.ebuild | 37 | ||||
-rw-r--r-- | licenses/Egothor | 52 |
15 files changed, 460 insertions, 0 deletions
diff --git a/app-text/languagetool/Manifest b/app-text/languagetool/Manifest new file mode 100644 index 00000000..bd2fad79 --- /dev/null +++ b/app-text/languagetool/Manifest @@ -0,0 +1,6 @@ +AUX languagetool-0.9.3-build.xml.patch 1999 RMD160 059ae7536eb82459b68507ba2e21bba66c49d29c SHA1 c0e7f7f0b56812e842d3581385125dcf61493f07 SHA256 1954f3a02bb3a24c928d0650bb34f1c58e781104b22946afbfb1e60bcaf47ea4 +AUX languagetool-0.9.3-testfix.patch 2153 RMD160 5b541b2f9315c7dfc291ba1638ea2aded825bc4e SHA1 e463f46a93885d84c62a48d6c33c5a15a70cd7e5 SHA256 cf7041ece14dd71475a9c2da075b2c46d959de444744abf98293a460ef1e7517 +DIST languagetool-0.9.3.tar.bz2 12078141 RMD160 f7fe40e1a8710425796c05a28e3e227d9fe6ae08 SHA1 b44fe992f1d7b41c69483ce5e0bcfd2162dd6e89 SHA256 f2dee988ccda80bb9a6f0afbcd6cc8fd3b6785feb54f02b94bf992415e10a2d1 +DIST languagetool-20081004.tar.bz2 12099370 RMD160 a0519783de918ae3d9b61f9286925d1276c4e744 SHA1 eb06a6d31a97def276e13dfd1cab74465b5d76f0 SHA256 3010307f8d24c9025ab626bedbf098681d621b3a72cca647cdea6b4745a08bb5 +EBUILD languagetool-0.9.3.ebuild 2008 RMD160 8ab4ee02bdbf252f76e552878fa30d7baa82c25d SHA1 3a93aed04f14c16269f4a9726f50b6aa4ca422f5 SHA256 b44339dbb12cb2e8b2369f3ce396b6c9046aef7749d6b4ab1f860829eaed6222 +EBUILD languagetool-20081004.ebuild 2015 RMD160 81392d1e925b7f6583658e10c3598e9b44070dd7 SHA1 e0dafbce01d97e9747646f93f91c587b26e549a4 SHA256 18715713ca0f4ae2a1d1029ca0a59317c84babdfbf4a973e39c154032e22d03a diff --git a/app-text/languagetool/files/languagetool-0.9.3-build.xml.patch b/app-text/languagetool/files/languagetool-0.9.3-build.xml.patch new file mode 100644 index 00000000..1aca8205 --- /dev/null +++ b/app-text/languagetool/files/languagetool-0.9.3-build.xml.patch @@ -0,0 +1,44 @@ +--- build.xml 2008-10-04 13:50:55.000000000 +0300 ++++ build.xml.fixed 2008-10-04 15:19:14.000000000 +0300 +@@ -78,7 +78,7 @@ + <!-- TEST --> + <!-- ================================================================== --> + +- <target name="test" depends="clean,init,build" description="Runs unit tests"> ++ <target name="test" description="Runs unit tests"> + + <mkdir dir="${junit.classes.dir}"/> + <mkdir dir="${dist.dir}/report/tests"/> +@@ -239,14 +239,6 @@ + debug="${debug}"> + <classpath refid="classpath"/> + </javac> +- <javac encoding="${encoding}" +- srcdir="${src.test.dir}" +- includes="de/danielnaber/languagetool/rules/patterns/PatternRuleTest.java" +- destdir="${build.classes}" +- target="${target}" +- debug="${debug}"> +- <classpath refid="classpath"/> +- </javac> + + </target> + +@@ -267,7 +259,7 @@ + excludes="**/*.java"> + <manifest> + <attribute name="Main-Class" value="de.danielnaber.languagetool.Main" /> +- <attribute name="Class-Path" value="./ ./rules ./resource ./${stempelator.lib} ./jdic.jar ./jaminid.jar ./jWordSplitter.jar" /> ++ <attribute name="Class-Path" value="./ ../rules ../resource ./${stempelator.lib} ./jdic.jar ./jaminid.jar ./jWordSplitter.jar" /> + <attribute name="Implementation-Version" value="${version}" /> + <attribute name="Implementation-Date" value="${date}" /> + </manifest> +@@ -279,7 +271,7 @@ + includes="de/danielnaber/languagetool/gui/*.class"> + <manifest> + <attribute name="Main-Class" value="de.danielnaber.languagetool.gui.Main" /> +- <attribute name="Class-Path" value="./LanguageTool.jar ./ ./resource ./rules ./${stempelator.lib} ./jdic.jar ./jaminid.jar ./jWordSplitter.jar" /> ++ <attribute name="Class-Path" value="./LanguageTool.jar ../ ../resource ./rules ./${stempelator.lib} ./jdic.jar ./jaminid.jar ./jWordSplitter.jar" /> + <attribute name="Implementation-Version" value="${version}" /> + <attribute name="Implementation-Date" value="${date}" /> + </manifest> diff --git a/app-text/languagetool/files/languagetool-0.9.3-testfix.patch b/app-text/languagetool/files/languagetool-0.9.3-testfix.patch new file mode 100644 index 00000000..b378c97c --- /dev/null +++ b/app-text/languagetool/files/languagetool-0.9.3-testfix.patch @@ -0,0 +1,37 @@ +diff -Nur languagetool-20081004/src/test/de/danielnaber/languagetool/ValidateXMLTest.java languagetool-20081004_patched/src/test/de/danielnaber/languagetool/ValidateXMLTest.java +--- languagetool-20081004/src/test/de/danielnaber/languagetool/ValidateXMLTest.java 2008-04-06 00:26:06.000000000 +0300 ++++ languagetool-20081004_patched/src/test/de/danielnaber/languagetool/ValidateXMLTest.java 2008-10-05 00:04:00.000000000 +0300 +@@ -28,14 +28,14 @@ + XMLValidator validator = new XMLValidator(); + for (int i = 0; i < Language.LANGUAGES.length; i++) { + Language lang = Language.LANGUAGES[i]; +- String grammarFile = "/rules/" + lang.getShortName() + "/grammar.xml"; +- validator.validate(grammarFile, "/rules/rules.dtd", "rules"); ++ String grammarFile = "src/rules/" + lang.getShortName() + "/grammar.xml"; ++ validator.validate(grammarFile, "src/rules/rules.dtd", "rules"); + } + } + + public void testFalseFriendsXML() throws IOException { + XMLValidator validator = new XMLValidator(); +- validator.validate("/rules/false-friends.xml", "/rules/false-friends.dtd", "rules"); ++ validator.validate("src/rules/false-friends.xml", "src/rules/false-friends.dtd", "rules"); + } + + public void testDisambiguationRuleFile() throws IOException { +@@ -43,11 +43,11 @@ + //for (int i = 0; i < Language.LANGUAGES.length; i++) { + // Language lang = Language.LANGUAGES[i]; + Language lang = Language.FRENCH; +- String grammarFile = "/resource/" + lang.getShortName() + "/disambiguation.xml"; +- validator.validate(grammarFile, "/resource/disambiguation.dtd", "rules"); ++ String grammarFile = "src/resource/" + lang.getShortName() + "/disambiguation.xml"; ++ validator.validate(grammarFile, "src/resource/disambiguation.dtd", "rules"); + lang = Language.ENGLISH; +- grammarFile = "/resource/" + lang.getShortName() + "/disambiguation.xml"; +- validator.validate(grammarFile, "/resource/disambiguation.dtd", "rules"); ++ grammarFile = "src/resource/" + lang.getShortName() + "/disambiguation.xml"; ++ validator.validate(grammarFile, "src/resource/disambiguation.dtd", "rules"); + // } + } + diff --git a/app-text/languagetool/languagetool-0.9.3.ebuild b/app-text/languagetool/languagetool-0.9.3.ebuild new file mode 100644 index 00000000..91bdfe4a --- /dev/null +++ b/app-text/languagetool/languagetool-0.9.3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/statsvn/statsvn-0.4.1.ebuild,v 1.1 2008/10/03 21:44:32 serkan Exp $ + +EAPI=1 +JAVA_PKG_IUSE="doc source test" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="An Open Source language checker for English, German, Polish, Dutch, and other languages." +HOMEPAGE="http://www.languagetool.org/" +SRC_URI="http://dev.gentoo.org/~serkan/distfiles/${P}.tar.bz2" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RESTRICT="test" #Tests fail. + +COMMON_DEPEND="dev-java/jdictrayapi:0 + dev-java/jaminid:0 + dev-java/morfologik-stemming:0 + dev-java/jwordsplitter:0" + +DEPEND=">=virtual/jdk-1.5 + test? + ( + dev-java/ant-junit:0 + ) + ${COMMON_DEPEND}" + +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEPEND}" + +EANT_GENTOO_CLASSPATH="jdictrayapi,jaminid,morfologik-stemming,jwordsplitter" +EANT_BUILD_TARGET="init build" +JAVA_ANT_REWRITE_CLASSPATH="true" + +src_unpack() { + unpack ${A} + cd "${S}" || die + epatch "${FILESDIR}"/${P}-build.xml.patch + cd libs || die + #java-pkg_jar-from jdictrayapi + #java-pkg_jar-from jaminid + #java-pkg_jar-from morfologik-stemming morfologik-stemming-nodict.jar morfologik-stemming-nodict-1.1.jar + #java-pkg_jar-from jwordsplitter +} + +src_test() { + #mkdir libs/build || die + #java-pkg_jar-from --into libs/build junit + #ANT_TASKS="ant-junit" eant test + ANT_TASKS="ant-junit" \ + eant -Dgentoo.classpath="$(java-pkg_getjars jdictrayapi,jaminid,morfologik-stemming,jwordsplitter):$(java-pkg_getjars --build-only junit)" test +} + +src_install() { + java-pkg_dojar dist/LanguageTool.jar + java-pkg_dojar dist/LanguageToolGUI.jar + + java-pkg_dolauncher ${PN} --main de.danielnaber.languagetool.Main + java-pkg_dolauncher ${PN}-gui --main de.danielnaber.languagetool.gui.Main + + use doc && java-pkg_dojavadoc dist/docs/api + use source && java-pkg_dosrc src/java/de + dodoc {README,CHANGES}.txt + insinto /usr/share/languagetool + doins -r src/{rules,resource} || die +} diff --git a/app-text/languagetool/languagetool-20081004.ebuild b/app-text/languagetool/languagetool-20081004.ebuild new file mode 100644 index 00000000..0aaf57df --- /dev/null +++ b/app-text/languagetool/languagetool-20081004.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/statsvn/statsvn-0.4.1.ebuild,v 1.1 2008/10/03 21:44:32 serkan Exp $ + +EAPI=1 +JAVA_PKG_IUSE="doc source test" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="An Open Source language checker for English, German, Polish, Dutch, and other languages." +HOMEPAGE="http://www.languagetool.org/" +SRC_URI="http://dev.gentoo.org/~serkan/distfiles/${P}.tar.bz2" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RESTRICT="test" #Tests fail. + +COMMON_DEPEND="dev-java/jdictrayapi:0 + dev-java/jaminid:0 + dev-java/morfologik-stemming:0 + dev-java/jwordsplitter:0" + +DEPEND=">=virtual/jdk-1.5 + test? + ( + dev-java/ant-junit:0 + ) + ${COMMON_DEPEND}" + +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEPEND}" + +EANT_GENTOO_CLASSPATH="jdictrayapi,jaminid,morfologik-stemming,jwordsplitter" +EANT_BUILD_TARGET="init build" +JAVA_ANT_REWRITE_CLASSPATH="true" + +src_unpack() { + unpack ${A} + cd "${S}" || die + epatch "${FILESDIR}"/${PN}-0.9.3-build.xml.patch + cd libs || die + #java-pkg_jar-from jdictrayapi + #java-pkg_jar-from jaminid + #java-pkg_jar-from morfologik-stemming morfologik-stemming-nodict.jar morfologik-stemming-nodict-1.1.jar + #java-pkg_jar-from jwordsplitter +} + +src_test() { + #mkdir libs/build || die + #java-pkg_jar-from --into libs/build junit + #ANT_TASKS="ant-junit" eant test + ANT_TASKS="ant-junit" \ + eant -Dgentoo.classpath="$(java-pkg_getjars jdictrayapi,jaminid,morfologik-stemming,jwordsplitter):$(java-pkg_getjars --build-only junit)" test +} + +src_install() { + java-pkg_dojar dist/LanguageTool.jar + java-pkg_dojar dist/LanguageToolGUI.jar + + java-pkg_dolauncher ${PN} --main de.danielnaber.languagetool.Main + java-pkg_dolauncher ${PN}-gui --main de.danielnaber.languagetool.gui.Main + + use doc && java-pkg_dojavadoc dist/docs/api + use source && java-pkg_dosrc src/java/de + dodoc {README,CHANGES}.txt + insinto /usr/share/languagetool + doins -r src/{rules,resource} || die +} diff --git a/dev-java/jaminid/Manifest b/dev-java/jaminid/Manifest new file mode 100644 index 00000000..13ae6974 --- /dev/null +++ b/dev-java/jaminid/Manifest @@ -0,0 +1,3 @@ +AUX build.xml 485 RMD160 71105b8ded1dc0b71df484f857f7f0dd4a97596a SHA1 b96cb1311004f155f432bc6eeb3df6f5786aba81 SHA256 4b20b874b416cb0b34a38e04e0f131210e880fe4e10fcfe9bdc9563dec6f5037 +DIST Jaminid-0.99.tgz 127831 RMD160 389ce67776c31f5f549c61b35164b6c56249b189 SHA1 2909f53ae0efb5f3590c308a2331b6f93e0875e3 SHA256 f9a5924b8c8a11bf2a8bf68f66faa1f0f425a40a8d9e068aadf9006cac7c7795 +EBUILD jaminid-0.99.ebuild 926 RMD160 fdb1d5f2d6bb4d03504eeb9464a633aa3f8e5e6b SHA1 02ccf595b0c2d9f4affc49423040bd5d26aa23f6 SHA256 b0ea50fa20da71bcc8a708457a61d314f6805b753f951a2242aecad9c0d08dcd diff --git a/dev-java/jaminid/files/build.xml b/dev-java/jaminid/files/build.xml new file mode 100644 index 00000000..76370194 --- /dev/null +++ b/dev-java/jaminid/files/build.xml @@ -0,0 +1,19 @@ +<project name="jaminid" default="jar"> + <target name="init"> + <delete dir="doc"/> + </target> + <target name="compile" depends="init"> + <mkdir dir="build"/> + <javac srcdir="." destdir="build" classpath="${gentoo.classpath}"/> + </target> + + <target name="jar" depends="compile"> + <jar destfile="jaminid.jar" basedir="build"/> + </target> + + <target name="javadoc"> + <mkdir dir="docs"/> + <javadoc sourcepath="src" destdir="docs" classpath="${gentoo.classpath}"/> + </target> + +</project> diff --git a/dev-java/jaminid/jaminid-0.99.ebuild b/dev-java/jaminid/jaminid-0.99.ebuild new file mode 100644 index 00000000..fa6edeeb --- /dev/null +++ b/dev-java/jaminid/jaminid-0.99.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +JAVA_PKG_IUSE="doc source examples" + +inherit eutils java-pkg-2 java-ant-2 + +MY_PN="Jaminid" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Jaminid is a very small (and fast) daemon meant to embed in Java applications as an add-on HTTP interface." +HOMEPAGE="http://jaminid.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" +LICENSE="LGPL-2" #Assuming v2 +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=">=virtual/jre-1.5" +DEPEND=">=virtual/jdk-1.5" + +S="${WORKDIR}/${MY_PN}" + +src_unpack() { + unpack ${A} + cd "${S}" || die + mv src/com/prolixtech/jaminid_examples . -v + cp -v "${FILESDIR}"/build.xml . || die +} + +src_install() { + java-pkg_dojar ${PN}.jar + use doc && java-pkg_dojavadoc docs + use source && java-pkg_dosrc src/com + use examples && java-pkg_doexamples jaminid_examples + dodoc README.TXT || die +} diff --git a/dev-java/jwordsplitter/Manifest b/dev-java/jwordsplitter/Manifest new file mode 100644 index 00000000..8a109fd5 --- /dev/null +++ b/dev-java/jwordsplitter/Manifest @@ -0,0 +1,2 @@ +DIST jwordsplitter-2.1.tar.bz2 1219546 RMD160 fbdf9534371eeb3a4f69829a93f180e91ca06e7c SHA1 85a8a9c10bced154bf6778f69f61e06324558e2d SHA256 b2bbc4feaf8136cc4c6dce63e5139a33fcb2bd8afd442e4215a4b1e551a209c1 +EBUILD jwordsplitter-2.1.ebuild 658 RMD160 43e23532cb61df8e0ff472ecdc88c9027511d849 SHA1 7323d67a28b4dadbed8d8119961650d0ff277881 SHA256 b7e97de32a32a78e0aedf6194ced14626cd0995cebed95f4cd669f058e7668c7 diff --git a/dev-java/jwordsplitter/jwordsplitter-2.1.ebuild b/dev-java/jwordsplitter/jwordsplitter-2.1.ebuild new file mode 100644 index 00000000..b85a2c85 --- /dev/null +++ b/dev-java/jwordsplitter/jwordsplitter-2.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +JAVA_PKG_IUSE="source" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="jWordSplitter a a small Java library that splits compound words into their parts." +HOMEPAGE="http://sourceforge.net/projects/jwordsplitter/" +SRC_URI="http://dev.gentoo.org/~serkan/distfiles/${P}.tar.bz2" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=">=virtual/jre-1.4" +DEPEND=">=virtual/jdk-1.4" + +EANT_BUILD_TARGET="build" + +src_install() { + java-pkg_dojar dist/jWordSplitter.jar + use source && java-pkg_dosrc src/* + dodoc README.txt || die +} diff --git a/dev-java/morfologik-stemming/Manifest b/dev-java/morfologik-stemming/Manifest new file mode 100644 index 00000000..ebf0d579 --- /dev/null +++ b/dev-java/morfologik-stemming/Manifest @@ -0,0 +1,2 @@ +DIST morfologik-stemming-1.1.2-src.zip 3848032 RMD160 a50082a53ade0f5fc86cf8f91d89c86480a1d016 SHA1 ef3c7886bf881185e89b6cde14a38220b099dd49 SHA256 b570ea0154a1b085586e22abcbb8fb9e6b1441270ed9286aa4d889191b9f465b +EBUILD morfologik-stemming-1.1.2.ebuild 1182 RMD160 a4b1db3813c0363cd82eca823d799252f84ddb79 SHA1 dc1d41b8d134346124297d8c6c9ff0a3351b948d SHA256 4201d3d1fd9acf7f665a30548af5eee2caf582a5f1440fd43f41629762262192 diff --git a/dev-java/morfologik-stemming/morfologik-stemming-1.1.2.ebuild b/dev-java/morfologik-stemming/morfologik-stemming-1.1.2.ebuild new file mode 100644 index 00000000..892a0e9a --- /dev/null +++ b/dev-java/morfologik-stemming/morfologik-stemming-1.1.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +JAVA_PKG_IUSE="doc source test" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Jaminid is a very small (and fast) daemon meant to embed in Java applications as an add-on HTTP interface." +HOMEPAGE="http://jaminid.sourceforge.net/" +SRC_URI="mirror://sourceforge/morfologik/${P}-src.zip" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +COMMON_DEPEND="dev-java/stempel:0 + dev-java/commons-cli:1" + +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEPEND}" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + test? + ( + dev-java/ant-junit:0 + dev-java/junit-addons:0 + ) + ${COMMON_DEPEND}" + +S="${WORKDIR}" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH="stempel,commons-cli-1" + +src_unpack() { + unpack ${A} + rm -rv lib/* doc || die +} + +src_install() { + java-pkg_newjar tmp/bin/${P}.jar ${PN}.jar + java-pkg_newjar tmp/bin/${PN}-nodict-${PV}.jar ${PN}-nodict.jar + use doc && java-pkg_dojavadoc tmp/javadoc + use source && java-pkg_dosrc src/morfologik + dodoc README.txt || die +} + +src_test() { + java-pkg_jar-from --into lib junit,junit-addons + ANT_TASKS="ant-junit" eant test +} diff --git a/dev-java/stempel/Manifest b/dev-java/stempel/Manifest new file mode 100644 index 00000000..663fc511 --- /dev/null +++ b/dev-java/stempel/Manifest @@ -0,0 +1,2 @@ +DIST stempel-src-1.0.tgz 484608 RMD160 ee88180b15aad5b8b144c76fd3f51cbefe503097 SHA1 5bf2ac7674ce873a620fa4863485ff2d1400f6ac SHA256 0fa1d24facc2da0b22357fbd24895927cf84b0f28bbc147e9c5dca3c448751d8 +EBUILD stempel-1.0.ebuild 804 RMD160 40b2ed7458025be4b6a42f7576de2bcf780e70cc SHA1 41a8fed03d5d6cba9973978323ae7b3cce977554 SHA256 b9d7448951476da984e21e1d91a13752ea73de56b59e463b64cabfb425403698 diff --git a/dev-java/stempel/stempel-1.0.ebuild b/dev-java/stempel/stempel-1.0.ebuild new file mode 100644 index 00000000..6f1f5d15 --- /dev/null +++ b/dev-java/stempel/stempel-1.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +JAVA_PKG_IUSE="doc source" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Algorithmic Stemmer for Polish Language" +HOMEPAGE="http://www.getopt.org/stempel/" +SRC_URI="http://www.getopt.org/${PN}/${PN}-src-${PV}.tgz" +LICENSE="Apache-2.0 Egothor" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=">=virtual/jre-1.4 + dev-java/lucene:1" +DEPEND=">=virtual/jdk-1.4 + dev-java/lucene:1" + +S="${WORKDIR}" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH="lucene-1" + +src_unpack() { + unpack ${A} + rm -rv lib/* || die +} + +src_install() { + java-pkg_newjar build/${P}.jar ${PN}.jar + use doc && java-pkg_dojavadoc build/api + use source && java-pkg_dosrc src/org + java-pkg_dohtml README.html +} diff --git a/licenses/Egothor b/licenses/Egothor new file mode 100644 index 00000000..ba8aac6c --- /dev/null +++ b/licenses/Egothor @@ -0,0 +1,52 @@ + Egothor Software License version 1.00 + Copyright (C) 1997-2006 Leo Galambos. + Copyright (C) 2002-2006 "Egothor developers" + on behalf of the Egothor Project. + All rights reserved. + + This software is copyrighted by the "Egothor developers". If this + license applies to a single file or document, the "Egothor developers" + are the people or entities mentioned as copyright holders in that file + or document. If this license applies to the Egothor project as a + whole, the copyright holders are the people or entities mentioned in + the file CREDITS. This file can be found in the same location as this + license in the distribution. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + 1. Redistributions of source code must retain the above copyright + notice, the list of contributors, this list of conditions, and the + following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, the list of contributors, this list of conditions, and the + disclaimer that follows these conditions in the documentation + and/or other materials provided with the distribution. + 3. The name "Egothor" must not be used to endorse or promote products + derived from this software without prior written permission. For + written permission, please contact Leo.G@seznam.cz + 4. Products derived from this software may not be called "Egothor", + nor may "Egothor" appear in their name, without prior written + permission from Leo.G@seznam.cz. + + In addition, we request that you include in the end-user documentation + provided with the redistribution and/or in the software itself an + acknowledgement equivalent to the following: + "This product includes software developed by the Egothor Project. + http://egothor.sf.net/" + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE EGOTHOR PROJECT OR ITS CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + This software consists of voluntary contributions made by many + individuals on behalf of the Egothor Project and was originally + created by Leo Galambos (Leo.G@seznam.cz). |