summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-08-08 00:23:50 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-08-08 00:23:50 +0000
commit858025f3fe678c0246c3687d500438aeaf18f445 (patch)
tree3c04c35707763c8474604413b934309cfe8b2bbf /games-rpg/pcgen
parentAdd gtk USE flag, bug #186807 by Pacho Ramos (diff)
downloadgentoo-2-858025f3fe678c0246c3687d500438aeaf18f445.tar.gz
gentoo-2-858025f3fe678c0246c3687d500438aeaf18f445.tar.bz2
gentoo-2-858025f3fe678c0246c3687d500438aeaf18f445.zip
Version bump
(Portage version: 2.1.3.3)
Diffstat (limited to 'games-rpg/pcgen')
-rw-r--r--games-rpg/pcgen/ChangeLog7
-rw-r--r--games-rpg/pcgen/files/digest-pcgen-5.12.13
-rw-r--r--games-rpg/pcgen/pcgen-5.12.1.ebuild37
3 files changed, 46 insertions, 1 deletions
diff --git a/games-rpg/pcgen/ChangeLog b/games-rpg/pcgen/ChangeLog
index 3fe24449d7cd..372d7741a8cc 100644
--- a/games-rpg/pcgen/ChangeLog
+++ b/games-rpg/pcgen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-rpg/pcgen
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/ChangeLog,v 1.14 2007/08/08 00:23:50 nyhm Exp $
+
+*pcgen-5.12.1 (08 Aug 2007)
+
+ 08 Aug 2007; Tristan Heaven <nyhm@gentoo.org> +pcgen-5.12.1.ebuild:
+ Version bump
*pcgen-5.12.0 (23 Jul 2007)
diff --git a/games-rpg/pcgen/files/digest-pcgen-5.12.1 b/games-rpg/pcgen/files/digest-pcgen-5.12.1
new file mode 100644
index 000000000000..e749ba6e32f8
--- /dev/null
+++ b/games-rpg/pcgen/files/digest-pcgen-5.12.1
@@ -0,0 +1,3 @@
+MD5 3928b1bb968f84f512b8798290fbbf19 pcgen5121_full.zip 22954969
+RMD160 f8d7a6eb9e4926ef5503ec8072da33d9a7f9ab57 pcgen5121_full.zip 22954969
+SHA256 d90b0245a3e127eba20c47b1f5260d5d4e80ae78a42cc6846b37e53a8b8337b3 pcgen5121_full.zip 22954969
diff --git a/games-rpg/pcgen/pcgen-5.12.1.ebuild b/games-rpg/pcgen/pcgen-5.12.1.ebuild
new file mode 100644
index 000000000000..7b0cb70a1b51
--- /dev/null
+++ b/games-rpg/pcgen/pcgen-5.12.1.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.1.ebuild,v 1.1 2007/08/08 00:23:50 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
+}