git: ce40a173432a - main - net/grsync: Move man pages to share/man

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Tue, 19 Mar 2024 12:16:39 UTC
The branch main has been updated by yasu:

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

commit ce40a173432ab21823aeead159a34abe787a5600
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-19 12:11:14 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-19 12:16:13 +0000

    net/grsync: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 net/grsync/Makefile  | 3 ++-
 net/grsync/pkg-plist | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/net/grsync/Makefile b/net/grsync/Makefile
index f7299bc1d368..0328867b63f6 100644
--- a/net/grsync/Makefile
+++ b/net/grsync/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	grsync
 PORTVERSION=	1.3.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	http://www.opbyte.it/release/ \
 		LOCAL/martymac
@@ -22,6 +22,7 @@ USES=		desktop-file-utils gettext gmake gnome \
 USE_GNOME=	cairo gdkpixbuf2 gtk30 intltool
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS+=	--disable-unity
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
diff --git a/net/grsync/pkg-plist b/net/grsync/pkg-plist
index 39f6501fd7f7..bdf90b2b2ce9 100644
--- a/net/grsync/pkg-plist
+++ b/net/grsync/pkg-plist
@@ -1,7 +1,7 @@
 bin/grsync
 bin/grsync-batch
-man/man1/grsync-batch.1.gz
-man/man1/grsync.1.gz
+share/man/man1/grsync-batch.1.gz
+share/man/man1/grsync.1.gz
 %%DATADIR%%/grsync.glade
 share/applications/grsync.desktop
 share/icons/hicolor/48x48/mimetypes/application-x-grsync-session.png