summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2003-11-18 14:13:47 +0000
committerxtraeme <xtraeme@pkgsrc.org>2003-11-18 14:13:47 +0000
commit60709e1667f00fb5183ccbf5cfbe0f5435f5ef29 (patch)
tree3e8a8822adf6e6f1902b038e41082b8294e6d0ce /games
parentcbda09e553c8bd2407fd75e7f66362ea212c7793 (diff)
downloadpkgsrc-60709e1667f00fb5183ccbf5cfbe0f5435f5ef29.tar.gz
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 (limited to 'games')
-rw-r--r--games/quake/INSTALL11
-rw-r--r--games/quake/MESSAGE10
-rw-r--r--games/quake/Makefile14
3 files changed, 13 insertions, 22 deletions
diff --git a/games/quake/INSTALL b/games/quake/INSTALL
deleted file mode 100644
index f5a842ee2a9..00000000000
--- a/games/quake/INSTALL
+++ /dev/null
@@ -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 --git a/games/quake/MESSAGE b/games/quake/MESSAGE
new file mode 100644
index 00000000000..e4b54ee7d0e
--- /dev/null
+++ b/games/quake/MESSAGE
@@ -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 --git a/games/quake/Makefile b/games/quake/Makefile
index 79fc824de08..4a708291350 100644
--- a/games/quake/Makefile
+++ b/games/quake/Makefile
@@ -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_BUILDLINK2= yes
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 @@ do-install:
${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"