git: 7d7b58d4bd10 - main - x11/gtk-theme-switch2: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 18:40:56 UTC
The branch main has been updated by bofh:

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

commit 7d7b58d4bd10ce5ab1fe85d5953e912adf6cbb33
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 18:22:08 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 18:40:32 +0000

    x11/gtk-theme-switch2: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 x11/gtk-theme-switch2/Makefile             | 4 ++--
 x11/gtk-theme-switch2/files/patch-Makefile | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11/gtk-theme-switch2/Makefile b/x11/gtk-theme-switch2/Makefile
index 6052ab244218..3b7fd989640a 100644
--- a/x11/gtk-theme-switch2/Makefile
+++ b/x11/gtk-theme-switch2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gtk-theme-switch
 DISTVERSION=	2.0.0rc2
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	x11
 MASTER_SITES=	http://www.muhri.net/
 
@@ -12,6 +12,6 @@ USES=		gmake gnome pkgconfig xorg
 USE_XORG=	x11
 USE_GNOME=	gtk20
 
-PLIST_FILES=	bin/switch2 man/man1/switch2.1.gz
+PLIST_FILES=	bin/switch2 share/man/man1/switch2.1.gz
 
 .include <bsd.port.mk>
diff --git a/x11/gtk-theme-switch2/files/patch-Makefile b/x11/gtk-theme-switch2/files/patch-Makefile
index dfcf938eeb7b..8a83be0cf45a 100644
--- a/x11/gtk-theme-switch2/files/patch-Makefile
+++ b/x11/gtk-theme-switch2/files/patch-Makefile
@@ -32,7 +32,7 @@
 +	mkdir -p $(DESTDIR)${PREFIX}/bin
 +	mkdir -p $(DESTDIR)${PREFIX}/man
 +	install -c -m 555 switch2 $(DESTDIR)${PREFIX}/bin
-+	install -c -m 444 switch.1 $(DESTDIR)${PREFIX}/man/man1/switch2.1
++	install -c -m 444 switch.1 $(DESTDIR)${PREFIX}/share/man/man1/switch2.1
  
  dist: clean
  	rm -rf /tmp/gtk-theme-switch-$(VERSION)