git: 916bb8a14301 - main - security/ipguard: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 13:20:04 UTC
The branch main has been updated by bofh:

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

commit 916bb8a14301d485398d14b979ba510351199da0
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 13:05:00 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 13:19:43 +0000

    security/ipguard: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 security/ipguard/Makefile             | 4 ++--
 security/ipguard/files/patch-Makefile | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/security/ipguard/Makefile b/security/ipguard/Makefile
index 3dbf281fdbf5..0902be9f8423 100644
--- a/security/ipguard/Makefile
+++ b/security/ipguard/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ipguard
 PORTVERSION=	1.04
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	security net
 MASTER_SITES=	http://ipguard.deep.perm.ru/files/ http://deep.perm.ru/files/ipguard/
 
@@ -16,7 +16,7 @@ USE_RC_SUBR=	${PORTNAME}
 CFLAGS+=	-fcommon
 PORTDOCS=	COPYRIGHT NEWS README README.tcpdump README.log ethers.sample rfc826.txt
 PLIST_FILES=	sbin/ipguard \
-		man/man8/${PORTNAME}.8.gz
+		share/man/man8/${PORTNAME}.8.gz
 
 OPTIONS_DEFINE=	DOCS
 
diff --git a/security/ipguard/files/patch-Makefile b/security/ipguard/files/patch-Makefile
index 5d7e75a6aa77..fcad81e4cadc 100644
--- a/security/ipguard/files/patch-Makefile
+++ b/security/ipguard/files/patch-Makefile
@@ -30,8 +30,8 @@
 -	install -m 644 doc/$(NAME).8 $(PREFIX)/man/man8/$(NAME).8
 +	mkdir -p -m 755 ${DESTDIR}$(PREFIX)/sbin
 +	install -s -m 755 $(NAME) ${DESTDIR}$(PREFIX)/sbin/$(NAME)
-+	mkdir -p -m 755 ${DESTDIR}$(PREFIX)/man/man8
-+	install -m 644 doc/$(NAME).8 ${DESTDIR}$(PREFIX)/man/man8/$(NAME).8
++	mkdir -p -m 755 ${DESTDIR}$(PREFIX)/share/man/man8
++	install -m 644 doc/$(NAME).8 ${DESTDIR}$(PREFIX)/share/man/man8/$(NAME).8
  
  uninstall: deinstall