pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/ioquake3 ioquake3: add symlinks to binaries / ma...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa74e82b6b9a
branches:  trunk
changeset: 449673:aa74e82b6b9a
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Apr 03 18:03:12 2021 +0000

description:
ioquake3: add symlinks to binaries / man pages from debian

should make it easier to run this.

diffstat:

 games/ioquake3/Makefile         |  21 ++++++--
 games/ioquake3/PLIST            |   6 ++-
 games/ioquake3/files/ioq3ded.6  |  96 +++++++++++++++++++++++++++++++++++++++++
 games/ioquake3/files/ioquake3.6 |  51 +++++++++++++++++++++
 4 files changed, 168 insertions(+), 6 deletions(-)

diffs (218 lines):

diff -r 4fd886a92f62 -r aa74e82b6b9a games/ioquake3/Makefile
--- a/games/ioquake3/Makefile   Sat Apr 03 17:31:05 2021 +0000
+++ b/games/ioquake3/Makefile   Sat Apr 03 18:03:12 2021 +0000
@@ -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 @@
 
 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 @@
 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 -r 4fd886a92f62 -r aa74e82b6b9a games/ioquake3/PLIST
--- a/games/ioquake3/PLIST      Sat Apr 03 17:31:05 2021 +0000
+++ b/games/ioquake3/PLIST      Sat Apr 03 18:03:12 2021 +0000
@@ -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/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 -r 4fd886a92f62 -r aa74e82b6b9a games/ioquake3/files/ioq3ded.6
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ioquake3/files/ioq3ded.6    Sat Apr 03 18:03:12 2021 +0000
@@ -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@localhost>
+and Simon McVittie <smcv%debian.org@localhost>, for the Debian project
+(but may be used by others).
diff -r 4fd886a92f62 -r aa74e82b6b9a games/ioquake3/files/ioquake3.6
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ioquake3/files/ioquake3.6   Sat Apr 03 18:03:12 2021 +0000
@@ -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@localhost>
+and Simon McVittie <smcv%debian.org@localhost>, for the Debian project
+(but may be used by others).



Home | Main Index | Thread Index | Old Index