git: 2abefe8d6071 - main - net-p2p/gtorrentviewer: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 30 Jan 2024 21:03:09 UTC
The branch main has been updated by bofh:

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

commit 2abefe8d6071821de4dc501d638ce673a67ab19a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-30 21:00:35 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-30 21:00:35 +0000

    net-p2p/gtorrentviewer: Moved man to share/man
---
 net-p2p/gtorrentviewer/Makefile  | 3 ++-
 net-p2p/gtorrentviewer/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-p2p/gtorrentviewer/Makefile b/net-p2p/gtorrentviewer/Makefile
index 215167254670..09a10f489a07 100644
--- a/net-p2p/gtorrentviewer/Makefile
+++ b/net-p2p/gtorrentviewer/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gtorrentviewer
 PORTVERSION=	0.2b
-PORTREVISION=	20
+PORTREVISION=	21
 CATEGORIES=	net-p2p
 MASTER_SITES=	SF/${PORTNAME}/GTorrentViewer/${PORTVERSION}
 DISTNAME=	GTorrentViewer-${PORTVERSION}
@@ -17,6 +17,7 @@ LIB_DEPENDS=	libcurl.so:ftp/curl
 USES=		desktop-file-utils gmake gnome pkgconfig
 USE_GNOME=	gtk20 intlhack
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--with-pixmapsdir=${PREFIX}/share/pixmaps \
 		--with-desktopdir=${PREFIX}/share/applications
 CPPFLAGS+=	-I${LOCALBASE}/include
diff --git a/net-p2p/gtorrentviewer/pkg-plist b/net-p2p/gtorrentviewer/pkg-plist
index f0e965e40988..6e952b24e1e2 100644
--- a/net-p2p/gtorrentviewer/pkg-plist
+++ b/net-p2p/gtorrentviewer/pkg-plist
@@ -1,5 +1,5 @@
 bin/gtorrentviewer
-man/man1/gtorrentviewer.1.gz
+share/man/man1/gtorrentviewer.1.gz
 share/GTorrentViewer/README
 share/GTorrentViewer/pixmaps/about.png
 share/GTorrentViewer/pixmaps/dictionary.png