diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-05-26 00:46:09 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-05-26 00:46:09 +0000 |
commit | 0c7179acb7e113eaab057a5ae15a0f11fe9c170d (patch) | |
tree | b49e2ec24cdda9180457ce2ae271b29abbc7af4b /games-fps | |
parent | cleanup (diff) | |
download | historical-0c7179acb7e113eaab057a5ae15a0f11fe9c170d.tar.gz historical-0c7179acb7e113eaab057a5ae15a0f11fe9c170d.tar.bz2 historical-0c7179acb7e113eaab057a5ae15a0f11fe9c170d.zip |
add warning to install data files
Package-Manager: portage-2.1_rc2-r1
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild | 25 | ||||
-rw-r--r-- | games-fps/quake1/quake1-2.40-r1.ebuild | 21 | ||||
-rw-r--r-- | games-fps/quakeforge/quakeforge-0.5.5.ebuild | 3 |
3 files changed, 45 insertions, 4 deletions
diff --git a/games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild b/games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild index 980f97038802..50053eaef858 100644 --- a/games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild +++ b/games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild,v 1.7 2005/11/05 22:36:21 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild,v 1.8 2006/05/26 00:45:54 vapier Exp $ inherit eutils games @@ -11,9 +11,11 @@ SRC_URI="http://www.tempestgames.com/ryan/downloads/NPRQuake-SDL.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" -IUSE="" +IUSE="cdinstall" DEPEND="media-libs/libsdl" +RDEPEND="${DEPEND} + cdinstall? ( games-fps/quake1-data )" S=${WORKDIR}/NPRQuake-SDL @@ -43,3 +45,22 @@ src_install() { ln -s sketch.so dr_default.so prepgamesdirs } + +pkg_postinst() { + # same warning used in quake1 / quakeforge / nprquake-sdl + games_pkg_postinst + echo + einfo "Before you can play, you must make sure" + einfo "QuakeForge can find your Quake .pak files" + echo + einfo "You have 2 choices to do this" + einfo "1 Copy pak*.pak files to ${GAMES_DATADIR}/quake1/id1" + einfo "2 Symlink pak*.pak files in ${GAMES_DATADIR}/quake1/id1" + echo + einfo "Example:" + einfo "my pak*.pak files are in /mnt/secondary/Games/Quake/Id1/" + einfo "ln -s /mnt/secondary/Games/Quake/Id1/pak0.pak ${GAMES_DATADIR}/quake1/id1/pak0.pak" + echo + einfo "You only need pak0.pak to play the demo version," + einfo "the others are needed for registered version" +} diff --git a/games-fps/quake1/quake1-2.40-r1.ebuild b/games-fps/quake1/quake1-2.40-r1.ebuild index 8b698dfbfbae..615704ecf706 100644 --- a/games-fps/quake1/quake1-2.40-r1.ebuild +++ b/games-fps/quake1/quake1-2.40-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1/quake1-2.40-r1.ebuild,v 1.5 2006/03/15 22:23:15 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1/quake1-2.40-r1.ebuild,v 1.6 2006/05/26 00:45:56 vapier Exp $ inherit eutils games @@ -84,3 +84,22 @@ src_install() { dodoc readme.txt {WinQuake,QW}/*.txt prepgamesdirs } + +pkg_postinst() { + # same warning used in quake1 / quakeforge / nprquake-sdl + games_pkg_postinst + echo + einfo "Before you can play, you must make sure" + einfo "QuakeForge can find your Quake .pak files" + echo + einfo "You have 2 choices to do this" + einfo "1 Copy pak*.pak files to ${GAMES_DATADIR}/quake1/id1" + einfo "2 Symlink pak*.pak files in ${GAMES_DATADIR}/quake1/id1" + echo + einfo "Example:" + einfo "my pak*.pak files are in /mnt/secondary/Games/Quake/Id1/" + einfo "ln -s /mnt/secondary/Games/Quake/Id1/pak0.pak ${GAMES_DATADIR}/quake1/id1/pak0.pak" + echo + einfo "You only need pak0.pak to play the demo version," + einfo "the others are needed for registered version" +} diff --git a/games-fps/quakeforge/quakeforge-0.5.5.ebuild b/games-fps/quakeforge/quakeforge-0.5.5.ebuild index 0761e329ff90..d84e3bfc0d49 100644 --- a/games-fps/quakeforge/quakeforge-0.5.5.ebuild +++ b/games-fps/quakeforge/quakeforge-0.5.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/quakeforge-0.5.5.ebuild,v 1.11 2006/05/06 22:11:49 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/quakeforge-0.5.5.ebuild,v 1.12 2006/05/26 00:46:09 vapier Exp $ inherit eutils games @@ -122,6 +122,7 @@ src_install() { } pkg_postinst() { + # same warning used in quake1 / quakeforge / nprquake-sdl games_pkg_postinst echo einfo "Before you can play, you must make sure" |