git: d211c3cf013c - main - security/hitch: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 21 Mar 2024 17:10:39 UTC
The branch main has been updated by eduardo:

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

commit d211c3cf013ccae9d47c7dd56128d893459ba51c
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-21 16:38:36 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-21 17:10:17 +0000

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

diff --git a/security/hitch/Makefile b/security/hitch/Makefile
index 830f37b4ef62..6acb653a2aa6 100644
--- a/security/hitch/Makefile
+++ b/security/hitch/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=		hitch
 PORTVERSION=		1.8.0
+PORTREVISION=		1
 CATEGORIES=		security
 MASTER_SITES=		http://hitch-tls.org/source/ \
 			ZI
@@ -18,6 +19,7 @@ GROUPS=			hitch
 
 USES=			pkgconfig ssl
 GNU_CONFIGURE=		yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=		--localstatedir=/var/run
 CONFIGURE_ENV=		CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB}" \
 			SSL_CFLAGS="-I${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB}"
diff --git a/security/hitch/pkg-plist b/security/hitch/pkg-plist
index b18d5b0fa2a6..ee50a45c236d 100644
--- a/security/hitch/pkg-plist
+++ b/security/hitch/pkg-plist
@@ -1,8 +1,8 @@
-man/man5/hitch.conf.5.gz
-man/man8/hitch.8.gz
 sbin/hitch
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES.rst
 %%PORTDOCS%%%%DOCSDIR%%/README.md
 %%PORTDOCS%%%%DOCSDIR%%/hitch.conf.example
+share/man/man5/hitch.conf.5.gz
+share/man/man8/hitch.8.gz
 @sample etc/hitch.conf.sample
 @dir(hitch,hitch,) %%CACHE_DIR%%