summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-05-26 00:46:09 +0000
committerMike Frysinger <vapier@gentoo.org>2006-05-26 00:46:09 +0000
commit0c7179acb7e113eaab057a5ae15a0f11fe9c170d (patch)
treeb49e2ec24cdda9180457ce2ae271b29abbc7af4b /games-fps/nprquake-sdl
parentcleanup (diff)
downloadhistorical-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/nprquake-sdl')
-rw-r--r--games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild25
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"
+}