summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-12-17 09:52:48 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-12-17 09:52:48 +0000
commit8544de395aebc9218401686a752b94dda31ce772 (patch)
tree61cff5aecb514baa58cb29921381f859ce8fee65 /games-rpg/pcgen
parentStable on amd64 x86 and ppc, drop older. (diff)
downloadgentoo-2-8544de395aebc9218401686a752b94dda31ce772.tar.gz
gentoo-2-8544de395aebc9218401686a752b94dda31ce772.tar.bz2
gentoo-2-8544de395aebc9218401686a752b94dda31ce772.zip
version bump (bug #444056)
(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-rpg/pcgen')
-rw-r--r--games-rpg/pcgen/ChangeLog10
-rw-r--r--games-rpg/pcgen/pcgen-6.00.0.ebuild51
2 files changed, 58 insertions, 3 deletions
diff --git a/games-rpg/pcgen/ChangeLog b/games-rpg/pcgen/ChangeLog
index fce9843b05a0..4ce76bcb34ff 100644
--- a/games-rpg/pcgen/ChangeLog
+++ b/games-rpg/pcgen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-rpg/pcgen
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/ChangeLog,v 1.28 2011/11/09 02:17:53 mr_bones_ Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/ChangeLog,v 1.29 2012/12/17 09:52:48 mr_bones_ Exp $
+
+*pcgen-6.00.0 (17 Dec 2012)
+
+ 17 Dec 2012; Michael Sterrett <mr_bones_@gentoo.org> +pcgen-6.00.0.ebuild:
+ version bump (bug #444056)
09 Nov 2011; Michael Sterrett <mr_bones_@gentoo.org> pcgen-5.16.4.ebuild:
only works with dev-java/sun-jdk (bug #353471)
@@ -118,4 +123,3 @@
07 Aug 2003; Michael Sterrett <msterret@gentoo.org> pcgen-5.2.ebuild:
initial commit (bug 25522) Ebuild submitted by Robert Thomas. (modified)
-
diff --git a/games-rpg/pcgen/pcgen-6.00.0.ebuild b/games-rpg/pcgen/pcgen-6.00.0.ebuild
new file mode 100644
index 000000000000..2e79d6f4d5c6
--- /dev/null
+++ b/games-rpg/pcgen/pcgen-6.00.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/pcgen-6.00.0.ebuild,v 1.1 2012/12/17 09:52:48 mr_bones_ Exp $
+
+EAPI=5
+inherit versionator gnome2-utils games
+
+MY_PV=$(delete_all_version_separators)
+DESCRIPTION="D&D character generator"
+HOMEPAGE="http://pcgen.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pcgen/pcgen${MY_PV}_full.zip"
+
+LICENSE="LGPL-2.1 OGL-1.0a"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.6"
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}/pcgen${MY_PV}
+
+src_prepare() {
+ rm -f *.bat
+ sed -i "/dirname/ c\cd \"${GAMES_DATADIR}\/${PN}\"" pcgen.sh || die
+ mv -f pcgen.sh "${T}"/${PN}
+}
+
+src_install() {
+ dogamesbin "${T}"/${PN}
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r *
+ keepdir "${GAMES_DATADIR}"/${PN}/characters
+ newicon -s 128 system/sponsors/pcgen/pcgen_128x128.png ${PN}.png
+ make_desktop_entry ${PN} PCGen
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}