git: 542123d1faa2 - main - x11-toolkits/gtk30: fix pkg-plist with BROADWAY option disabled

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sat, 30 Dec 2023 14:09:59 UTC
The branch main has been updated by dim:

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

commit 542123d1faa2879d0e6d546dbb82c7cbefeb3745
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-12-30 14:05:25 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-12-30 14:09:40 +0000

    x11-toolkits/gtk30: fix pkg-plist with BROADWAY option disabled
    
    After the update to 3.24.38, with the BROADWAY option disabled, the port
    fails to package, with:
    
      pkg-static: Unable to access file /wrkdirs/share/dim/ports/x11-toolkits/gtk30/work/stage/usr/local/man/man1/broadwayd.1.gz:No such file or directory
    
    Add %%BROADWAY%% prefixes to more broadway-related files in pkg-plist
    (broadwayd.1.gz, broadwayd.html and gtk-broadway.html).
    
    PR:             275567
    Fixes:          0a1dd69c3167
---
 x11-toolkits/gtk30/pkg-plist | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-toolkits/gtk30/pkg-plist b/x11-toolkits/gtk30/pkg-plist
index 072bbb55de8b..b44660547eec 100644
--- a/x11-toolkits/gtk30/pkg-plist
+++ b/x11-toolkits/gtk30/pkg-plist
@@ -456,7 +456,7 @@ libdata/pkgconfig/gtk+-3.0.pc
 libdata/pkgconfig/gtk+-unix-print-3.0.pc
 %%WAYLAND%%libdata/pkgconfig/gtk+-wayland-3.0.pc
 %%X11%%libdata/pkgconfig/gtk+-x11-3.0.pc
-%%DOCS%%man/man1/broadwayd.1.gz
+%%BROADWAY%%%%DOCS%%man/man1/broadwayd.1.gz
 %%DOCS%%man/man1/gtk-builder-tool.1.gz
 %%DOCS%%man/man1/gtk-encode-symbolic-svg.1.gz
 %%DOCS%%man/man1/gtk-launch.1.gz
@@ -949,7 +949,7 @@ share/gtk-3.0/valgrind/gtk.supp
 %%DOCS%%share/gtk-doc/html/gtk3/border3.png
 %%DOCS%%share/gtk-doc/html/gtk3/box-expand.png
 %%DOCS%%share/gtk-doc/html/gtk3/box-packing.png
-%%DOCS%%share/gtk-doc/html/gtk3/broadwayd.html
+%%BROADWAY%%%%DOCS%%share/gtk-doc/html/gtk3/broadwayd.html
 %%DOCS%%share/gtk-doc/html/gtk3/builder-shortcuts.png
 %%DOCS%%share/gtk-doc/html/gtk3/button.png
 %%DOCS%%share/gtk-doc/html/gtk3/ch01s02.html
@@ -1027,7 +1027,7 @@ share/gtk-3.0/valgrind/gtk.supp
 %%DOCS%%share/gtk-doc/html/gtk3/gradient3.png
 %%DOCS%%share/gtk-doc/html/gtk3/gradient4.png
 %%DOCS%%share/gtk-doc/html/gtk3/grid-packing.png
-%%DOCS%%share/gtk-doc/html/gtk3/gtk-broadway.html
+%%BROADWAY%%%%DOCS%%share/gtk-doc/html/gtk3/gtk-broadway.html
 %%DOCS%%share/gtk-doc/html/gtk3/gtk-builder-tool.html
 %%DOCS%%share/gtk-doc/html/gtk3/gtk-building.html
 %%DOCS%%share/gtk-doc/html/gtk3/gtk-compiling.html