diff options
Diffstat (limited to 'games-simulation/singularity/singularity-0.26a.ebuild')
-rw-r--r-- | games-simulation/singularity/singularity-0.26a.ebuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/games-simulation/singularity/singularity-0.26a.ebuild b/games-simulation/singularity/singularity-0.26a.ebuild index 65cd49f5f663..cae88aa66a0f 100644 --- a/games-simulation/singularity/singularity-0.26a.ebuild +++ b/games-simulation/singularity/singularity-0.26a.ebuild @@ -1,20 +1,20 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/singularity/singularity-0.26a.ebuild,v 1.1 2007/10/02 06:46:57 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-simulation/singularity/singularity-0.26a.ebuild,v 1.2 2007/10/14 07:26:57 mr_bones_ Exp $ -inherit games +inherit eutils games MUSIC=endgame-${PN}-music-001 DESCRIPTION="A simulation of a true AI. Go from computer to computer, pursued by the entire world. Keep hidden, and you might have a chance." HOMEPAGE="http://www.emhsoft.com/singularity/" SRC_URI="http://www.emhsoft.com/singularity/${PN}_${PV}.tar.gz - http://www.emhsoft.com/singularity/${MUSIC}.zip" + music? ( http://www.emhsoft.com/singularity/${MUSIC}.zip )" LICENSE="GPL-2 CCPL-Attribution-ShareAlike-2.5" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="music" RDEPEND="dev-python/pygame" DEPEND="${RDEPEND} @@ -25,11 +25,15 @@ src_unpack() { cd "${S}" rm code/*.pyc data/*.html # Remove unecessary files + epatch "${FILESDIR}/${P}-musicdir.patch" } src_install() { insinto "${GAMES_DATADIR}/${PN}" - doins -r code data ../${MUSIC}/music || die "doins failed" + doins -r code data || die "doins failed" + if use music ; then + doins -r ../${MUSIC}/music || die "doins failed" + fi games_make_wrapper singularity "python ./singularity.py" "${GAMES_DATADIR}/${PN}/code" dodoc README.txt TODO Changelog AUTHORS prepgamesdirs |