git: 68ba7112382e - main - devel/gcli: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Wed, 06 Mar 2024 10:48:52 UTC
The branch main has been updated by eduardo:

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

commit 68ba7112382e752427edda134c16dd8324b22cb2
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-06 08:21:54 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-06 10:48:37 +0000

    devel/gcli: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/gcli/Makefile  |  2 ++
 devel/gcli/pkg-plist | 32 ++++++++++++++++----------------
 2 files changed, 18 insertions(+), 16 deletions(-)

diff --git a/devel/gcli/Makefile b/devel/gcli/Makefile
index 3d16841057ca..7118acd04791 100644
--- a/devel/gcli/Makefile
+++ b/devel/gcli/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gcli
 DISTVERSION=	2.2.0
+PORTREVISION=	1
 CATEGORIES=	devel net
 MASTER_SITES=	https://herrhotzenplotz.de/gcli/releases/gcli-${DISTVERSION}/
 
@@ -15,6 +16,7 @@ LIB_DEPENDS=	libcurl.so:ftp/curl
 USES=		libtool pathfix pkgconfig tar:xz
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 TEST_TARGET=	check
 
 post-install:
diff --git a/devel/gcli/pkg-plist b/devel/gcli/pkg-plist
index 7cee268542db..28622e4ae8d3 100644
--- a/devel/gcli/pkg-plist
+++ b/devel/gcli/pkg-plist
@@ -16,19 +16,19 @@ lib/libgcli.so
 lib/libgcli.so.0
 lib/libgcli.so.0.0.0
 libdata/pkgconfig/libgcli.pc
-man/man1/gcli-api.1.gz
-man/man1/gcli-comment.1.gz
-man/man1/gcli-config.1.gz
-man/man1/gcli-forks.1.gz
-man/man1/gcli-gists.1.gz
-man/man1/gcli-issues.1.gz
-man/man1/gcli-labels.1.gz
-man/man1/gcli-milestones.1.gz
-man/man1/gcli-pipelines.1.gz
-man/man1/gcli-pulls.1.gz
-man/man1/gcli-releases.1.gz
-man/man1/gcli-repos.1.gz
-man/man1/gcli-snippets.1.gz
-man/man1/gcli-status.1.gz
-man/man1/gcli.1.gz
-man/man5/gcli.5.gz
+share/man/man1/gcli-api.1.gz
+share/man/man1/gcli-comment.1.gz
+share/man/man1/gcli-config.1.gz
+share/man/man1/gcli-forks.1.gz
+share/man/man1/gcli-gists.1.gz
+share/man/man1/gcli-issues.1.gz
+share/man/man1/gcli-labels.1.gz
+share/man/man1/gcli-milestones.1.gz
+share/man/man1/gcli-pipelines.1.gz
+share/man/man1/gcli-pulls.1.gz
+share/man/man1/gcli-releases.1.gz
+share/man/man1/gcli-repos.1.gz
+share/man/man1/gcli-snippets.1.gz
+share/man/man1/gcli-status.1.gz
+share/man/man1/gcli.1.gz
+share/man/man5/gcli.5.gz