summaryrefslogtreecommitdiff
path: root/games/ioquake3
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-04-03 18:03:12 +0000
committernia <nia@pkgsrc.org>2021-04-03 18:03:12 +0000
commit738b563341ddafb62a38aeb2dcc1b16e2532dc10 (patch)
tree7a764a845456ac05e8b7347d01a34ef0c9fe6dad /games/ioquake3
parente229395be28fb2d13fdfa8135c87e847044bd453 (diff)
downloadpkgsrc-738b563341ddafb62a38aeb2dcc1b16e2532dc10.tar.gz
ioquake3: add symlinks to binaries / man pages from debian
should make it easier to run this.
Diffstat (limited to 'games/ioquake3')
-rw-r--r--games/ioquake3/Makefile21
-rw-r--r--games/ioquake3/PLIST6
-rw-r--r--games/ioquake3/files/ioq3ded.696
-rw-r--r--games/ioquake3/files/ioquake3.651
4 files changed, 168 insertions, 6 deletions
diff --git a/games/ioquake3/Makefile b/games/ioquake3/Makefile
index ddd924540d1..99f095f6521 100644
--- a/games/ioquake3/Makefile
+++ b/games/ioquake3/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2020/08/18 17:57:51 leot Exp $
+# $NetBSD: Makefile,v 1.15 2021/04/03 18:03:12 nia Exp $
#
DISTNAME= ioquake3-1.36.20200125
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GITHUB:=ioquake/}
GITHUB_PROJECT= ioq3
@@ -15,10 +15,9 @@ LICENSE= gnu-gpl-v2
USE_TOOLS+= gmake
BUILD_TARGET= release
+INSTALL_TARGET= copyfiles
-do-install:
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/ioquake3
- cd ${WRKSRC} && ${GMAKE} copyfiles COPYDIR=${DESTDIR}${PREFIX}/lib/ioquake3
+MAKE_FLAGS+= COPYDIR=${DESTDIR}${PREFIX}/lib/ioquake3
.include "../../mk/bsd.prefs.mk"
@@ -38,6 +37,18 @@ PLIST_SUBST+= QUAKE_ARCH=${QUAKE_ARCH:Q}
NOT_PAX_MPROTECT_SAFE+= lib/ioquake3/ioq3ded.${QUAKE_ARCH}
NOT_PAX_MPROTECT_SAFE+= lib/ioquake3/ioquake3.${QUAKE_ARCH}
+INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= ${PKGMANDIR}/man6
+INSTALLATION_DIRS+= lib/ioquake3
+
+post-install:
+.for prog in ioquake3 ioq3ded
+ ${LN} -sf ${DESTDIR}${PREFIX}/lib/ioquake3/${prog}.${QUAKE_ARCH} \
+ ${DESTDIR}${PREFIX}/bin/${prog}
+ ${INSTALL_MAN} ${FILESDIR}/${prog}.6 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6
+.endfor
+
.include "../../audio/openal-soft/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
diff --git a/games/ioquake3/PLIST b/games/ioquake3/PLIST
index 4de8db4d16f..1f0704126b8 100644
--- a/games/ioquake3/PLIST
+++ b/games/ioquake3/PLIST
@@ -1,4 +1,6 @@
-@comment $NetBSD: PLIST,v 1.4 2020/01/25 20:13:49 jmcneill Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/04/03 18:03:12 nia Exp $
+bin/ioq3ded
+bin/ioquake3
lib/ioquake3/baseq3/cgame${QUAKE_ARCH}.so
lib/ioquake3/baseq3/qagame${QUAKE_ARCH}.so
lib/ioquake3/baseq3/ui${QUAKE_ARCH}.so
@@ -9,3 +11,5 @@ lib/ioquake3/missionpack/qagame${QUAKE_ARCH}.so
lib/ioquake3/missionpack/ui${QUAKE_ARCH}.so
lib/ioquake3/renderer_opengl1_${QUAKE_ARCH}.so
lib/ioquake3/renderer_opengl2_${QUAKE_ARCH}.so
+man/man6/ioq3ded.6
+man/man6/ioquake3.6
diff --git a/games/ioquake3/files/ioq3ded.6 b/games/ioquake3/files/ioq3ded.6
new file mode 100644
index 00000000000..9cbe84d2b66
--- /dev/null
+++ b/games/ioquake3/files/ioq3ded.6
@@ -0,0 +1,96 @@
+.TH IOQ3DED 6 "2010-10-15"
+
+.SH NAME
+ioq3ded \- ioQuake3 game engine (dedicated server)
+
+.SH SYNOPSIS
+.BR ioq3ded " [" +set " "
+.IR option " " value ]...
+
+.SH DESCRIPTION
+\fBioquake3-server\fP is the dedicated server for the ioQuake3 game engine.
+
+.SH OPTIONS
+.PP
+Any console command can be prefixed with \fB+\fR and used as a
+command-line option (run the server in a terminal to use the console).
+The \fB+set\fR command is generally the most useful to use on the command line,
+but things like \fB+map\fR also work.
+.PP
+Options that can be set with \fB+set\fR
+(note that this is not a full list!) include:
+.PP
+\fBcapturelimit\fR <value>
+.PP
+\fBdedicated\fR <bool>
+.PP
+\fBfraglimit\fR <value>
+.PP
+\fBfs_basepath\fR <string>
+.PP
+\fBfs_game\fR <value>
+.PP
+\fBg_allowVote\fR <bool>
+.PP
+\fBg_banIPs\fR <IP address>
+.PP
+\fBg_doWarmup\fR <bool>
+.PP
+\fBg_friendlyFire\fR <bool>
+.PP
+\fBg_gametype\fR <bool>
+.PP
+\fBg_gravity\fR <value>
+.PP
+\fBg_inactivity\fR <value>
+.PP
+\fBg_maxGameClients\fR <value>
+.PP
+\fBg_motd\fR <string>
+.PP
+\fBg_needpass\fR <bool>
+.PP
+\fBg_password\fR <string>
+.PP
+\fBg_quadfactor\fR <value>
+.PP
+\fBg_weaponrespawn\fR <value>
+.PP
+\fBnet_ip\fR <IP adress>
+.PP
+\fBnet_port\fR <value>
+.PP
+\fBnet_qport\fR <value>
+.PP
+\fBnextmap\fR <string>
+.PP
+\fBsv_allowDownload\fR <bool>
+.PP
+\fBsv_floodProtect\fR <bool>
+.PP
+\fBsv_fps\fR <value>
+.PP
+\fBsv_hostname\fR <string>
+.PP
+\fBsv_maxclients\fR <value>
+.PP
+\fBsv_maxPing\fR <value>
+(Measurd in milliseconds)
+.PP
+\fBsv_minPing\fR <value>
+(Measurd in milliseconds)
+.PP
+\fBsv_pure\fR <bool>
+.PP
+\fBtimelimit\fR <value>
+(Measured in minutes)
+
+.SH SEE ALSO
+.BR ioquake3 (6)
+
+.SH AUTHOR
+ioQuake3 was written by id Software Inc. and the ioQuake3 Team.
+.PP
+This manual page was written by Bruno "Fuddl" Kleinert <fuddl@debian.org>
+and Simon McVittie <smcv@debian.org>, for the Debian project
+(but may be used by others).
diff --git a/games/ioquake3/files/ioquake3.6 b/games/ioquake3/files/ioquake3.6
new file mode 100644
index 00000000000..7ff58306859
--- /dev/null
+++ b/games/ioquake3/files/ioquake3.6
@@ -0,0 +1,51 @@
+.TH IOQUAKE3 6 "2010-10-15"
+
+.SH NAME
+ioquake3 \- ioQuake3 game engine (client)
+
+.SH SYNOPSIS
+.BR ioquake3 " [" +set " "
+.IR option " " value ]...
+
+.SH DESCRIPTION
+This manual page documents briefly the
+.B ioquake3
+command.
+.PP
+\fBioquake3\fP is the game engine client for ioQuake3 based games.
+
+.SH OPTIONS
+.PP
+Any console command can be prefixed with \fB+\fR and used as a
+command-line option (press Shift+Esc to access the in-game console), including:
+.TP
+\fB+set\fR \fIoption\fR \fIvalue\fR
+Set an option (see below for some options)
+.TP
+\fB+connect\fR \fIserver\fR[\fB:\fIport\fR]
+Connect to a server
+.PP
+Options which can be set using \fB+set\fR include:
+.TP
+\fBr_fullscreen\fR <bool>
+1: Play in fullscreen mode; 0: Play in window mode
+.TP
+\fBr_mode\fR <num>
+Sets the screen resulotion mode. Set num to \-1 to use a customized resolution. See also r_customheight and r_customwidth!
+.TP
+\fBr_customwidth\fR <pixels>
+Use \fUpixels\fR as width if r_mode is set to \-1.
+.TP
+\fBr_customheight\fR <pixels>
+Use \fUpixels\fR as height if r_mode is set to \-1.
+.PP
+
+.SH SEE ALSO
+.BR ioquake3-server (6)
+
+.SH AUTHOR
+ioquake3 was written by id Software Inc. and the ioQuake3 Team.
+.PP
+This manual page was written by Bruno "Fuddl" Kleinert <fuddl@debian.org>
+and Simon McVittie <smcv@debian.org>, for the Debian project
+(but may be used by others).