# ChangeLog for app-misc/jdictionary
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/jdictionary/ChangeLog,v 1.4 2004/08/24 03:06:47 zx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/jdictionary/ChangeLog,v 1.5 2004/10/02 21:53:44 axxo Exp $
+
+*jdictionary-1.8-r1 (02 Oct 2004)
+
+ 02 Oct 2004; Thomas Matthijs <axxo@gentoo.org> +jdictionary-1.8-r1.ebuild:
+ Now builds from source, ebuild submitted by Arne Mejlholm <aaby@gentoo.org>
+ in #63237
23 Aug 2004; Chris Aniszczyk <zx@gentoo.org> jdictionary-1.8.ebuild:
Marking stable on x86
-MD5 eaeecd3b55d97b117b6180d983a72966 ChangeLog 580
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 5285341f454fb1081f6ab5333c0d9017 jdictionary-1.8-r1.ebuild 933
MD5 f015ebe4a780f8892a946751b65426c4 jdictionary-1.8.ebuild 691
+MD5 802f874a31b2874355ff649768f20b2e ChangeLog 785
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
MD5 f42d455b9c7914cebe2225f9130bd15b files/digest-jdictionary-1.8 64
+MD5 f42d455b9c7914cebe2225f9130bd15b files/digest-jdictionary-1.8-r1 64
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBXyOi/rLF9B432nYRAhm2AJ9zF7lwI142gI6K7vEJIk/ig4Jj8QCfVQUn
+IUSWzE+wLUNw2Juilxl9qHE=
+=d/MH
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 772db6e0e65eb987318d6878d0796a9c jdictionary-1_8.zip 467815
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/jdictionary/jdictionary-1.8-r1.ebuild,v 1.1 2004/10/02 21:53:44 axxo Exp $
+
+inherit java-pkg
+
+DESCRIPTION="A online Java-based dictionary"
+HOMEPAGE="http://jdictionary.sourceforge.net/"
+SRC_URI="mirror://sourceforge/jdictionary/jdictionary-${PV/./_}.zip"
+
+IUSE=""
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64"
+
+RDEPEND=">=virtual/jdk-1.3"
+
+S=${WORKDIR}/${PN}
+
+src_compile(){
+ mkdir compiled
+
+ javac -classpath . `find . -name \*.java` -d compiled
+
+ # resources are not included in sources :-/
+ jar xf ${PN}.jar
+ cp -r resources compiled
+
+ jar cf ${PN}.jar -C compiled .
+}
+
+src_install() {
+ java-pkg_dojar ${PN}.jar
+
+ echo "#!/bin/sh" > ${PN}
+ echo "\$(java-config -J) -classpath \$(java-config -p ${PN}) info.jdictionary.JDictionary '\$*'" >> ${PN}
+
+ dobin ${PN}
+}