diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-05-26 00:45:54 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-05-26 00:45:54 +0000 |
commit | 5822af82e48b3bab792eb0f40f08e5e359dc2074 (patch) | |
tree | 68458daf43907e3d7f6cd0bf5b0477304bf3e756 /games-fps | |
parent | Stable on x86 wrt bug #132213 (diff) | |
download | gentoo-2-5822af82e48b3bab792eb0f40f08e5e359dc2074.tar.gz gentoo-2-5822af82e48b3bab792eb0f40f08e5e359dc2074.tar.bz2 gentoo-2-5822af82e48b3bab792eb0f40f08e5e359dc2074.zip |
add warning to install data files
(Portage version: 2.1_rc2-r1)
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild | 25 |
1 files changed, 23 insertions, 2 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" +} |