diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-10-23 07:51:31 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-10-23 07:51:31 +0000 |
commit | 0871681d65b66d0b760e26b75d4e0ec55eace664 (patch) | |
tree | 741b1ebf5adb66be56b56e9e69985cfbe6ae9101 /games-fps/blackshades-cvs | |
parent | version bump (diff) | |
download | gentoo-2-0871681d65b66d0b760e26b75d4e0ec55eace664.tar.gz gentoo-2-0871681d65b66d0b760e26b75d4e0ec55eace664.tar.bz2 gentoo-2-0871681d65b66d0b760e26b75d4e0ec55eace664.zip |
desktop entry; tidy install; quoting
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'games-fps/blackshades-cvs')
-rw-r--r-- | games-fps/blackshades-cvs/ChangeLog | 6 | ||||
-rw-r--r-- | games-fps/blackshades-cvs/blackshades-cvs-20031110.ebuild | 41 |
2 files changed, 25 insertions, 22 deletions
diff --git a/games-fps/blackshades-cvs/ChangeLog b/games-fps/blackshades-cvs/ChangeLog index f54de39884df..c63c89f94ab8 100644 --- a/games-fps/blackshades-cvs/ChangeLog +++ b/games-fps/blackshades-cvs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-fps/blackshades-cvs # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/blackshades-cvs/ChangeLog,v 1.8 2005/03/02 21:34:05 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/blackshades-cvs/ChangeLog,v 1.9 2005/10/23 07:51:31 mr_bones_ Exp $ + + 23 Oct 2005; Michael Sterrett <mr_bones_@gentoo.org> + blackshades-cvs-20031110.ebuild: + desktop entry; tidy install; quoting 02 Mar 2005; Chris Gianelloni <wolf31o2@gentoo.org> blackshades-cvs-20031110.ebuild: diff --git a/games-fps/blackshades-cvs/blackshades-cvs-20031110.ebuild b/games-fps/blackshades-cvs/blackshades-cvs-20031110.ebuild index 999a89050f20..9ed8e9ee5656 100644 --- a/games-fps/blackshades-cvs/blackshades-cvs-20031110.ebuild +++ b/games-fps/blackshades-cvs/blackshades-cvs-20031110.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/blackshades-cvs/blackshades-cvs-20031110.ebuild,v 1.8 2005/03/02 21:34:05 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/blackshades-cvs/blackshades-cvs-20031110.ebuild,v 1.9 2005/10/23 07:51:31 mr_bones_ Exp $ #ECVS_PASS="anonymous" #ECVS_SERVER="icculus.org:/cvs/cvsroot" ECVS_MODULE="blackshades" #inherit cvs -inherit games +inherit eutils games DESCRIPTION="you control a psychic bodyguard, and try to protect the VIP" HOMEPAGE="http://www.wolfire.com/blackshades.html http://www.icculus.org/blackshades/" @@ -15,19 +15,17 @@ SRC_URI="http://filesingularity.timedoctor.org/Textures.tar.bz2 LICENSE="blackshades" SLOT="0" -KEYWORDS="x86 ~ppc ~amd64" +KEYWORDS="~amd64 ~ppc x86" IUSE="" -RDEPEND="virtual/x11 +DEPEND="virtual/x11 virtual/opengl virtual/glut media-libs/libvorbis media-libs/openal media-libs/libsdl" -DEPEND="${RDEPEND} - >=sys-apps/sed-4" -S="${WORKDIR}/${ECVS_MODULE}" +S=${WORKDIR}/${ECVS_MODULE} src_unpack() { if [ -z "${ECVS_SERVER}" ] ; then @@ -35,26 +33,27 @@ src_unpack() { else cvs_src_unpack fi - cd ${WORKDIR} + cd "${WORKDIR}" unpack Textures.tar.bz2 - cd ${S} - sed -i "/^CFLAGS/s:$: ${CFLAGS}:" Makefile || die "sed Makefile failed" -} - -src_compile() { - make || die + cd "${S}" + rm -rf Data/Textures + mv "${WORKDIR}"/Textures Data/ || die "mv failed" + sed -i \ + -e "/^CFLAGS/s:$: ${CFLAGS}:" Makefile \ + || die "sed Makefile failed" + find "${S}" -type d -name CVS -exec rm -rf \{\} \; 2> /dev/null + find "${S}/Data/Textures" -type f -name ".*" -exec rm -f \{\} \; + find "${S}/Data/" -type f -exec chmod a-x \{\} \; } src_install() { - dogamesbin ${FILESDIR}/blackshades - dosed "s:GENTOO_DIR:${GAMES_DATADIR}/${PN}:" ${GAMES_BINDIR}/blackshades - newgamesbin objs/blackshades blackshades-bin + games_make_wrapper blackshades blackshades-bin "${GAMES_DATADIR}/${PN}" + newgamesbin objs/blackshades blackshades-bin || die "newgamesbin failed" - dodir ${GAMES_DATADIR}/${PN} - rm -rf Data/Textures - mv ${WORKDIR}/Textures Data/ - cp -rf Data ${D}/${GAMES_DATADIR}/${PN}/ + insinto "${GAMES_DATADIR}"/${PN} + doins -r Data/ || die "doins failed" dodoc IF_THIS_IS_A_README_YOU_HAVE_WON Readme TODO uDevGame_Readme + make_desktop_entry blackshades "Black Shades" prepgamesdirs } |