git: 2b11975bbba7 - main - sysutils/swapd: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 07:05:34 UTC
The branch main has been updated by bofh:

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

commit 2b11975bbba7f731bde570a62f7755a42191b1a6
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 07:00:30 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 07:05:00 +0000

    sysutils/swapd: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/swapd/Makefile  | 3 ++-
 sysutils/swapd/pkg-plist | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/sysutils/swapd/Makefile b/sysutils/swapd/Makefile
index d4ee64f242f1..2966ef4a5e52 100644
--- a/sysutils/swapd/Makefile
+++ b/sysutils/swapd/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	swapd
 PORTVERSION=	1.0.5
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.rkeene.org/files/oss/swapd/
 
@@ -15,6 +15,7 @@ LIB_DEPENDS=	libstatgrab.so:devel/libstatgrab
 
 USES=		gmake pkgconfig
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 USE_RC_SUBR=	swapd
 
diff --git a/sysutils/swapd/pkg-plist b/sysutils/swapd/pkg-plist
index 7ef3d30f46a1..593690ff75f9 100644
--- a/sysutils/swapd/pkg-plist
+++ b/sysutils/swapd/pkg-plist
@@ -1,5 +1,5 @@
-man/man5/swapd.conf.5.gz
-man/man8/swapd.8.gz
+share/man/man5/swapd.conf.5.gz
+share/man/man8/swapd.8.gz
 sbin/swapd
 sbin/swapd_swapon
 sbin/swapd_swapoff