summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-02-01 00:20:36 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-02-01 00:20:36 +0000
commitff4d190e8f94a31d9a7db8f5d6310e87d280c74c (patch)
treeb53f089ae6cff312ae4b3a90af18b6ebe93a30f2 /games-strategy
parentUpdate of HOMEPAGE and SRC_URI. (diff)
downloadgentoo-2-ff4d190e8f94a31d9a7db8f5d6310e87d280c74c.tar.gz
gentoo-2-ff4d190e8f94a31d9a7db8f5d6310e87d280c74c.tar.bz2
gentoo-2-ff4d190e8f94a31d9a7db8f5d6310e87d280c74c.zip
Don't install LICENSE
(Portage version: 2.1.2-r5)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/bos/bos-2.0.1.ebuild22
1 files changed, 9 insertions, 13 deletions
diff --git a/games-strategy/bos/bos-2.0.1.ebuild b/games-strategy/bos/bos-2.0.1.ebuild
index 8711a5c59064..7250f529976e 100644
--- a/games-strategy/bos/bos-2.0.1.ebuild
+++ b/games-strategy/bos/bos-2.0.1.ebuild
@@ -1,15 +1,14 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/bos/bos-2.0.1.ebuild,v 1.1 2007/01/16 09:29:07 tchiwam Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/bos/bos-2.0.1.ebuild,v 1.2 2007/02/01 00:20:36 nyhm Exp $
-inherit eutils games versionator
+inherit eutils versionator games
-MY_PV=$(replace_all_version_separators '_')
-MY_P=${PN}_${MY_PV}
+MY_P=${PN}_$(replace_all_version_separators '_')
DESCRIPTION="Invasion - Battle of Survival is a real-time strategy game using the Stratagus game engine"
HOMEPAGE="http://bos.seul.org/"
SRC_URI="http://bos.seul.org/files/${MY_P}.tar.gz
- http://dev.gentoo.org/~genstef/files/bos.png"
+ mirror://gentoo/bos.png"
LICENSE="GPL-2"
SLOT="0"
@@ -18,16 +17,13 @@ IUSE=""
RDEPEND=">=games-engines/stratagus-2.2.1"
-S=${WORKDIR}/${MY_P}
+S=${WORKDIR}/data.bos
src_install() {
- dodir "${GAMES_BINDIR}"
- echo "${GAMES_BINDIR}/stratagus -d \"${GAMES_DATADIR}/${PN}/data.bos\" \$*" >> "${D}${GAMES_BINDIR}/${PN}"
- insinto "${GAMES_DATADIR}/${PN}"
- doins -r ${WORKDIR}/data.bos || die "doins failed"
-
-# dodoc README.txt
-
+ games_make_wrapper ${PN} "stratagus -d ${GAMES_DATADIR}/${PN}"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r $(find . -mindepth 1 -maxdepth 1 -type d) || die "doins failed"
+ dodoc CHANGELOG README.txt
doicon "${DISTDIR}"/bos.png
make_desktop_entry ${PN} "Invasion - Battle of Survival"
prepgamesdirs