summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2008-06-21 11:51:50 +0000
committerSerkan Kaba <serkan@gentoo.org>2008-06-21 11:51:50 +0000
commitbc1b5c643772118d76ee278a893b1b824b3a99c5 (patch)
treee3ff00ee7ee52cb56ded97f821435f4c96e5fb10 /dev-java/zemberek
parentVersion bump (diff)
downloadgentoo-2-bc1b5c643772118d76ee278a893b1b824b3a99c5.tar.gz
gentoo-2-bc1b5c643772118d76ee278a893b1b824b3a99c5.tar.bz2
gentoo-2-bc1b5c643772118d76ee278a893b1b824b3a99c5.zip
Version bump and turn linguas_tr on by default for desktop profile.
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-java/zemberek')
-rw-r--r--dev-java/zemberek/ChangeLog9
-rw-r--r--dev-java/zemberek/zemberek-2.1_rc1.ebuild54
2 files changed, 61 insertions, 2 deletions
diff --git a/dev-java/zemberek/ChangeLog b/dev-java/zemberek/ChangeLog
index 0219de7774b0..44f48aff746b 100644
--- a/dev-java/zemberek/ChangeLog
+++ b/dev-java/zemberek/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/zemberek
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/zemberek/ChangeLog,v 1.3 2007/11/25 12:29:35 drac Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/zemberek/ChangeLog,v 1.4 2008/06/21 11:51:50 serkan Exp $
+
+*zemberek-2.1_rc1 (21 Jun 2008)
+
+ 21 Jun 2008; Serkan Kaba <serkan@gentoo.org> +zemberek-2.1_rc1.ebuild:
+ Version bump and turn linguas_tr on by default for desktop profile.
25 Nov 2007; Samuli Suominen <drac@gentoo.org> zemberek-2.0.ebuild:
amd64 stable wrt #200242
diff --git a/dev-java/zemberek/zemberek-2.1_rc1.ebuild b/dev-java/zemberek/zemberek-2.1_rc1.ebuild
new file mode 100644
index 000000000000..6d22b091fe4c
--- /dev/null
+++ b/dev-java/zemberek/zemberek-2.1_rc1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/zemberek/zemberek-2.1_rc1.ebuild,v 1.1 2008/06/21 11:51:50 serkan Exp $
+
+EAPI=1
+JAVA_PKG_IUSE="source doc"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Zemberek NLP library"
+HOMEPAGE="http://code.google.com/p/zemberek/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}-src.zip"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LANGS="tr tk"
+
+S=${WORKDIR}/${P}-src
+
+IUSE="linguas_tk +linguas_tr"
+
+RDEPEND=">=virtual/jre-1.5"
+
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip"
+
+src_unpack() {
+ unpack ${A}
+ rm -v "${S}"/lib/gelistirme/*.jar || die
+}
+
+src_compile() {
+ strip-linguas ${LANGS}
+ local anttargs
+ for jar in cekirdek demo ${LINGUAS}; do
+ anttargs="${anttargs} jar-${jar}"
+ done
+ eant ${anttargs} $(use_doc javadocs)
+}
+
+src_install() {
+ strip-linguas ${LANGS}
+ local sourcetrees=""
+ for jar in cekirdek demo ${LINGUAS}; do
+ java-pkg_newjar dagitim/jar/zemberek-${jar}-${PV}.jar zemberek2-${jar}.jar
+ sourcetrees="${sourcetrees} src/${jar}/net"
+ done
+ use source && java-pkg_dosrc ${sourcetrees}
+ use doc && java-pkg_dojavadoc build/java-docs/api
+ java-pkg_dolauncher zemberek-demo --main net.zemberek.demo.DemoMain
+ dodoc dokuman/lisanslar/* || die
+ dodoc surumler.txt || die
+}