git: 6555ebe27db6 - main - sysutils/gnome-power-manager: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 24 Mar 2024 12:30:46 UTC
The branch main has been updated by eduardo:

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

commit 6555ebe27db6788c70cb4b0e2cb064a8230a87b0
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-24 11:46:51 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-24 12:30:30 +0000

    sysutils/gnome-power-manager: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/gnome-power-manager/Makefile  | 6 +-----
 sysutils/gnome-power-manager/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/sysutils/gnome-power-manager/Makefile b/sysutils/gnome-power-manager/Makefile
index d0b638a11113..3a48e95ff53c 100644
--- a/sysutils/gnome-power-manager/Makefile
+++ b/sysutils/gnome-power-manager/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gnome-power-manager
 PORTVERSION=	3.32.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	sysutils gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome
@@ -33,8 +33,4 @@ post-patch-MANPAGES-off:
 	@${REINPLACE_CMD} -e "s|subdir('man')||g" \
 		${WRKSRC}/meson.build
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' \
-		${WRKSRC}/man/meson.build
-
 .include <bsd.port.mk>
diff --git a/sysutils/gnome-power-manager/pkg-plist b/sysutils/gnome-power-manager/pkg-plist
index a26034e85ad4..2a4dfef4b9f3 100644
--- a/sysutils/gnome-power-manager/pkg-plist
+++ b/sysutils/gnome-power-manager/pkg-plist
@@ -1,5 +1,4 @@
 bin/gnome-power-statistics
-%%MANPAGES%%man/man1/gnome-power-statistics.1.gz
 share/applications/org.gnome.PowerStats.desktop
 share/icons/hicolor/16x16/apps/org.gnome.PowerStats.png
 share/icons/hicolor/22x22/apps/org.gnome.PowerStats.png
@@ -90,4 +89,5 @@ share/locale/vi/LC_MESSAGES/gnome-power-manager.mo
 share/locale/zh_CN/LC_MESSAGES/gnome-power-manager.mo
 share/locale/zh_HK/LC_MESSAGES/gnome-power-manager.mo
 share/locale/zh_TW/LC_MESSAGES/gnome-power-manager.mo
+%%MANPAGES%%share/man/man1/gnome-power-statistics.1.gz
 share/metainfo/org.gnome.PowerStats.appdata.xml