git: 944b46a32887 - main - devel/got: move manpages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Sat, 27 Jan 2024 16:18:26 UTC
The branch main has been updated by naddy:

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

commit 944b46a328876b0eab58bdf6a7b3fffee423e584
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-01-27 16:17:45 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-01-27 16:17:45 +0000

    devel/got: move manpages to share/man
---
 devel/got/Makefile                 |  1 +
 devel/got/files/patch-Makefile.inc | 12 +++++++++---
 devel/got/pkg-plist                | 12 ++++++------
 3 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/devel/got/Makefile b/devel/got/Makefile
index 63d492b5f209..806bc94dd3ea 100644
--- a/devel/got/Makefile
+++ b/devel/got/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	got
 DISTVERSION=	0.95
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://gameoftrees.org/releases/
 
diff --git a/devel/got/files/patch-Makefile.inc b/devel/got/files/patch-Makefile.inc
index ded2594b255b..0e34a26d1973 100644
--- a/devel/got/files/patch-Makefile.inc
+++ b/devel/got/files/patch-Makefile.inc
@@ -1,7 +1,7 @@
---- Makefile.inc.orig	2020-12-19 00:55:45 UTC
+--- Makefile.inc.orig	2023-09-03 23:15:32 UTC
 +++ Makefile.inc
-@@ -4,6 +4,19 @@ CPPFLAGS += -DGOT_LIBEXECDIR=${LIBEXECDIR} -DGOT_VERSI
- #CFLAGS += -DGOT_OBJ_CACHE_DEBUG
+@@ -6,11 +6,24 @@ CPPFLAGS += -DGOT_LIBEXECDIR=${LIBEXECDIR} -DGOT_VERSI
+ #CFLAGS += -DGOT_DELTA_CACHE_DEBUG
  #CFLAGS += -DGOT_DIFF_NO_MMAP
  
 +# work around https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63567
@@ -20,3 +20,9 @@
  .if "${GOT_RELEASE}" == "Yes"
  PREFIX ?= /usr/local
  BINDIR ?= ${PREFIX}/bin
+ LIBEXECDIR ?= ${PREFIX}/libexec
+-MANDIR ?= ${PREFIX}/man/man
++MANDIR ?= ${PREFIX}/share/man/man
+ .else
+ CFLAGS += -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
+ CFLAGS += -Wwrite-strings -Wunused-variable
diff --git a/devel/got/pkg-plist b/devel/got/pkg-plist
index a4b22a2ad18b..4614cdf0b9e1 100644
--- a/devel/got/pkg-plist
+++ b/devel/got/pkg-plist
@@ -13,9 +13,9 @@ libexec/got-read-patch
 libexec/got-read-tag
 libexec/got-read-tree
 libexec/got-send-pack
-man/man1/got.1.gz
-man/man1/gotadmin.1.gz
-man/man1/tog.1.gz
-man/man5/git-repository.5.gz
-man/man5/got-worktree.5.gz
-man/man5/got.conf.5.gz
+share/man/man1/got.1.gz
+share/man/man1/gotadmin.1.gz
+share/man/man1/tog.1.gz
+share/man/man5/git-repository.5.gz
+share/man/man5/got-worktree.5.gz
+share/man/man5/got.conf.5.gz