git: ba7d7d4ce1de - main - sysutils/automounter: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Thu, 14 Mar 2024 14:20:20 UTC
The branch main has been updated by naddy:

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

commit ba7d7d4ce1dee36492285c3c81317ad67381219d
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-14 14:02:25 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-14 14:20:14 +0000

    sysutils/automounter: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/automounter/Makefile                |  1 +
 sysutils/automounter/files/patch-install.inc | 11 +++++++++++
 sysutils/automounter/pkg-plist               |  4 ++--
 3 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/sysutils/automounter/Makefile b/sysutils/automounter/Makefile
index 1e3cc7416bd3..f0414345e28d 100644
--- a/sysutils/automounter/Makefile
+++ b/sysutils/automounter/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	automounter
 PORTVERSION=	1.5.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	ports@FreeBSD.org
diff --git a/sysutils/automounter/files/patch-install.inc b/sysutils/automounter/files/patch-install.inc
new file mode 100644
index 000000000000..ea5759f1bcc1
--- /dev/null
+++ b/sysutils/automounter/files/patch-install.inc
@@ -0,0 +1,11 @@
+--- install.inc.orig	2024-03-14 14:00:20 UTC
++++ install.inc
+@@ -49,7 +49,7 @@ replace="
+ 
+ replace="
+ %%PREFIX%%,$prefix
+-%%MAN%%,$prefix/man
++%%MAN%%,$prefix/share/man
+ %%TMP%%,$tmp
+ %%RUN%%,$run
+ %%VARTMP%%,$vartmp
diff --git a/sysutils/automounter/pkg-plist b/sysutils/automounter/pkg-plist
index 71cfff5369fd..57a04793135c 100644
--- a/sysutils/automounter/pkg-plist
+++ b/sysutils/automounter/pkg-plist
@@ -1,6 +1,6 @@
 etc/automounter.conf.sample
 etc/devd/automounter.conf
 etc/rc.d/automounter
-man/man5/automounter.conf.5.gz
-man/man8/automounter.8.gz
 sbin/automounter
+share/man/man5/automounter.conf.5.gz
+share/man/man8/automounter.8.gz