diff options
author | xtraeme <xtraeme> | 2004-01-22 09:08:51 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2004-01-22 09:08:51 +0000 |
commit | 4364c6649d06eac887caea6c9b09316df96b3c6b (patch) | |
tree | 355c022165130dee26fbc36c1c25523a1c8dd1a1 | |
parent | 2df2176532d2c096bd0058b1c51bb1f52582a619 (diff) | |
download | pkgsrc-4364c6649d06eac887caea6c9b09316df96b3c6b.tar.gz |
Install .cfg files into ${Q3MODDIR} and explain how we should start it
via NetBSD's rc.d framework. From David Ferlier in PR pkg/24132.
-rw-r--r-- | games/quake3server-ra3/MESSAGE | 9 | ||||
-rw-r--r-- | games/quake3server-ra3/Makefile | 12 | ||||
-rw-r--r-- | games/quake3server-ra3/PLIST | 8 |
3 files changed, 12 insertions, 17 deletions
diff --git a/games/quake3server-ra3/MESSAGE b/games/quake3server-ra3/MESSAGE index bba2025ee0a..6fc9d19db40 100644 --- a/games/quake3server-ra3/MESSAGE +++ b/games/quake3server-ra3/MESSAGE @@ -1,9 +1,10 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.1.1.1 2004/01/04 18:40:30 xtraeme Exp $ +$NetBSD: MESSAGE,v 1.2 2004/01/22 09:08:51 xtraeme Exp $ -To start a Rocket Arena Quake3 server, you should run: +To start a Rocket Arena Quake3 server, add this to your /etc/rc.conf: -./q3ded +set fs_game arena +set vm_game 0 +set sv_pure 1 +set bot_enable 0 - +set dedicated 2 +set net_port 27960 +exec server.cfg + quake3server="YES" + quake3server_flags="+set fs_game arena +set dedicated 1 + +exec server.cfg &" =========================================================================== diff --git a/games/quake3server-ra3/Makefile b/games/quake3server-ra3/Makefile index 27dcd4e4e80..c3fdbeb1138 100644 --- a/games/quake3server-ra3/Makefile +++ b/games/quake3server-ra3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2004/01/10 17:47:38 cjep Exp $ +# $NetBSD: Makefile,v 1.3 2004/01/22 09:08:51 xtraeme Exp $ DISTNAME= ra3-1.65 PKGNAME= quake3server-ra3-1.65 @@ -23,16 +23,10 @@ DOCDIR= ${PREFIX}/share/doc/lokigames/quake3server/arena do-install: ${INSTALL_DATA_DIR} ${Q3MODDIR} ${INSTALL_DATA_DIR} ${DOCDIR} -.for datafile in *.pk3 qagame* +.for datafile in *.pk3 qagame* *.cfg ${INSTALL_DATA} ${WRKSRC}/${datafile} ${Q3MODDIR} .endfor - -# Installs configuration files in baseq3 - -.for cfgfile in arena.cfg server.cfg - ${INSTALL_DATA} ${WRKSRC}/${cfgfile} ${Q3ROOTDIR}/baseq3 -.endfor - + .for docfile in readme.txt readsrv.txt ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCDIR} .endfor diff --git a/games/quake3server-ra3/PLIST b/games/quake3server-ra3/PLIST index b47c8da0669..45504f9f22e 100644 --- a/games/quake3server-ra3/PLIST +++ b/games/quake3server-ra3/PLIST @@ -1,4 +1,5 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/04 18:40:31 xtraeme Exp $ +@comment $NetBSD: PLIST,v 1.2 2004/01/22 09:08:51 xtraeme Exp $ +lib/lokigames/quake3server/arena/arena.cfg lib/lokigames/quake3server/arena/browser.pk3 lib/lokigames/quake3server/arena/gfx.pk3 lib/lokigames/quake3server/arena/icons.pk3 @@ -22,14 +23,13 @@ lib/lokigames/quake3server/arena/ra3map7.pk3 lib/lokigames/quake3server/arena/ra3map8.pk3 lib/lokigames/quake3server/arena/ra3map9.pk3 lib/lokigames/quake3server/arena/scripts.pk3 +lib/lokigames/quake3server/arena/server.cfg lib/lokigames/quake3server/arena/sounds.pk3 lib/lokigames/quake3server/arena/textures.pk3 lib/lokigames/quake3server/arena/vm.pk3 -lib/lokigames/quake3server/baseq3/arena.cfg -lib/lokigames/quake3server/baseq3/server.cfg share/doc/lokigames/quake3server/arena/readme.txt share/doc/lokigames/quake3server/arena/readsrv.txt @dirrm share/doc/lokigames/quake3server/arena @dirrm share/doc/lokigames/quake3server -@dirrm lib/lokigames/quake3server/baseq3 @dirrm lib/lokigames/quake3server/arena +@dirrm lib/lokigames/quake3server |