summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseafork <seafork@disroot.org>2025-07-12 00:53:24 +0300
committerVladimir Druzenko <vvd@FreeBSD.org>2025-07-12 00:58:03 +0300
commit4f742feef1fa66b1d059fcb9efeb8bef469cd19b (patch)
treeab683c93043aaa9f496afa6ee9817c6ffe36dccd
parentmail/postfix: Update to 3.10.3 (diff)
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
-rw-r--r--games/sdl_jewels/Makefile32
1 files 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| ; \