summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-08-22 03:43:47 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-08-22 03:43:47 +0000
commitd45d602e2ee9a6ca9b723597d3600d78e8b97b48 (patch)
tree743810e971db5fb0894e432d28bcb6ea090991da /games-rpg/pcgen
parent0.6.8 version bump and remove old. (diff)
downloadgentoo-2-d45d602e2ee9a6ca9b723597d3600d78e8b97b48.tar.gz
gentoo-2-d45d602e2ee9a6ca9b723597d3600d78e8b97b48.tar.bz2
gentoo-2-d45d602e2ee9a6ca9b723597d3600d78e8b97b48.zip
version bump
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-rpg/pcgen')
-rw-r--r--games-rpg/pcgen/ChangeLog9
-rw-r--r--games-rpg/pcgen/pcgen-5.16.0.ebuild37
2 files changed, 44 insertions, 2 deletions
diff --git a/games-rpg/pcgen/ChangeLog b/games-rpg/pcgen/ChangeLog
index 3e9c9280c78e..2430340ae814 100644
--- a/games-rpg/pcgen/ChangeLog
+++ b/games-rpg/pcgen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-rpg/pcgen
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/ChangeLog,v 1.15 2008/08/02 00:51:44 mr_bones_ Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/ChangeLog,v 1.16 2009/08/22 03:43:47 mr_bones_ Exp $
+
+*pcgen-5.16.0 (22 Aug 2009)
+
+ 22 Aug 2009; Michael Sterrett <mr_bones_@gentoo.org> +pcgen-5.16.0.ebuild:
+ version bump
*pcgen-5.14.0 (02 Aug 2008)
diff --git a/games-rpg/pcgen/pcgen-5.16.0.ebuild b/games-rpg/pcgen/pcgen-5.16.0.ebuild
new file mode 100644
index 000000000000..a17f70ed006e
--- /dev/null
+++ b/games-rpg/pcgen/pcgen-5.16.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/pcgen-5.16.0.ebuild,v 1.1 2009/08/22 03:43:47 mr_bones_ Exp $
+
+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_unpack() {
+ unpack ${A}
+ cd "${S}"
+ 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
+}