summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-07-23 23:30:40 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-07-23 23:30:40 +0000
commitd10c965ca59ed989ffb134b82df3fae78648dc27 (patch)
treec754c70032401fb691ec5c7cfa01d8f07d591c09 /games-rpg
parentrm old versions (diff)
downloadgentoo-2-d10c965ca59ed989ffb134b82df3fae78648dc27.tar.gz
gentoo-2-d10c965ca59ed989ffb134b82df3fae78648dc27.tar.bz2
gentoo-2-d10c965ca59ed989ffb134b82df3fae78648dc27.zip
Version bump, bug #185814
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/pcgen/ChangeLog9
-rw-r--r--games-rpg/pcgen/files/digest-pcgen-5.12.03
-rw-r--r--games-rpg/pcgen/pcgen-5.12.0.ebuild37
3 files changed, 47 insertions, 2 deletions
diff --git a/games-rpg/pcgen/ChangeLog b/games-rpg/pcgen/ChangeLog
index cd7087158e80..3fe24449d7cd 100644
--- a/games-rpg/pcgen/ChangeLog
+++ b/games-rpg/pcgen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-rpg/pcgen
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/ChangeLog,v 1.12 2006/10/13 15:02:48 nyhm Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/ChangeLog,v 1.13 2007/07/23 23:30:40 nyhm Exp $
+
+*pcgen-5.12.0 (23 Jul 2007)
+
+ 23 Jul 2007; Tristan Heaven <nyhm@gentoo.org> +pcgen-5.12.0.ebuild:
+ Version bump, bug #185814
*pcgen-5.10.1 (13 Oct 2006)
diff --git a/games-rpg/pcgen/files/digest-pcgen-5.12.0 b/games-rpg/pcgen/files/digest-pcgen-5.12.0
new file mode 100644
index 000000000000..55dc1872b325
--- /dev/null
+++ b/games-rpg/pcgen/files/digest-pcgen-5.12.0
@@ -0,0 +1,3 @@
+MD5 7054aa501c509721c70c2646f5f808ef pcgen5120_full.zip 22853416
+RMD160 4ac70bd5c628b4f8c1048be6aed76b6505f3c408 pcgen5120_full.zip 22853416
+SHA256 60ea67d463489781b0a71747709b3e371563d2273333fd92b85d80dbf190f4f2 pcgen5120_full.zip 22853416
diff --git a/games-rpg/pcgen/pcgen-5.12.0.ebuild b/games-rpg/pcgen/pcgen-5.12.0.ebuild
new file mode 100644
index 000000000000..c6694ee38f25
--- /dev/null
+++ b/games-rpg/pcgen/pcgen-5.12.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/pcgen-5.12.0.ebuild,v 1.1 2007/07/23 23:30:40 nyhm 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.4"
+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
+}