diff options
author | Ralph Sennhauser <sera@gentoo.org> | 2012-10-15 07:54:54 +0000 |
---|---|---|
committer | Ralph Sennhauser <sera@gentoo.org> | 2012-10-15 07:54:54 +0000 |
commit | 8d449b4d3752e1eabf6990796f5dc05a2bbed98e (patch) | |
tree | 0dc0c3305a15950bdc6334659f983793eb851752 /app-misc | |
parent | Version bump. (diff) | |
download | gentoo-2-8d449b4d3752e1eabf6990796f5dc05a2bbed98e.tar.gz gentoo-2-8d449b4d3752e1eabf6990796f5dc05a2bbed98e.tar.bz2 gentoo-2-8d449b4d3752e1eabf6990796f5dc05a2bbed98e.zip |
Set encoding. #432634
EAPI bump and cleanup.
(Portage version: 2.1.11.26/cvs/Linux x86_64)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/jdictionary/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/jdictionary/jdictionary-1.8-r3.ebuild | 44 |
2 files changed, 52 insertions, 2 deletions
diff --git a/app-misc/jdictionary/ChangeLog b/app-misc/jdictionary/ChangeLog index 4ff709c9bd22..0376aabf29ed 100644 --- a/app-misc/jdictionary/ChangeLog +++ b/app-misc/jdictionary/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/jdictionary -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/jdictionary/ChangeLog,v 1.20 2007/12/25 02:06:26 betelgeuse Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/jdictionary/ChangeLog,v 1.21 2012/10/15 07:54:54 sera Exp $ + +*jdictionary-1.8-r3 (15 Oct 2012) + + 15 Oct 2012; Ralph Sennhauser <sera@gentoo.org> +jdictionary-1.8-r3.ebuild: + Set encoding. #432634 + EAPI bump and cleanup. 25 Dec 2007; Petteri Räty <betelgeuse@gentoo.org> -jdictionary-1.8-r1.ebuild: diff --git a/app-misc/jdictionary/jdictionary-1.8-r3.ebuild b/app-misc/jdictionary/jdictionary-1.8-r3.ebuild new file mode 100644 index 000000000000..c382ceaa2490 --- /dev/null +++ b/app-misc/jdictionary/jdictionary-1.8-r3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/jdictionary/jdictionary-1.8-r3.ebuild,v 1.1 2012/10/15 07:54:54 sera Exp $ + +EAPI=5 + +inherit java-pkg-2 eutils + +DESCRIPTION="A online Java-based dictionary" +HOMEPAGE="http://jdictionary.sourceforge.net/" +SRC_URI="mirror://sourceforge/jdictionary/jdictionary-${PV/./_}.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=" + >=virtual/jre-1.5" +DEPEND=" + >=virtual/jdk-1.5 + app-arch/unzip" + +S="${WORKDIR}/${PN}" + +java_prepare() { + mkdir compiled || die + unpack ./${PN}.jar || die + cp -r resources compiled || die + + find \( -name '*.jar' -o -name '*.class' \) -exec rm {} + || die +} + +src_compile() { + ejavac -classpath . -encoding ISO-8859-1 $(find . -name \*.java) -d compiled || die + jar cf ${PN}.jar -C compiled . || die +} + +src_install() { + java-pkg_dojar ${PN}.jar + + java-pkg_dolauncher ${PN} --main info.jdictionary.JDictionary + make_desktop_entry ${PN} JDictionary +} |