devel/got: move manpages to share/man

This commit is contained in:
Christian Weisgerber 2024-01-27 16:17:45 +00:00
parent 25bac227b5
commit 944b46a328
3 changed files with 16 additions and 9 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= got
DISTVERSION= 0.95
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://gameoftrees.org/releases/

View file

@ -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

View file

@ -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