summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-10-11 23:29:31 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-10-11 23:29:31 +0000
commit48bd5fa9941510ef28ec684c16994ad581d62f72 (patch)
tree8bad273e36cc2e9bcdc1a6c5fe195b723fbe903b /games-puzzle/pauker
parentQA fixes; unquoted variables (diff)
downloadgentoo-2-48bd5fa9941510ef28ec684c16994ad581d62f72.tar.gz
gentoo-2-48bd5fa9941510ef28ec684c16994ad581d62f72.tar.bz2
gentoo-2-48bd5fa9941510ef28ec684c16994ad581d62f72.zip
version bump
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/pauker')
-rw-r--r--games-puzzle/pauker/ChangeLog9
-rw-r--r--games-puzzle/pauker/pauker-1.8.ebuild67
2 files changed, 74 insertions, 2 deletions
diff --git a/games-puzzle/pauker/ChangeLog b/games-puzzle/pauker/ChangeLog
index 16d9d1888fa5..ecc5c2f8b5ea 100644
--- a/games-puzzle/pauker/ChangeLog
+++ b/games-puzzle/pauker/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-puzzle/pauker
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pauker/ChangeLog,v 1.23 2009/01/26 21:59:38 mr_bones_ Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pauker/ChangeLog,v 1.24 2009/10/11 23:29:31 mr_bones_ Exp $
+
+*pauker-1.8 (11 Oct 2009)
+
+ 11 Oct 2009; Michael Sterrett <mr_bones_@gentoo.org> +pauker-1.8.ebuild:
+ version bump
26 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org>
pauker-1.8_rc6.ebuild:
diff --git a/games-puzzle/pauker/pauker-1.8.ebuild b/games-puzzle/pauker/pauker-1.8.ebuild
new file mode 100644
index 000000000000..1cfdd8826307
--- /dev/null
+++ b/games-puzzle/pauker/pauker-1.8.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pauker/pauker-1.8.ebuild,v 1.1 2009/10/11 23:29:31 mr_bones_ Exp $
+
+EAPI=2
+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 ~ppc ~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" 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
+
+ prepgamesdirs
+}