games/qstat update to v2.14

OK sthen@

- upstream moved from sourceforge to github
- now using autoconf
- patch-utils_h has been taken by upstream
  to be removed on next release

Submitted by Tom Murphy, who also takes MAINTAINER (thanks!).
This commit is contained in:
awolk 2018-02-18 16:07:39 +00:00
parent e64df3e0b1
commit 26dc085050
3 changed files with 37 additions and 7 deletions

View File

@ -1,19 +1,35 @@
# $OpenBSD: Makefile,v 1.9 2013/03/11 11:07:40 espie Exp $
# $OpenBSD: Makefile,v 1.10 2018/02/18 16:07:39 awolk Exp $
COMMENT= displays the status of multi-player Internet Game servers
DISTNAME= qstat-2.11
REVISION= 0
GH_ACCOUNT= multiplay
GH_PROJECT= qstat
GH_TAGNAME= v2.14
CATEGORIES= games
MAINTAINER= Tom Murphy <openbsd@pertho.net>
# Artistic
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qstat/}
BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
CONFIGURE_STYLE=gnu
CONFIGURE_STYLE = gnu
AUTOCONF_VERSION = 2.61
AUTOMAKE_VERSION = 1.9
MAKE_ENV = AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION}
post-patch:
cd ${WRKSRC}; \
export AUTOCONF_VERSION=${AUTOCONF_VERSION}; \
export AUTOMAKE_VERSION=${AUTOMAKE_VERSION}; \
./autogen.sh
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/qstat

View File

@ -1,2 +1,2 @@
SHA256 (qstat-2.11.tar.gz) = FvDA9VVnWX1/LbUTaghYxW7/tEgaLIIaSM0EMupXIVA=
SIZE (qstat-2.11.tar.gz) = 258335
SHA256 (qstat-2.14.tar.gz) = rpBrdNTM6AV7WiZbdoWRAdqBBMKgfAXxGlH3yfAz74s=
SIZE (qstat-2.14.tar.gz) = 210440

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-utils_h,v 1.1 2018/02/18 16:07:39 awolk Exp $
Index: utils.h
--- utils.h.orig
+++ utils.h
@@ -8,7 +8,7 @@
#define QSTAT_UTILS_H
// BSD has strnstr
-#if defined(__FreeBSD__) || defined(__MidnightBSD__) || defined(__OpenBSD__)
+#if defined(__FreeBSD__) || defined(__MidnightBSD__)
#ifndef HAVE_STRNSTR
#define HAVE_STRNSTR 1
#endif /* HAVE_STRNSTR */