diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2007-04-04 20:20:07 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2007-04-04 20:20:07 +0000 |
commit | 78b8970395260cdc9be702aa9fd8eefe00ad5e00 (patch) | |
tree | 9d58a597df12b590f4b09f4575fb119a87fafe53 /games-strategy/freecnc | |
parent | maske broken kmess prerelease, bury kde-misc/metabar (diff) | |
download | gentoo-2-78b8970395260cdc9be702aa9fd8eefe00ad5e00.tar.gz gentoo-2-78b8970395260cdc9be702aa9fd8eefe00ad5e00.tar.bz2 gentoo-2-78b8970395260cdc9be702aa9fd8eefe00ad5e00.zip |
use games_get_libdir
(Portage version: 2.1.2.3)
Diffstat (limited to 'games-strategy/freecnc')
-rw-r--r-- | games-strategy/freecnc/files/freecnc | 3 | ||||
-rw-r--r-- | games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild | 25 |
2 files changed, 12 insertions, 16 deletions
diff --git a/games-strategy/freecnc/files/freecnc b/games-strategy/freecnc/files/freecnc deleted file mode 100644 index 5cbf438349b8..000000000000 --- a/games-strategy/freecnc/files/freecnc +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -cd GENTOO_DIR -exec ./freecnc "$@" diff --git a/games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild b/games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild index 953d1fe38894..5dad06da3724 100644 --- a/games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild +++ b/games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild,v 1.11 2007/03/12 18:05:57 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild,v 1.12 2007/04/04 20:20:07 nyhm Exp $ inherit flag-o-matic eutils games @@ -14,11 +14,10 @@ SRC_URI="mirror://gentoo/freecnc++-${PV}-src.tar.bz2 LICENSE="GPL-2" SLOT="0" KEYWORDS="~ppc x86" -IUSE="zlib nocd" +IUSE="nocd" RDEPEND="media-libs/libsdl - media-libs/sdl-net - zlib? ( sys-libs/zlib )" + media-libs/sdl-net" DEPEND="${RDEPEND} app-arch/unzip" @@ -34,10 +33,11 @@ src_unpack() { done fi cd "${S}" - epatch ${FILESDIR}/${PV}-makefile-cflags.patch \ - ${FILESDIR}/${PV}-remove-root.patch \ - ${FILESDIR}/${PV}-gentoo-paths.patch \ - "${FILESDIR}/${P}"-gcc4.patch + epatch \ + "${FILESDIR}"/${PV}-makefile-cflags.patch \ + "${FILESDIR}"/${PV}-remove-root.patch \ + "${FILESDIR}"/${PV}-gentoo-paths.patch \ + "${FILESDIR}"/${P}-gcc4.patch sed -i \ -e "s:GENTOO_LOGDIR:${GAMES_LOGDIR}:" \ -e "s:GENTOO_CONFDIR:${GAMES_SYSCONFDIR}/${PN}/:" \ @@ -51,14 +51,13 @@ src_compile() { } src_install() { - exeinto "${GAMES_LIBDIR}"/${PN} + exeinto "$(games_get_libdir)"/${PN} doexe freecnc *.vfs audplay shpview tmpinied || die "doexe failed" - dogamesbin "${FILESDIR}"/freecnc - dosed "s:GENTOO_DIR:${GAMES_LIBDIR}/${PN}:" ${GAMES_BINDIR}/freecnc + games_make_wrapper ${PN} ./freecnc "$(games_get_libdir)"/${PN} insinto "${GAMES_DATADIR}"/${PN}/conf - doins conf/* + doins conf/* || die "doins failed" insinto "${GAMES_SYSCONFDIR}"/${PN} - doins conf/* + doins conf/* || die "doins failed" dodoc AUTHORS ChangeLog NEWS README THANKS TODO if use nocd ; then cd "${WORKDIR}"/data |