git: 0a5937b7ca69 - main - x11/sakura: move manpage to share/man

From: Danilo Egea Gondolfo <danilo_at_FreeBSD.org>
Date: Wed, 06 Mar 2024 14:40:43 UTC
The branch main has been updated by danilo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0a5937b7ca694e72b5cb7b648a359f2a3bfcb372

commit 0a5937b7ca694e72b5cb7b648a359f2a3bfcb372
Author:     Danilo Egea Gondolfo <danilo@FreeBSD.org>
AuthorDate: 2024-03-06 09:17:05 +0000
Commit:     Danilo Egea Gondolfo <danilo@FreeBSD.org>
CommitDate: 2024-03-06 14:40:25 +0000

    x11/sakura: move manpage to share/man
    
    - Bump PORTREVISION
---
 x11/sakura/Makefile  | 4 ++--
 x11/sakura/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11/sakura/Makefile b/x11/sakura/Makefile
index d3b38e90242a..d5243daf805d 100644
--- a/x11/sakura/Makefile
+++ b/x11/sakura/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sakura
 PORTVERSION=	3.8.7
+PORTREVISION=	1
 CATEGORIES=	x11 gnome
 MASTER_SITES=	http://launchpadlibrarian.net/662803382/
 
@@ -23,8 +24,7 @@ USE_PERL5=	build
 LDFLAGS+=	-lintl
 
 post-patch:
-	@${REINPLACE_CMD} -e 's,share/man,man,g ; \
-		/-O2/d ; \
+	@${REINPLACE_CMD} -e '/-O2/d ; \
 		/FILES INSTALL/d' ${WRKSRC}/CMakeLists.txt
 
 post-install:
diff --git a/x11/sakura/pkg-plist b/x11/sakura/pkg-plist
index 6e43f3a23881..fdf2b9f7b174 100644
--- a/x11/sakura/pkg-plist
+++ b/x11/sakura/pkg-plist
@@ -1,5 +1,5 @@
 bin/sakura
-man/man1/sakura.1.gz
+share/man/man1/sakura.1.gz
 share/applications/sakura.desktop
 %%PORTDOCS%%%%DOCSDIR%%/README.md
 share/locale/ca/LC_MESSAGES/sakura.mo