summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-02-19 16:27:57 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-02-19 16:27:57 +0000
commitc7456a9ba42b5a4655670391322841b7b47e4161 (patch)
tree9d864e11a4af8919d76677cee54e175abd092736 /games-rpg
parentVersion Bump (diff)
downloadgentoo-2-c7456a9ba42b5a4655670391322841b7b47e4161.tar.gz
gentoo-2-c7456a9ba42b5a4655670391322841b7b47e4161.tar.bz2
gentoo-2-c7456a9ba42b5a4655670391322841b7b47e4161.zip
version bump
(Portage version: 2.1.7.16/cvs/Linux i686)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/pcgen/ChangeLog7
-rw-r--r--games-rpg/pcgen/pcgen-5.16.2.ebuild36
2 files changed, 42 insertions, 1 deletions
diff --git a/games-rpg/pcgen/ChangeLog b/games-rpg/pcgen/ChangeLog
index 5098f485ad82..08b648235595 100644
--- a/games-rpg/pcgen/ChangeLog
+++ b/games-rpg/pcgen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-rpg/pcgen
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/ChangeLog,v 1.18 2010/01/05 19:26:27 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/ChangeLog,v 1.19 2010/02/19 16:27:57 mr_bones_ Exp $
+
+*pcgen-5.16.2 (19 Feb 2010)
+
+ 19 Feb 2010; Michael Sterrett <mr_bones_@gentoo.org> +pcgen-5.16.2.ebuild:
+ version bump
05 Jan 2010; Joseph Jezak <josejx@gentoo.org> pcgen-5.16.0.ebuild:
Marked ppc stable for bug #288641.
diff --git a/games-rpg/pcgen/pcgen-5.16.2.ebuild b/games-rpg/pcgen/pcgen-5.16.2.ebuild
new file mode 100644
index 000000000000..77519e2d6bde
--- /dev/null
+++ b/games-rpg/pcgen/pcgen-5.16.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/pcgen-5.16.2.ebuild,v 1.1 2010/02/19 16:27:57 mr_bones_ Exp $
+
+EAPI=2
+inherit versionator 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 OGL-1.0a"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5"
+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 "sed pcgen.sh failed"
+ mv -f pcgen.sh "${T}"/${PN}
+}
+
+src_install() {
+ dogamesbin "${T}"/${PN} || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r * || die "doins failed"
+ keepdir "${GAMES_DATADIR}"/${PN}/characters
+ prepgamesdirs
+}