summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-10-13 15:02:48 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-10-13 15:02:48 +0000
commit053eb3f48e766896c2a8309dd0a94b2cd7aced29 (patch)
tree43815efd775ad4386888d378d94195915c9d47e1
parentFixed typos (diff)
downloadgentoo-2-053eb3f48e766896c2a8309dd0a94b2cd7aced29.tar.gz
gentoo-2-053eb3f48e766896c2a8309dd0a94b2cd7aced29.tar.bz2
gentoo-2-053eb3f48e766896c2a8309dd0a94b2cd7aced29.zip
Version bump, bug #150771
(Portage version: 2.1.2_pre2-r9)
-rw-r--r--games-rpg/pcgen/ChangeLog7
-rw-r--r--games-rpg/pcgen/files/digest-pcgen-5.10.13
-rw-r--r--games-rpg/pcgen/pcgen-5.10.1.ebuild39
3 files changed, 48 insertions, 1 deletions
diff --git a/games-rpg/pcgen/ChangeLog b/games-rpg/pcgen/ChangeLog
index 2ab92cb5b61c..cd7087158e80 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.11 2006/10/05 14:44:30 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/ChangeLog,v 1.12 2006/10/13 15:02:48 nyhm Exp $
+
+*pcgen-5.10.1 (13 Oct 2006)
+
+ 13 Oct 2006; Tristan Heaven <nyhm@gentoo.org> +pcgen-5.10.1.ebuild:
+ Version bump, bug #150771
05 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org> pcgen-5.8.0.ebuild,
pcgen-5.10.0.ebuild:
diff --git a/games-rpg/pcgen/files/digest-pcgen-5.10.1 b/games-rpg/pcgen/files/digest-pcgen-5.10.1
new file mode 100644
index 000000000000..f6c357746acd
--- /dev/null
+++ b/games-rpg/pcgen/files/digest-pcgen-5.10.1
@@ -0,0 +1,3 @@
+MD5 0cfef8df94e549fe52cd5a056e0e6b0d pcgen5101_full.zip 21687189
+RMD160 db0241f4a15b45687b1b2e2caa7e2bdd4ab12d59 pcgen5101_full.zip 21687189
+SHA256 853e4920b77b56a96514a0423fbb413d4a001cd19ba4ddb517e71aa1d8666a8d pcgen5101_full.zip 21687189
diff --git a/games-rpg/pcgen/pcgen-5.10.1.ebuild b/games-rpg/pcgen/pcgen-5.10.1.ebuild
new file mode 100644
index 000000000000..a05e0ed47ff0
--- /dev/null
+++ b/games-rpg/pcgen/pcgen-5.10.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/pcgen/pcgen-5.10.1.ebuild,v 1.1 2006/10/13 15:02:48 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"
+ echo "pcgen.filepaths=user" > "${S}/filepaths.ini" \
+ || die "filepaths.ini creation failed"
+}
+
+src_install() {
+ newgamesbin pcgen{.sh,} || die "newgamesbin failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r * || die "doins failed"
+ keepdir "${GAMES_DATADIR}/${PN}/characters"
+ prepgamesdirs
+}