diff --git a/games/qstat/DESCR b/games/qstat/DESCR index 5207d2088682..e181a3c04a60 100644 --- a/games/qstat/DESCR +++ b/games/qstat/DESCR @@ -1,16 +1,5 @@ -QStat is a command-line program that gathers real-time statistics from -Internet game servers. - -A summary of its features: - - * Supports Windows 95, NT, Linux, and most Unixes. - * Comes with C source code and a binary for Windows. - * Supports old Quake (NetQuake), QuakeWorld, Hexen II, HexenWorld, Quake II, - Unreal/UT, Turok2, Sin, Half-Life, Shogo, Tribes, Tribes 2, Quake III, - BFRIS, Kingpin, Heretic II servers, Soldier of Fortune, and lots more. - * Can display all available statistics, including player info & server rules. - * Output templates for automatic HTML generation. - * Raw display mode for integration with custom server browsers. - * Built-in host name cache. - * Sort by ping time, game, or both. - * More options than you can wiggle a mouse at. +QStat is a command-line program that displays information about Internet +game servers. The servers are either down, non-responsive, or running a +game. For servers running a game, the server name, map name, current number +of players, and response time are displayed. Server rules and player +information may also be displayed. diff --git a/games/qstat/Makefile b/games/qstat/Makefile index 9634626aff1e..79a3aab73a6a 100644 --- a/games/qstat/Makefile +++ b/games/qstat/Makefile @@ -1,12 +1,16 @@ -# $NetBSD: Makefile,v 1.10 2018/01/14 15:26:48 rillig Exp $ +# $NetBSD: Makefile,v 1.11 2020/11/24 17:49:41 nia Exp $ -DISTNAME= qstat-2.10 +DISTNAME= qstat-2.14 CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qstat/} +MASTER_SITES= ${MASTER_SITE_GITHUB:=multiplay/} +GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@NetBSD.org -#HOMEPAGE= http://www.qstat.org/ +HOMEPAGE= https://github.com/multiplay/qstat COMMENT= Program that gathers real-time statistics from game servers +LICENSE= artistic-2.0 + +USE_TOOLS+= autoconf automake autoreconf GNU_CONFIGURE= yes CPPFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\"" @@ -16,16 +20,7 @@ CONF_FILES= ${EGDIR}/qstat.cfg ${PKG_SYSCONFDIR}/qstat.cfg INSTALLATION_DIRS= bin -do-install: - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/${PKGBASE} - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/template - ${INSTALL_PROGRAM} ${WRKSRC}/qstat ${DESTDIR}${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/qstatdoc.html \ - ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} - ${INSTALL_DATA} ${WRKSRC}/template/*.html \ - ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/template - ${INSTALL_DATA} ${WRKSRC}/contrib.cfg ${DESTDIR}${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/qstat.cfg ${DESTDIR}${EGDIR} +pre-configure: + cd ${WRKSRC} && autoreconf -fi .include "../../mk/bsd.pkg.mk" diff --git a/games/qstat/PLIST b/games/qstat/PLIST index 60090394992a..99c7937539f6 100644 --- a/games/qstat/PLIST +++ b/games/qstat/PLIST @@ -1,21 +1,3 @@ -@comment $NetBSD: PLIST,v 1.3 2009/06/14 17:56:54 joerg Exp $ +@comment $NetBSD: PLIST,v 1.4 2020/11/24 17:49:41 nia Exp $ bin/qstat -share/doc/${PKGBASE}/qstatdoc.html -share/doc/${PKGBASE}/template/brocTh.html -share/doc/${PKGBASE}/template/brocTp.html -share/doc/${PKGBASE}/template/brocTs.html -share/doc/${PKGBASE}/template/brocTt.html -share/doc/${PKGBASE}/template/ghostreconTh.html -share/doc/${PKGBASE}/template/ghostreconTp.html -share/doc/${PKGBASE}/template/ghostreconTs.html -share/doc/${PKGBASE}/template/ghostreconTt.html -share/doc/${PKGBASE}/template/tribes2th.html -share/doc/${PKGBASE}/template/tribes2tp.html -share/doc/${PKGBASE}/template/tribes2ts.html -share/doc/${PKGBASE}/template/tribes2tt.html -share/doc/${PKGBASE}/template/unrealTh.html -share/doc/${PKGBASE}/template/unrealTp.html -share/doc/${PKGBASE}/template/unrealTs.html -share/doc/${PKGBASE}/template/unrealTt.html -share/examples/${PKGBASE}/contrib.cfg -share/examples/${PKGBASE}/qstat.cfg +share/examples/qstat/qstat.cfg diff --git a/games/qstat/distinfo b/games/qstat/distinfo index ebaa31b983b4..d9bc4c696d00 100644 --- a/games/qstat/distinfo +++ b/games/qstat/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.5 2015/11/03 20:57:02 agc Exp $ +$NetBSD: distinfo,v 1.6 2020/11/24 17:49:41 nia Exp $ -SHA1 (qstat-2.10.tar.gz) = a138d8d79c0840d4ded5d3d5c343613242e56026 -RMD160 (qstat-2.10.tar.gz) = d5f7c481ac37844f36a0791ef052c924301f0083 -SHA512 (qstat-2.10.tar.gz) = fa61fe33356dba582f1938cc2402f8a071d91b0e0afe25ef41b619a99bcd63552a3789383781036c9272a36a6215aa92beb6cee1c17777f14c48c867f7eb8362 -Size (qstat-2.10.tar.gz) = 228886 bytes +SHA1 (qstat-2.14.tar.gz) = 6b18671939ba8a0afc9669e0e4069e4ef9d02a0e +RMD160 (qstat-2.14.tar.gz) = e7222acd365b33c07636b9f10369ee7803b88f04 +SHA512 (qstat-2.14.tar.gz) = f2054d74399fe1773a19ca43629e10364fdd87e551459719685c11f38245a05906631b456848b1a3764b4e6843baf654af6a9b174c7b16908b6bcb97ac64c6d6 +Size (qstat-2.14.tar.gz) = 210440 bytes +SHA1 (patch-Makefile.am) = 27ca86e6cf351e5cbe254ddf22c97375d30a9abb diff --git a/games/qstat/patches/patch-Makefile.am b/games/qstat/patches/patch-Makefile.am new file mode 100644 index 000000000000..8562a47b6b55 --- /dev/null +++ b/games/qstat/patches/patch-Makefile.am @@ -0,0 +1,15 @@ +$NetBSD: patch-Makefile.am,v 1.1 2020/11/24 17:49:41 nia Exp $ + +Install config files to examples. + +--- Makefile.am.orig 2014-03-01 01:49:37.000000000 +0000 ++++ Makefile.am +@@ -40,7 +40,7 @@ qstat_SOURCES = \ + farmsim.c farmsim.h + + dist_configfiles_DATA = qstat.cfg +-configfilesdir = $(sysconfdir) ++configfilesdir = $(datadir)/examples/qstat + + EXTRA_DIST = CHANGES.txt COMPILE.txt LICENSE.txt \ + Makefile.noauto \