summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-05-01 15:38:21 +0200
committerPacho Ramos <pacho@gentoo.org>2018-05-01 21:33:49 +0200
commit619a092289e41841dfe2400d8300c32ff4c5d261 (patch)
treed61f970ee88bb6572b19a0cbfdaafb1f10431e80
parentgames-puzzle/pauker: Stop using games.eclass (diff)
downloadgentoo-619a092289e41841dfe2400d8300c32ff4c5d261.tar.gz
gentoo-619a092289e41841dfe2400d8300c32ff4c5d261.tar.bz2
gentoo-619a092289e41841dfe2400d8300c32ff4c5d261.zip
games-puzzle/pauker: Drop old
Package-Manager: Portage-2.3.31, Repoman-2.3.9
-rw-r--r--games-puzzle/pauker/pauker-1.8.ebuild69
1 files changed, 0 insertions, 69 deletions
diff --git a/games-puzzle/pauker/pauker-1.8.ebuild b/games-puzzle/pauker/pauker-1.8.ebuild
deleted file mode 100644
index af0161d502ee..000000000000
--- a/games-puzzle/pauker/pauker-1.8.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-JAVA_PKG_IUSE="doc source"
-inherit eutils java-pkg-2 java-ant-2 games
-
-DESCRIPTION="A java based flashcard program"
-HOMEPAGE="http://pauker.sourceforge.net/"
-SRC_URI="mirror://sourceforge/pauker/${P}.src.jar"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-COMMON_DEP="dev-java/browserlauncher2:1.0
- dev-java/javahelp
- dev-java/lucene:2.4
- dev-java/swing-layout:1"
-RDEPEND=">=virtual/jre-1.5
- ${COMMON_DEP}"
-DEPEND=">=virtual/jdk-1.5
- app-arch/unzip
- ${COMMON_DEP}"
-
-S=${WORKDIR}
-
-pkg_setup() {
- games_pkg_setup
- java-pkg-2_pkg_setup
-}
-
-src_prepare() {
- find . -iname '*.jar' -delete
-
- epatch "${FILESDIR}/${PN}_bundledjars.patch"
-
- java-pkg_jar-from --into libs browserlauncher2-1.0 browserlauncher2.jar BrowserLauncher2-1_3.jar
- java-pkg_jar-from --into libs javahelp jhall.jar
- java-pkg_jar-from --into libs lucene-2.4 lucene-core.jar lucene-core-2.4.0.jar
- java-pkg_jar-from --into libs swing-layout-1 swing-layout.jar
-}
-
-src_compile() {
- eant -Dfile.reference.BrowserLauncher2-1_3.jar="libs/BrowserLauncher2-1_3.jar" \
- -Dlibs.swing-layout.classpath="libs/swing-layout.jar" \
- -Dplatforms.JDK_1.5.home="${JAVA_HOME}" jar $(use_doc javadoc)
-}
-
-#test depend on jemmy, a netbeans module. so unless it is packaged separately
-#tests cannot be build.
-
-src_install() {
- java-pkg_jarinto "${GAMES_DATADIR}/${PN}"
- java-pkg_newjar "dist/${P}.jar"
-
- java-pkg_dolauncher ${PN} \
- -into "${GAMES_PREFIX}" \
- --pwd "${GAMES_DATADIR}"/${PN} \
- --main pauker.program.gui.swing.PaukerFrame
-
- use doc && java-pkg_dojavadoc dist/javadoc
- use source && java-pkg_dosrc src
-
- newicon src/pauker/icons/repeat.png ${PN}.png
- make_desktop_entry pauker Pauker
- prepgamesdirs
-}