pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/quake There's no need to install quake into ${X1...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb22b7cdce51
branches:  trunk
changeset: 463562:bb22b7cdce51
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Tue Nov 18 14:13:47 2003 +0000

description:
There's no need to install quake into ${X11PREFIX}, so
s/USE_X11BASE/USE_X11/.

Simplify a bit removing the post-install target and the INSTALL file
with a MESSAGE file.

Provided by Soren Jacobsen in PR pkg/23457. Bump PKGREVISION.

diffstat:

 games/quake/INSTALL  |  11 -----------
 games/quake/MESSAGE  |  10 ++++++++++
 games/quake/Makefile |  14 +++-----------
 3 files changed, 13 insertions(+), 22 deletions(-)

diffs (67 lines):

diff -r f92e84699135 -r bb22b7cdce51 games/quake/INSTALL
--- a/games/quake/INSTALL       Tue Nov 18 14:05:54 2003 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-if [ "$2" = "POST-INSTALL" ]
-then
-    echo
-    echo =====================================================================
-    echo For running quake you need data files. Look for quakesw-1.0.6.tar.gz.
-    echo Extract it somewhere, and start quake from the same directory, e.g.
-    echo by running \'quake.x11\'.
-    echo =====================================================================
-fi
diff -r f92e84699135 -r bb22b7cdce51 games/quake/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/quake/MESSAGE       Tue Nov 18 14:13:47 2003 +0000
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2003/11/18 14:13:47 xtraeme Exp $
+
+To run quake you need data files. The quakedata package, which contains
+the shareware data, has been installed.
+
+To start a game, run quake.x11 from a directory that contains
+id1/pak0.pak, for example, ${PREFIX}/share/quake/.
+
+===========================================================================
diff -r f92e84699135 -r bb22b7cdce51 games/quake/Makefile
--- a/games/quake/Makefile      Tue Nov 18 14:05:54 2003 +0000
+++ b/games/quake/Makefile      Tue Nov 18 14:13:47 2003 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2003/07/21 16:49:59 martti Exp $
+# $NetBSD: Makefile,v 1.26 2003/11/18 14:13:47 xtraeme Exp $
 
 DISTNAME=      q1source
 PKGNAME=       quake-2.30
-PKGREVISION=   1
+PKGREVISION=   2
 WRKSRC=                ${WRKDIR}
 CATEGORIES=    games x11
 MASTER_SITES=  ftp://ftp.fu-berlin.de/pc/msdos/games/idgames/idstuff/source/ \
@@ -21,7 +21,7 @@
 USE_GMAKE=     yes
 MAKE_ENV+=     MAINDIR=${WRKSRC}
 
-USE_X11BASE=   yes
+USE_X11=       yes
 
 MAKE_ENV+=     MESA_DIR=${BUILDLINK_PREFIX.Mesa}
 MAKE_ENV+=     X11BASE=${X11BASE}
@@ -48,14 +48,6 @@
        ${INSTALL_PROGRAM} ${WRKSRC}/winquake/release_version/bin/glquake.glx ${PREFIX}/bin
        ${INSTALL_PROGRAM} ${WRKSRC}/winquake/release_version/bin/quake.x11 ${PREFIX}/bin
 
-post-install:
-       @ ${ECHO}
-       @ ${ECHO} =====================================================================
-       @ ${ECHO} For running quake you need data files. Look for quakesw-1.0.6.tar.gz.
-       @ ${ECHO} Extract it somewhere, and start quake from the same directory, e.g.
-       @ ${ECHO} by running \'quake.x11\'.
-       @ ${ECHO} =====================================================================
-
 .include "../../graphics/MesaLib/buildlink2.mk"
 .include "../../graphics/glu/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index