git: ca7e55d00780 - main - *: Move manpages to share/man

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sun, 17 Mar 2024 13:11:17 UTC
The branch main has been updated by arrowd:

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

commit ca7e55d00780653cfda3c1eb8c1362c2c1509f37
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-17 13:09:51 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-17 13:10:07 +0000

    *: Move manpages to share/man
    
    Approved by:    portmgr (blanket)
---
 security/autossh/Makefile     |  2 ++
 security/autossh/pkg-plist    |  2 +-
 sysutils/auto-admin/Makefile  |  3 +++
 sysutils/auto-admin/pkg-plist | 10 +++++-----
 4 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/security/autossh/Makefile b/security/autossh/Makefile
index 8c0ec30f113f..54b68d9b951d 100644
--- a/security/autossh/Makefile
+++ b/security/autossh/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	autossh
 PORTVERSION=	1.4g
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	http://www.harding.motd.ca/autossh/
 
@@ -12,6 +13,7 @@ LICENSE=	BSD3CLAUSE
 USES=		tar:tgz
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 PORTDOCS=	CHANGES README
 
diff --git a/security/autossh/pkg-plist b/security/autossh/pkg-plist
index 06e6d717e847..b731c43e3df7 100644
--- a/security/autossh/pkg-plist
+++ b/security/autossh/pkg-plist
@@ -1,4 +1,4 @@
 bin/autossh
-man/man1/autossh.1.gz
 %%EXAMPLESDIR%%/autossh.host
 %%EXAMPLESDIR%%/rscreen
+share/man/man1/autossh.1.gz
diff --git a/sysutils/auto-admin/Makefile b/sysutils/auto-admin/Makefile
index 38cd39f096cf..061902eccbb5 100644
--- a/sysutils/auto-admin/Makefile
+++ b/sysutils/auto-admin/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	auto-admin
 DISTVERSION=	0.8.0-25
 DISTVERSIONSUFFIX=	-g9cd1f50
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	jwb@FreeBSD.org
@@ -14,6 +15,8 @@ USE_GITHUB=	yes
 
 GH_ACCOUNT=	outpaddling
 
+MAKE_ENV=	MANDIR=${PREFIX}/share/man
+
 NO_BUILD=	yes
 NO_ARCH=	yes
 
diff --git a/sysutils/auto-admin/pkg-plist b/sysutils/auto-admin/pkg-plist
index 1e56950bc7ff..e73b2c692914 100644
--- a/sysutils/auto-admin/pkg-plist
+++ b/sysutils/auto-admin/pkg-plist
@@ -42,11 +42,6 @@ bin/auto-ssh-reverse-authorize
 bin/auto-update-pkgsrc
 bin/auto-using-pkgsrc
 bin/auto-wacom-map-display
-man/man8/auto-add-swap.8.gz
-man/man8/auto-admin.8.gz
-man/man8/auto-image2dev.8.gz
-man/man8/auto-pkgsrc-non-removable.8.gz
-man/man8/auto-update-system.8.gz
 sbin/auto-add-fdesc-mount
 sbin/auto-add-group
 sbin/auto-add-hosts-entry
@@ -175,3 +170,8 @@ sbin/auto-xdm-toggle
 %%DATADIR%%/ipfw-rules.sh
 %%DATADIR%%/local_early
 %%DATADIR%%/rc.local_early
+share/man/man8/auto-add-swap.8.gz
+share/man/man8/auto-admin.8.gz
+share/man/man8/auto-image2dev.8.gz
+share/man/man8/auto-pkgsrc-non-removable.8.gz
+share/man/man8/auto-update-system.8.gz