git: 16d9f97fc2c3 - main - x11/kitty: Update to 0.29.1

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Mon, 17 Jul 2023 08:00:33 UTC
The branch main has been updated by nivit:

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

commit 16d9f97fc2c3f9bd90d03d6bbd0311c431d841a9
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2023-07-17 07:59:10 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2023-07-17 07:59:10 +0000

    x11/kitty: Update to 0.29.1
    
    - Fix installation of icons
    
    Release changes: https://sw.kovidgoyal.net/kitty/changelog/#id1
---
 x11/kitty/Makefile  |  7 ++++---
 x11/kitty/distinfo  | 10 +++++-----
 x11/kitty/pkg-plist |  3 ++-
 3 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/x11/kitty/Makefile b/x11/kitty/Makefile
index 9be06d093724..ff7028bbccf6 100644
--- a/x11/kitty/Makefile
+++ b/x11/kitty/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	kitty
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.29.0
+DISTVERSION=	0.29.1
 PORTREVISION=	0
 CATEGORIES=	x11 wayland
 
@@ -99,7 +99,7 @@ EXTRA_PATCHES=	${PATCHDIR}/extra-patch-kitty_data-types.h
 .endif
 
 post-patch:
-	${REINPLACE_CMD} -i.bak -e "s: 'go':'${GO_CMD:T}':1" ${WRKSRC}/setup.py
+	${REINPLACE_CMD} -i.bak -e "s:'go':'${GO_CMD}':1" ${WRKSRC}/setup.py
 
 # For librsync, we need to set header and library path
 do-build:
@@ -116,7 +116,8 @@ do-install:
 	cd ${BUILD_DIR} && \
 		${INSTALL_PROGRAM} bin/kitty bin/kitten ${STAGEDIR}${PREFIX}/bin && \
 		${INSTALL_DATA} share/applications/* ${STAGEDIR}${DESKTOPDIR} && \
-		${INSTALL_DATA} -d share/icons/hicolor ${STAGEDIR}${PREFIX}/share/icons/highcolor
+	cd ${BUILD_DIR}/share/icons/hicolor && \
+		${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/icons/hicolor
 	cd ${BUILD_DIR}/share/kitty && \
 	       	${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/terminfo/kitty.terminfo \
diff --git a/x11/kitty/distinfo b/x11/kitty/distinfo
index ba38bdfb1b17..20f767b2abfa 100644
--- a/x11/kitty/distinfo
+++ b/x11/kitty/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1689257329
-SHA256 (go/x11_kitty/kitty-v0.29.0/v0.29.0.mod) = 824f1a4725be13881152b849609fb73128c19513c25ec3e8495a298e627c3c02
-SIZE (go/x11_kitty/kitty-v0.29.0/v0.29.0.mod) = 1063
-SHA256 (go/x11_kitty/kitty-v0.29.0/v0.29.0.zip) = 8fa1e10b12c9af8c5e911a85baf6a1d6839d4e8c13bcb6465a94344708223470
-SIZE (go/x11_kitty/kitty-v0.29.0/v0.29.0.zip) = 8320600
+TIMESTAMP = 1689577848
+SHA256 (go/x11_kitty/kitty-v0.29.1/v0.29.1.mod) = 824f1a4725be13881152b849609fb73128c19513c25ec3e8495a298e627c3c02
+SIZE (go/x11_kitty/kitty-v0.29.1/v0.29.1.mod) = 1063
+SHA256 (go/x11_kitty/kitty-v0.29.1/v0.29.1.zip) = e5d88d873a1b8e6a6a395259158445e6a9d0977cb16e892efc300c77edc255a4
+SIZE (go/x11_kitty/kitty-v0.29.1/v0.29.1.zip) = 8322647
diff --git a/x11/kitty/pkg-plist b/x11/kitty/pkg-plist
index 520bf725922f..122e3a6b465e 100644
--- a/x11/kitty/pkg-plist
+++ b/x11/kitty/pkg-plist
@@ -215,6 +215,8 @@ share/applications/kitty.desktop
 %%PORTDOCS%%%%DOCSDIR%%/support.html
 %%PORTDOCS%%%%DOCSDIR%%/underlines.html
 %%PORTDOCS%%%%DOCSDIR%%/unscroll.html
+share/icons/hicolor/256x256/apps/kitty.png
+share/icons/hicolor/scalable/apps/kitty.svg
 %%DATADIR%%/__main__.py
 %%DATADIR%%/__pycache__/__main__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
 %%DATADIR%%/__pycache__/__main__%%PYTHON_EXT_SUFFIX%%.opt-2.pyc
@@ -886,4 +888,3 @@ share/applications/kitty.desktop
 share/man/man1/kitty.1.gz
 share/man/man5/kitty.conf.5.gz
 share/misc/kitty.terminfo
-@dir share/icons/highcolor