git: 8575f3b32ca2 - 2025Q3 - games/sdl_jewels: Improve port, take maintainership

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Fri, 11 Jul 2025 21:58:57 UTC
The branch 2025Q3 has been updated by vvd:

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

commit 8575f3b32ca28ca16e9220381aadb12429da063b
Author:     seafork <seafork@disroot.org>
AuthorDate: 2025-07-11 21:53:24 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-07-11 21:58:50 +0000

    games/sdl_jewels: Improve port, take maintainership
    
    - Replace PORTVERSION with DISTVERSION.
    - Update MASTER_SITES and WWW.
    - Add LICENSE.
    - Fix dependency - prevent silent grab libgl.
    - Sort USE_SDL.
    - Fix warnings from portclippy.
    - Format DESKTOP_ENTRIES.
    
    PR:     288143
    MFH:    2025Q3
    (cherry picked from commit 4f742feef1fa66b1d059fcb9efeb8bef469cd19b)
---
 games/sdl_jewels/Makefile | 32 +++++++++++++++++++++-----------
 1 file changed, 21 insertions(+), 11 deletions(-)

diff --git a/games/sdl_jewels/Makefile b/games/sdl_jewels/Makefile
index 1c4a2cd892b3..b2195417c816 100644
--- a/games/sdl_jewels/Makefile
+++ b/games/sdl_jewels/Makefile
@@ -1,30 +1,40 @@
 PORTNAME=	sdl_jewels
-PORTVERSION=	1.1.1
-PORTREVISION=	5
+DISTVERSION=	1.1.1
+PORTREVISION=	6
 CATEGORIES=	games
-MASTER_SITES=	http://www.linuxmotors.com/gljewel/downloads/ \
+MASTER_SITES=	https://www.linuxmotors.com/linux/gljewel/downloads/ \
 		SF/nemysisfreebsdp/${CATEGORIES}/:icons
 DISTFILES=	${PORTNAME:S/sdl/SDL/}-${DISTVERSION}.tgz \
 		${PORTNAME}.png:icons
 DIST_SUBDIR=	${PORTNAME}
 EXTRACT_ONLY=	${PORTNAME:S/sdl/SDL/}-${DISTVERSION}.tgz
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	seafork@disroot.org
 COMMENT=	Tile-matching 8x8 puzzle game
-WWW=		http://www.linuxmotors.com/gljewel/
+WWW=		https://www.linuxmotors.com/linux/gljewel/
 
-WRKSRC=		${WRKDIR}/${PORTNAME:S/sdl/SDL/}-${PORTVERSION}
+LICENSE=	UNKNOWN
+LICENSE_NAME=	Unknown
+LICENSE_TEXT=	The license is unknown.
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-USES=		gmake sdl
-USE_SDL=	sdl image mixer
+USES=		gl gmake sdl
+USE_GL=		gl
+USE_SDL=	image mixer sdl
 ALL_TARGET=	# empty
 
+DESKTOP_ENTRIES=	"SDL Jewels" \
+			"" \
+			"${PORTNAME}" \
+			"${PORTNAME}" \
+			"Game;BoardGame;" \
+			""
+
+WRKSRC=		${WRKDIR}/${PORTNAME:S/sdl/SDL/}-${DISTVERSION}
+
 PORTDOCS=	ChangeLog README
 OPTIONS_DEFINE=	DOCS
 
-DESKTOP_ENTRIES="SDL Jewels" "" "${PORTNAME}" \
-		"${PORTNAME}" "Game;BoardGame;" ""
-
 post-patch:
 	@${RM} -r ${WRKSRC}/data/CVS
 	@${REINPLACE_CMD} -e 's|data/bigfont.ppm|${DATADIR}/data/bigfont.ppm| ; \