git: 8edc5223fc37 - main - x11/kitty: Fix build when the option DOCS is off

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Sat, 17 Feb 2024 10:53:58 UTC
The branch main has been updated by nivit:

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

commit 8edc5223fc37c1d17323c0d80f449df4d44928e7
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2024-02-17 10:51:54 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2024-02-17 10:51:54 +0000

    x11/kitty: Fix build when the option DOCS is off
    
    PR:     277105
    Reported by:    iron.udjin@gmail.com
---
 x11/kitty/pkg-plist | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11/kitty/pkg-plist b/x11/kitty/pkg-plist
index 556389d77051..7a5a2bbf0204 100644
--- a/x11/kitty/pkg-plist
+++ b/x11/kitty/pkg-plist
@@ -897,6 +897,6 @@ share/icons/hicolor/scalable/apps/kitty.svg
 %%DATADIR%%/terminfo/kitty.termcap
 %%DATADIR%%/terminfo/kitty.terminfo
 %%DATADIR%%/terminfo/x/xterm-kitty
-share/man/man1/kitty.1.gz
-share/man/man5/kitty.conf.5.gz
+%%PORTDOCS%%share/man/man1/kitty.1.gz
+%%PORTDOCS%%share/man/man5/kitty.conf.5.gz
 share/misc/kitty.terminfo