From bc1b5c643772118d76ee278a893b1b824b3a99c5 Mon Sep 17 00:00:00 2001 From: Serkan Kaba Date: Sat, 21 Jun 2008 11:51:50 +0000 Subject: Version bump and turn linguas_tr on by default for desktop profile. (Portage version: 2.1.4.4) --- dev-java/zemberek/ChangeLog | 9 ++++-- dev-java/zemberek/zemberek-2.1_rc1.ebuild | 54 +++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 2 deletions(-) create mode 100644 dev-java/zemberek/zemberek-2.1_rc1.ebuild (limited to 'dev-java/zemberek') 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 +zemberek-2.1_rc1.ebuild: + Version bump and turn linguas_tr on by default for desktop profile. 25 Nov 2007; Samuli Suominen 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 +} -- cgit v1.2.3-65-gdbad