diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-08-22 03:43:47 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-08-22 03:43:47 +0000 |
commit | d45d602e2ee9a6ca9b723597d3600d78e8b97b48 (patch) | |
tree | 743810e971db5fb0894e432d28bcb6ea090991da /games-rpg/pcgen/pcgen-5.16.0.ebuild | |
parent | 0.6.8 version bump and remove old. (diff) | |
download | gentoo-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/pcgen-5.16.0.ebuild')
-rw-r--r-- | games-rpg/pcgen/pcgen-5.16.0.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
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 +} |