+++ /dev/null
-DIST jdictionary-1_8.zip 467815 SHA256 0243ca1031e6bbdb3f12c10b7f2d267ce9a213e934af775aeb008e2e2a6db826 SHA512 87b46dbc1f8408a83bc8ec41aa842c6cb82519eb40cb09478f28dd7f18478e7e35214c66503b84facca94ddc208136a7747c9f0b5c5981d511ba90660aef7af2 WHIRLPOOL 48fa27857f0e1e9f480f523165d686da3861d1e614c0dd0016e0c3f2517e2d1586ad04fed94f1af96ff54b476e6350efae03a566a4089a27d49a6f8a8a663007
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit java-pkg-2 eutils
-
-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="amd64 ppc x86"
-
-RDEPEND=">=virtual/jre-1.3"
-DEPEND=">=virtual/jdk-1.3
- app-arch/unzip"
-S="${WORKDIR}/${PN}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- mkdir compiled
-
- jar xf ${PN}.jar || die "failed to unpack jar"
- cp -r resources compiled
-}
-
-src_compile() {
- ejavac -classpath . $(find . -name \*.java) -d compiled || die "failed to build"
- jar cf ${PN}.jar -C compiled . || die "failed to make jar"
-}
-
-src_install() {
- java-pkg_dojar ${PN}.jar
-
- java-pkg_dolauncher ${PN} --main info.jdictionary.JDictionary
- make_desktop_entry ${PN} JDictionary
-}
+++ /dev/null
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>java</herd>
- <upstream>
- <remote-id type="sourceforge">jdictionary</remote-id>
- </upstream>
-</pkgmetadata>