pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/ioquake3



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Apr  3 18:03:12 UTC 2021

Modified Files:
        pkgsrc/games/ioquake3: Makefile PLIST
Added Files:
        pkgsrc/games/ioquake3/files: ioq3ded.6 ioquake3.6

Log Message:
ioquake3: add symlinks to binaries / man pages from debian

should make it easier to run this.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/games/ioquake3/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/games/ioquake3/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/games/ioquake3/files/ioq3ded.6 \
    pkgsrc/games/ioquake3/files/ioquake3.6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/ioquake3/Makefile
diff -u pkgsrc/games/ioquake3/Makefile:1.14 pkgsrc/games/ioquake3/Makefile:1.15
--- pkgsrc/games/ioquake3/Makefile:1.14 Tue Aug 18 17:57:51 2020
+++ pkgsrc/games/ioquake3/Makefile      Sat Apr  3 18:03:12 2021
@@ -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"

Index: pkgsrc/games/ioquake3/PLIST
diff -u pkgsrc/games/ioquake3/PLIST:1.4 pkgsrc/games/ioquake3/PLIST:1.5
--- pkgsrc/games/ioquake3/PLIST:1.4     Sat Jan 25 20:13:49 2020
+++ pkgsrc/games/ioquake3/PLIST Sat Apr  3 18:03:12 2021
@@ -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_A
 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

Added files:

Index: pkgsrc/games/ioquake3/files/ioq3ded.6
diff -u /dev/null pkgsrc/games/ioquake3/files/ioq3ded.6:1.1
--- /dev/null   Sat Apr  3 18:03:12 2021
+++ pkgsrc/games/ioquake3/files/ioq3ded.6       Sat Apr  3 18:03:12 2021
@@ -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).
Index: pkgsrc/games/ioquake3/files/ioquake3.6
diff -u /dev/null pkgsrc/games/ioquake3/files/ioquake3.6:1.1
--- /dev/null   Sat Apr  3 18:03:12 2021
+++ pkgsrc/games/ioquake3/files/ioquake3.6      Sat Apr  3 18:03:12 2021
@@ -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