git: ac2f79786331 - main - games/qwdtools: emancipate the port and update to the latest commit

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Sat, 21 Sep 2024 13:38:49 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ac2f7978633151f9dae784e3041bd774fc5ee9e7

commit ac2f7978633151f9dae784e3041bd774fc5ee9e7
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-09-21 13:37:08 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-09-21 13:37:08 +0000

    games/qwdtools: emancipate the port and update to the latest commit
    
    - QWDtools now live in their own upstream GitHub repository, contrary
      to being part of the MVDSV before, and build themselves using CMake
    - Assign maintainership to vvd@ who has better knowledge of this code
      and more tight connections with other developers
    
    PR:     280374
---
 games/qwdtools/Makefile | 23 +++++++++++++++--------
 games/qwdtools/distinfo |  3 +++
 2 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/games/qwdtools/Makefile b/games/qwdtools/Makefile
index 53b533e02656..15027f3a0412 100644
--- a/games/qwdtools/Makefile
+++ b/games/qwdtools/Makefile
@@ -1,15 +1,22 @@
 PORTNAME=	qwdtools
+PORTVERSION=	0.34.20220905
+PORTEPOCH=	2
 CATEGORIES=	games converters
+
+MAINTAINER=	vvd@FreeBSD.org
 COMMENT=	Convert QuakeWorld demos from QWD format to MVD format
-DESCR=		${.CURDIR}/pkg-descr
-PKGMESSAGE=	/nonexistent
+WWW=		https://github.com/QW-Group/qwdtools
+
+LICENSE=	GPLv2+
 
-BUILD_WRKSRC=	${WRKSRC}/tools/qwdtools/source
-GH_PROJECT=	mvdsv
+USES=		cmake
+USE_GITHUB=	yes
+GH_ACCOUNT=	QW-Group
+GH_TAGNAME=	8af104b
 
-CFLAGS+=	-DVERSION_NUMBER=\\\"${PORTVERSION}\\\" \
-		-DHOMEPAGE_URL=SERVER_HOME_URL
+PLIST_FILES=	bin/${PORTNAME}
 
-MASTERDIR=	${.CURDIR}/../mvdsv
+do-install:
+	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
-.include "${MASTERDIR}/Makefile"
+.include <bsd.port.mk>
diff --git a/games/qwdtools/distinfo b/games/qwdtools/distinfo
new file mode 100644
index 000000000000..830c48a4ede7
--- /dev/null
+++ b/games/qwdtools/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1662415276
+SHA256 (QW-Group-qwdtools-0.34.20220905-8af104b_GH0.tar.gz) = df3cad50095e6de23214d73a290df82f2fc69cc31177024f26c7d9b17a3dfe77
+SIZE (QW-Group-qwdtools-0.34.20220905-8af104b_GH0.tar.gz) = 66293