git: b3888c6871cb - main - games/gnubg: Install icon correctly

From: Carlo Strub <cs_at_FreeBSD.org>
Date: Thu, 04 Dec 2025 21:28:29 UTC
The branch main has been updated by cs:

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

commit b3888c6871cbfecac7a15938ce4e9bdcc8e59b67
Author:     Carlo Strub <cs@FreeBSD.org>
AuthorDate: 2025-12-04 21:27:53 +0000
Commit:     Carlo Strub <cs@FreeBSD.org>
CommitDate: 2025-12-04 21:27:53 +0000

    games/gnubg: Install icon correctly
---
 games/gnubg/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/games/gnubg/Makefile b/games/gnubg/Makefile
index f6e87c18e5dc..acd5e5e95dea 100644
--- a/games/gnubg/Makefile
+++ b/games/gnubg/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gnubg
 PORTVERSION=	1.08.003
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	GNU
 DISTFILES=	gnubg-release-${PORTVERSION}-sources.tar.gz
@@ -38,6 +39,12 @@ INSTALL_TARGET=	install-strip
 OPTIONS_DEFINE=	NLS DOCS
 OPTIONS_SUB=	yes
 
+ICON_THEMES+=	gnubg
+DESKTOP_ENTRIES="GNU Backgammon" "A Backgammon application" \
+		"${DATADIR}/pixmaps/gnubg-big.png" \
+		"gnubg" "Application;Game;BoardGame;" \
+		false
+
 NLS_USES=	gettext
 NLS_CONFIGURE_ENABLE=	nls